07-04-2015 02:57 AM
Hello ,
I have read many related posts about simultaneous measurments of two analoge voltage input channels in daq card .I know the best hardware is " simultaneous measurments Series of DAQ cards " but I only have pci 6036 DAQ card and I am trying to figure out what is the time delay between reading of the two channels .Is this time always constant ?(does it depend on input voltage (frequency,amplitude,waveform ,..).I am sending sine wave(s) to both channels and reading off the V values, if they read the same value the difference should be always zero but I am getting -0.002 to 0.002 volts difference (I must find a way to convert this to time) .Attached is a screenshot of my VI.I am wondering how I can measure exactly the time delay between the channel .
I am open to any suggestion , my final goal to read the two channels exactly at the same time ((or find out the exact time delay so I can match the corresponding data considering the time delay))
07-04-2015 02:27 PM
07-04-2015 02:43 PM
@mikeporter wrote:
Unfortunately there is no simple answer to your basic question. Converting the voltage to time for your current set up is not hard knowing the frequency and amplitude of the sinewave, and assuming you are measuring this voltage difference at the zero-crossing point.
What is it exactly that you are trying to do?
Mike...
Even doing this will be troublesome as there is no way to ensure that each input will be perfectly accurate (or that their individual inaccuracies are the exact same).
If your final goal is to make sure that you, "read the two channels exactly at the same time" we should figure out what offset would be acceptable for your experiment. The two inputs will never be "perfectly" synchronized, but at what point is it good enough?
07-04-2015 02:57 PM
07-04-2015 07:03 PM
Thanks for the reply , as long as there is constant time delay between the two channels (for instance ch1 reads always 200us before ch2) I do not worry and I can safely find one to one corresponding data using the time delay .As for my goal , I want to be able to read the two channels (ch1 and ch2) and plot V1 vs V2 .So it is obvious that (V1,V2) has to be syncronized .
Thanks again
07-04-2015 09:09 PM
The maximum sampling rate of the 6036 is 200KHz, so the time between channels has to be less than 5 microseconds. What sampling rate are you planning for your signals? If you really seriously want to measure the time difference between the channels, you could do something like put the same sinusoid into all your channels, sample at your desired sampling rate (the sinusoid frequency should be about ten times lower than the sampling rate), then determine the relative phase difference beween the sampled channels. Translate phase difference into time difference and you'll have your answer.
Bob Schor
07-04-2015 09:44 PM
07-04-2015 10:09 PM