LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

using TDM VI in Lv 7.1 to stream data to disk

I found the TDM VI and the structure of the data is very interesting for my application.
I try to use it to stream an array of waveform data but the TDM VI goes very slow.
after that, I see in the documentation that TDM file can't support streaming to disk, but I think it's really a basic function.
futhermore,the TDM VI write binary data, so normally it must work !.
is there another possibily with TDM file to stream data to disk ?

Thanks in advance for your help.

GHELEYNS Nicolas
Phénix Industries s.a.
0 Kudos
Message 1 of 4
(2,926 Views)
Hi,

The LabVIEW Storage VIs do not yet support streaming data to disk. However, you can benefit from the storage VIs structured approach to saving data by:


Streaming data to disk using standard binary write VIs
Reading data back in and writing it back out to disk using the storage VIs after acquisition
Deleting the original binary file

Although there is the extra step of writing data to an intermediate binary file, you benefit because you can structure your data and save it with the descriptive properties that the storage VIs offer.

Regards.

JorisV
Message 2 of 4
(2,917 Views)
If you want a bit more structure to your data and easier access to huge (over 2GByte) files, try NI-HWS. It is kind of buried on the driver CD, but it is there. If you install NI-SCOPE, NI-FGEN, or NI-HSDIO or either of the waveform editors, you will get it automatically (it is the default file format of the instruments).
0 Kudos
Message 3 of 4
(2,910 Views)
For streaming applications as well as storing TDM files in real-time applications You should try the new TDM Header Writer VIs.
 
They allow You to use traditional LabVIEW functions to create a binary data file. Once the file has been created You only need to create an additional TDM Header file that describes Your binary file.
 
More information and a download you will find when You go to ni.com and search for "TDM Header Writer".
 
Thomas
 
 
.
 
  
0 Kudos
Message 4 of 4
(2,779 Views)