LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you save the message logging vi output to a file

I am utilizing the message logging vi (examples) to continually obtain an agc reading from
12 channels. It outputs to the log report correctly, however I want to be able to save all the information to an array & file for later retrieval & manipulation. (e.g. sort the agc readings by channel). I also need to modify the time input to the log report, to obtain the time from an
installed datum 635pci time and frequency board.

Every time I attempt to write to a file, it continually asks the file name - and when I attempt to open the file outside the while lloop then write to it inside the while loop, the data never gets there.
0 Kudos
Message 1 of 2
(2,387 Views)
Depending on the write vi you use, if you don't wire in the filename, it will ask you for it. Perhaps you should wire this not to be asked allways. But opening the file outside should work, if you wire the output path to the input path of the write vi. If you continue having problems, attach an example (LV 5.0 for me) to see what's wrong.
Hope this helps
0 Kudos
Message 2 of 2
(2,387 Views)