LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

acquire and save data with PXI-6281 for 6 hours of real-time

Hello, everyone.
 
I need help in creating an array and saving its contents in an output file so they can viewed.
 
Attached find a simple code that 2 output- make signal / 1 input-acquire and saves data.  Unfortunately
since the duration of the time is 6 hours realtime, there is no sufficient memory locally.  How can I save while the data is being acquired without overflowing the buffer?
 
and then, I want to save file that 1output signal(1hz) becoming high frequency. low frequency data is not saved. 
 
for example (saved file)         voltage value
2008-3-15 09:52:42.0000        1.3333
(not save period)
2008-3-15 09:52:42.0410        1.44444
2008-3-15 09:52:42.0420        1.44444
2008-3-15 09:52:42.0430
(not save period)
2008-3-15 09:52:42.1410
2008-3-15 09:52:42.1420
2008-3-15 09:52:42.1430
 
first measurment time 0.4s and then  1s(1400ms)period later measurment
 
 

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

"How can I save while the data is being acquired without overflowing the buffer?"
 Save it straight to a tdms file... have a look at this document for details http://zone.ni.com/devzone/cda/tut/p/id/3539
That's a lot of data! (2KHz * 3600seconds * 6 hours * 8 bytes/sample = ~337MB) (you could halve it by using single floating point numbers instead of double.)

"and then, I want to save file that 1output signal(1hz) becoming high frequency. low frequency data is not saved. ..."
Sorry, I have no idea what you are trying to say here. Can you perhaps rephrase the question?

Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 2 of 2
(2,402 Views)