11-10-2011 09:03 AM
I am attempting to collect data from two seperate serial ports and a personal DAQ (analog input) at the same time. everything seems to be working fine until i try to display information on a list. I get an error stating that the start times are mismatched. I am unsure how to match the start times for these three modules. the serial ports appear to start at the same time but the DAQ lags behind by about a half a second or so. currently running with Dasylab 11
Solved! Go to Solution.
11-10-2011 09:07 AM
First of all, you need to mke sure that all the drivers and DL uses the same block size and sample rate.
The problem is that you are using multiple systems with different block size and smaple rate. The best way is to use the Adapt module and use In0 from one of the PersonalDaq unit and the remaining channels from the RS232. Use the full adapt and the output will be all the channels in with teh same information.
11-10-2011 09:28 AM
Now that i'm looking at the input modules, it seems that they are all outputting the same block size and sampling rate. the personal DAQ can't be changed so i ended up changing the serial interfaces to the same rate and size. I added in the Signal Adaptation module and selected the adapt time method for synchronization, but when starting aquisition, I get a new error saying that the channels cannot be displayed in the same list. Unsure why...
11-10-2011 09:31 AM
The PersonalDAQ 5x driver doesn't play well with others.
Set the Adapt for Full Linear Interpolation, and configure the Serial for "one line of data" (or whatever the second choice is called in your version).
The first input of the Adapt is the FASTER channel, which should be the PersonalDAQ, unless you have it collecting at a really slow sample rate.
11-10-2011 09:34 AM
They both collect at the same sample rate, just the serial connections collect somewhere between 8-12 data points before the Personal DAQ collects the first point .... its kinda weird
11-10-2011 09:35 AM
Did you try to do what CJ asked?
11-10-2011 09:42 AM
The PersonalDAQ driver, if configured for the autocalibration mode, may take a half second or more before it generates the first data point.
11-10-2011 09:44 AM
Its working now !!! sweet, yeah setting up the adapt to linear interpolation totally fixed the problem, THANKS!!