LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing and Plotting Data from a Measurement File

Yes, but I have not figured out how to append the files. If you look at my VI, I have 13 file names, and they are only written to when their corressponding valve is turned on. So, these files are going to be opened, written, and closed hundreds of times during the 14 day test, and I want the data from each cycle to be added to the end of the file each time it is written to. The help menu on  Writing to Text File said to use the Set File Position VI, but I haven't figured out how to connect my array of file names to the Set File Position and then connect the Write to Text File.  How would I do this, and would this correct the instances where two data points are being written into the same cell?
0 Kudos
Message 51 of 52
(239 Views)

Hi,

 

You can use Auto-Indexing with a For Loop to write the data to each file.  Each iteration of the For Loop will move to the next file in the array and add it's data. 

0 Kudos
Message 52 of 52
(231 Views)