05-20-2006 04:12 AM
05-20-2006 10:21 AM
Hi,
In the main loop you need to OR the Stop button with the open from the EOF of the inner loop.
That way the Outer loop can stop with the Stop Button Or the EOF.
Regards
Ray Farmer
05-20-2006 12:16 PM
Hi,
I have made a few changes to your VI's and to the Express VI's. I hope this works for you. I have made copies of the ExpressVI's and rename them so that they will not affect the NI supplied ones.
The trouble appears to be in the ex_subFleRead.vi, it uses the First Call? function. This is ok if it the first time the vi is loaded in to memory and called. This sets the the control Ist Call to true, which later gets set to false, then remains false.
Unfortunately, you need to have this control set back to True so that it reads the header of the file. So I have brought this control out of the vi and out of the Read Measurement Vi so that it can be controled from your while loop in the main VI.
This appears to read the file everytime you press the start button.
Hope this helps
Regards
Ray Farmer