Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

synchronize E-series M-series counter

Hello

 

I am using one E-series and one M-series devices for analog inputs and counter inputs (encoders).

So far I have been able to synchronize E and M series for analog input only, following the

"M Series Synchronization with LabVIEW and NI-DAQmx" in the developper zone

and MasterTimeBase feature for the E-series device.

 

M-series device is the Master device; "Onboard Clock" is defined as Reference clock and sent to E-series (slave) as the MasterTimeBaseclock.

 

It works fine when I use AI only.

But I would like to add a quadrature encoder to measure a position. The M-series device supports that. I tried with the above Master/slave clock sharing but the Counter Input cannot work with "Onboard Clock" of the AI on the same M-series device.

 

I am certainly doing something wrong when trying to synchronize CI and AI. What is the proper way to do that ?

Can anyone send me some advice ?

 

Thanks in advance

 

Félicien

0 Kudos
Message 1 of 2
(2,955 Views)

Use the ai/SampleClock as the sample clock source for the counter.

 

 

Christian

0 Kudos
Message 2 of 2
(2,921 Views)