LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

synchronization

Solved!
Go to solution

I have recently run into a problem getting two modules to run simultaneously. Our goal is to get two inputs acceleration and strain measurement to be processed simultaneously.Through contact with the NI support team I found that express VIs cannot be processed simultaneously so our team has attempted to change the accelerometer and strain express VIs to DAQ.mx so as to use a clock to synchrnoize the two. However we are having problems with the task, getting and understanding the correct input DAQ.mx. Any and all help would be appreciated. 

0 Kudos
Message 1 of 4
(2,747 Views)
Solution
Accepted by topic author tturner787

Don't use 2 DAQ assistants.  Put all of your channels into a single DAQ Assistant.

Message 2 of 4
(2,745 Views)

Hello!
I'm trying to compare displacements from a LVDT acquired via a NI 9203 module with the ones obtained by double integration of one accelerometer acquired via a NI 9234 module. Initially i used for the aquisition a simple VI using daq assistant (see first attachment). However after processing the data the two displacement series were out of sync since the displacement series from the acclerometer were delayed compared with the one from LVDT (see second attachment). In order to solve this i tried to develop a more thorough VI that made the NI 9203 module use the clock of the NI 9234 module (see third attachment), however the problem continued despite the fact that in this case it was the lvdt series that were delayed.

Can anyone tell me how to solve this, please. If more information is needed please ask.

 

Thank you

0 Kudos
Message 3 of 4
(2,630 Views)

Hello antoniobarrias, 

 

Here is a link that talks about synchronization:

 

M Series Synchronization with LabVIEW and NI-DAQmx
http://www.ni.com/white-paper/3615/en/

 

To synchronize to signals you need to share the trigger and the sample clock. If you share both you will have the two signals fully synchronized. 

 

Also I would like encourage you to make a new thread for a new issue.

 

Regards

Ernesto

Message 4 of 4
(2,590 Views)