LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

writing text file in while loop

Solved!
Go to solution

Here is my question about writing text data to a file in a while loop...worded best I can.

 

I have an Init case where I have the user choose a file path and name. I take the ref out and then I have data that is being written to the file. The loop will take 40,000 pieces of data write them to the file and go back to the get data case to collect another 40,000 data points. But when I open the file, I only get a file as big as 430KB. I'm not sure but can somone show me an example of pulling analog data from a DAQ Assist, doing a calculatoin on it, writing it to a file and repeating that by adding it to the same file at the end of the previous data?

 

 

0 Kudos
Message 1 of 3
(3,584 Views)

Take a look at the attached VI's.  Did you have your data set to append?  This could be your problem.

Download All
0 Kudos
Message 2 of 3
(3,567 Views)
Solution
Accepted by topic author Tony88a
See attached for LV 8.0 versions
Download All
Message 3 of 3
(3,563 Views)