LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Exporting Array to while Appending to File

Hi,

I was looking through the forum to solve my problem but there were many different methods and I wasn't sure what was right for my purposes. 
 

I am using the DAQ Assistant to acquire an analog voltage signal which I can convert to 1D array data. The number of samples is set in the DAQ Assistant which limits the size of the array data acquired. After that number of samples it would overwrite the array with a new set of data of the set size. 

I want to be able to have the program run continuously and have a "capture" button which would start writing a set of data to a text or excel file and continue to append the additional array of new set of data to that file until I unselect the button. 

 

Currently using Labview 8.5
Thanks! 

0 Kudos
Message 1 of 4
(2,315 Views)
Write to Measurement File or Write to Spreadsheet File inside a case statement. This is extremely basic. Did you take the LabVIEW tutorial?
0 Kudos
Message 2 of 4
(2,314 Views)

I did try out the tutorial but when I applied it to my application it did not seem to work. Sorry if this seems really basic but I have only been using this for two weeks now and have been limited on time. 

0 Kudos
Message 3 of 4
(2,305 Views)
The on line tutorial is generic and if you applied some example that does not work, you need to attach your code if you want help in fixing it.

You've got a simple while loop with the DAQ Assistant, correct? Adding a case statement wired to a front panel Boolean should not take more than a minute to program.
0 Kudos
Message 4 of 4
(2,300 Views)