LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ assistant encoder

Hardware: DAQcard PCI-6250.
I'm trying to look at a signal from a vibration sensor and relate it to the angle of a rotating shaft measured with an optical encoder.
I've used two DAQ assistants inside a while loop.  Both of them work OK independently, but the encoder part only takes one measurement at the start of each loop (vi attached).
Does anybody know how I can synchronise its measurements to the vibration sensor?
 
All suggestions gratefully accepted...     Jack
0 Kudos
Message 1 of 2
(2,842 Views)

Hi Jack

Your program is reading continuously from the vibration sensor at 1KHz while you are reading one sample on demand (software-timed sample) from the optical encoder. Therefore, they are out of sync.

You should modify the timing settings to match each over. Double-click the DAQ Assistant and configure the task parameters.  What kind of sampling frequency is appropriate for the vibration sensor and the optical encoder in your application?

KostasB

NI UK

 

 

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