LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS Data storage problem

I want to use TDMS file formats to store data from the DAQ. There are dozens of data every 10 ms, at the same time write to TDMS file. I want to ask to do so will be bad for the  hard disk?

0 Kudos
Message 1 of 4
(2,473 Views)

If the data coming in is like a waveform, then store the entire block of data as a single item in the tdms file. How long does the test run, is it feasible to save it once at the end?

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 4
(2,466 Views)

The easiest way would be to use the DAQmx Configure Streaming.  With that function, you set up DAQmx to log all of the data straight to a TDMS file.  You don't have to do anything except tell it where to put the data and run your task.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 4
(2,454 Views)

@胖胖龙 wrote:

I want to use TDMS file formats to store data from the DAQ. There are dozens of data every 10 ms, at the same time write to TDMS file. I want to ask to do so will be bad for the  hard disk?


Getting back to the question posted.  There is a potential that the file may become fragmented as it reaches large size.  There is a defragmenting tool available.  There will be no harm done to the storage media on any type of hard drive you are likely to have.  

 

That being said, I would not try it with anything left over from the 1980's


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 4
(2,450 Views)