LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing to Measurement File Logging Issue

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.

0 Kudos
Message 1 of 4
(2,473 Views)

The express vi will open and close the file every iteration.   Can you provide your code? Smiley Very Happy



-Matt
0 Kudos
Message 2 of 4
(2,464 Views)

No idea.

 

But if you attach your VI so we can see how you programmed it, then maybe we can help figure it out.

0 Kudos
Message 3 of 4
(2,462 Views)

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!

0 Kudos
Message 4 of 4
(2,434 Views)