06-30-2012 12:41 AM
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
07-05-2012 03:51 AM
Use the ai/SampleClock as the sample clock source for the counter.
Christian