LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

online export to the hard disk

Probably a very simple question but I�m still learning,i`m trying to export data dircetly to the hard disk during the measurment .(now ,the data are only saved when i stop the measurment it means that if trouble with windows occur during the measurment i`ll lose the data)
0 Kudos
Message 1 of 2
(2,512 Views)
You can place the "write to file" part of the code within the loop where you obtain the data. If you add the newly acquired data, simply select "append to file".

So here's an idea of the steps:

1. create the file where you want to store the data.

2. inside the loop where the acquisition takes place, write to the file. Use "append to file " option.

3. Outside the acquisition loop, close the file. Make sure you can clse the file even if an error was detected.

Run it and see if your data was kept.

JLV
Message 2 of 2
(2,512 Views)