LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS file with multiple writers

I need to write to a single TDMS file from multiple threads, each thread writing to its own set of channels in a common channel group. Anyone have any lessons learned when doing this or is it a slam dunk? A shared variable will hold the file reference.

Bill M.
0 Kudos
Message 1 of 3
(3,229 Views)
The TDMS API in LabVIEW is thread-safe, so it will make one thread wait while another one is writing. The lower level TDMS software component will not even "know" the difference between single and multi-threaded writing operations. Multi-threaded writing and reading is extensively used e.g. in NI SignalExpress.

Herbert
Message 2 of 3
(3,226 Views)
Thanks for the prompt reply. I'll get started on those threads......
0 Kudos
Message 3 of 3
(3,224 Views)