LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-DAQmx stream via text

Hi,

 

I'm interested in streaming data directly to TDMS files on disk using NI-DAQmx (since it can go up to 1.2GB/s). Is this only possible to set up through the Configure Logging VI, or is there a way to set up this process with the API? 

 

Thanks

0 Kudos
Message 1 of 4
(840 Views)

You can also use TDMS Streaming API with Producer/Consumer Architecture

-------------------------------------------------------
Control Lead | Intelline Inc
Message 2 of 4
(829 Views)

Thank you! However, I'm looking to use this streaming capability without LabView and other VIs - like if I could just call some DAQmx functions in my code. Do you know if this is possible?

 

0 Kudos
Message 3 of 4
(777 Views)

Yes. Use the built in DAQmx logging examples. There are plenty examples in the example finder.

 

You have a high data rate so some care needs to be taken.

  1. How are you programming your application? You say you don't want to use LabVIEW. DAQmx is just the API, not a finished program.
  2. What device are you using? How is it connected?
  3. For that rate you need to write in multiples of the disk sector size.
  4. Using a PXI Chassis and the NI-Scope API for my application, with a producer-consumer architecture, no built in logging, and the advanced TDMS functions I can write at 1.8GBy/s, although I think I can push that higher. So I think what you are asking is feasible, but some care needs to be taken.
0 Kudos
Message 4 of 4
(767 Views)