LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving and appending without bogging pc down

I am trying to save/append data from a pressure transducer connected to a daq every 5 sec or any arbitrary time. right now i can read the transducer in real time but cant figure out how to save and adjust the data aquisition rate down to say 30hz so im not creating such a large file. so my question is how can you record pressure data at a given aquisition rate and append to the same text file at intervals so the computer wont bog down

 

Charlie

0 Kudos
Message 1 of 2
(2,087 Views)

Write Delimited spreadsheet opens and closes the file each iteration, just open the file outside the loop and use Write to text file with the reference instead (and close after loop). That'll keep the file open and make things much smoother. As for the data amount, you can use a Quotient and remainder to save e.g. every 30th time and the other 29 you build an array that you'll take the mean of.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 2
(2,081 Views)