01-26-2017 10:35 AM
I'm using the Write to Measurement File vi in a consumer loop in my main vi to log data. The first time I run the main vi after opening it, the data logs properly. However, in subsequent runs, my data is not logged. However, if I close my main vi and reopen it, the data logs properly.
In each run, I log to a differently named data file. I don't specifically close any files, but my assumption is that that is taken care of in the Write to Measurement File vi.
Any idea what might be going on/any potential fixes? I'm in LabVIEW 2014.
01-26-2017 10:43 AM
The express vi will open and close the file every iteration. Can you provide your code?
01-26-2017 10:43 AM
No idea.
But if you attach your VI so we can see how you programmed it, then maybe we can help figure it out.
01-26-2017 11:37 AM
Unfortunately because of company policies I can't, but I was able to solve my problem; it was an issue with my looping stop condition. Thank you for your help!