DASYLab

cancel
Showing results for 
Search instead for 
Did you mean: 

RS232 & Personal DAQ Start Time mismatch

Solved!
Go to solution

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

0 Kudos
Message 1 of 8
(6,709 Views)

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.

 

 

Tom Rizzo
InSyS Corp.
www.insyscorp.com
Your DASYLab integrator
0 Kudos
Message 2 of 8
(6,707 Views)

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...

0 Kudos
Message 3 of 8
(6,704 Views)
Solution
Accepted by topic author BruteForceMethod

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. 

Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.
0 Kudos
Message 4 of 8
(6,702 Views)

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

0 Kudos
Message 5 of 8
(6,699 Views)

Did you try to do what CJ asked?

Tom Rizzo
InSyS Corp.
www.insyscorp.com
Your DASYLab integrator
0 Kudos
Message 6 of 8
(6,697 Views)

The PersonalDAQ driver, if configured for the autocalibration mode, may take a half second or more before it generates the first data point. 

Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.
0 Kudos
Message 7 of 8
(6,694 Views)

Its working now !!! sweet, yeah setting up the adapt to linear interpolation totally fixed the problem, THANKS!!

0 Kudos
Message 8 of 8
(6,691 Views)