From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS running parallel instances from same AI Handle

HI all

Senario:

i have a AI handle that is recodring multiple channels. i would like to record one set of channels with one TDMS call , and than another TDMS call to record a different set of channels. Can this be done? . The two TDMS functions will be running at different time but will be running at the same time.

0 Kudos
Message 1 of 2
(3,399 Views)

I'd like to see some code, but what you describe sounds trivial.  Open a reference to the file, then use that reference in your TDMS write.  If you want to get fancy you can even use the asyncornous write functions which won't wait for the write to be completed, but instead just move on and write it when it gets around to it in a parallel like operation.

0 Kudos
Message 2 of 2
(3,375 Views)