06-22-2016 08:49 PM - edited 06-22-2016 08:50 PM
I would autoindex in a FOR loop for outputting your data. Then have that inside of a While loop so that you can select which row to output. Only read the file before the main loop.
06-23-2016 07:32 AM
Thank you very much crossrulz, I understand the way you did it, its way better then mine :).
The endgoal should be to create a SubVI with one output like a DAQ that acquires data from a running process, so I can just replace my SubVI with the DAQ when integrating the monitoring software into the process. When I create a SubVI of the code it doesn't work anymore. I don't get why. Are there some more steps needed to achieve the painted SubVI?
06-23-2016 06:26 PM
Well, if you are doing it with a subVI, you should not have the loop. All the subVI should do is read the file and output the desired row. That would be the equivalent to a single DAQmx Read.