12-15-2015 08:31 AM
I have 6 sensors connected to my daq via bnc, that output 0-5V. 2 of the sensors are on the same piece of hardware and are connected in series, so one is ~20ms delayed compared to the other (it's a gas analyzer, so the stream is pumped to one before the other) how can i delay the read or shift the data back 20sec for a specific input so everything is synced on screen in the graphs, and also in the tdms file i write to?
12-16-2015 02:37 PM
Hey,
One simple way is to just discard all of the data in the delayed read. Since you know your sample rate and the ms delay, you can ignore the data that is read before any meaningful data is collected. Just find the index of the array this occurs and match it with the other data.