ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
04-23-2026 09:09 AM
Hello Experts,
I am new to LabView beyond the basic use. I am measuring data at two different sampling rates (1000 Hz and 200 000 Hz). I would like to write data to a measurment file (or files) and I need to make sure the data is synhronized.
I have a cDAQ NI9185 with a NI 9203 (reading flowrate and temperature of a process continiously at 1000 Hz) and a NI 9222 reading from a fast pressure sensor at 200 000 Hz. How can I write this data and keep the times synhronized. example: Every 200 samples, one sample of the slower card is read, keeping everything in sync.
Thank you!
04-23-2026 11:25 AM
Hi Gasper,
@GasperB wrote:
How can I write this data and keep the times synhronized. example: Every 200 samples, one sample of the slower card is read, keeping everything in sync.
Several suggestions:
How well do you need to "synchronize" your data?
04-24-2026 12:48 PM - edited 04-24-2026 12:51 PM
Because your 9185 automatically selects the chassis backplane clock as the master timebase, your code (just) needs to share a start trigger for synchronized measurements.
Try code like this (I modified a shipping DAQmx example):
And I will echo some of Gerd's suggestions (emphasis mine):