Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

write digital and analog to TDMS

Solved!
Go to solution

Hi i have a PCIe6351 and try to read a digital port starting with a trigger and when an analog trigger is activated acquire an analog data

is there a way to do this and write it to a TDMS single file

 

in general that's what i need but for now i cant write digital to TDMS when i try it the program collapse without an error message

0 Kudos
Message 1 of 4
(3,284 Views)

Please post this to the DAQ board,

greetings from the Netherlands
0 Kudos
Message 2 of 4
(3,266 Views)
Solution
Accepted by topic author Baku2187

Each channel in a TDMS file can be of a different data type.  What do you mean "the program collapses"?  Have you tried to write to different groups in the file?

 

If the data doesn't need to be written to the file at the same time (that is, if the data is sequentially written to the file), you can actually do this with the integrated TDMS logging feature in DAQmx: http://zone.ni.com/devzone/cda/tut/p/id/9574

Thanks,

Andy McRorie
NI R&D
Message 3 of 4
(3,233 Views)

Thanks this is what i need

 

0 Kudos
Message 4 of 4
(3,227 Views)