Multifunction DAQ

Showing results for 
Search instead for 
Did you mean: 

USB-6210 2ch frequency measurement synchronization

I am driving ultrasonic motor.

Motor driving signal is about 30kHz square wave.
Position sensor is magnetic sensor, which outputs A phase and B phase signals.
Sensor signal is much like optical encoder.


I want to measure driving frequency and sensor count.
Frequency is measured with one counter(USB-6210-counter0: Counter Input_Frequency mode)
Encoder count value is increaed with the other counter(USB-6210-counter1: Counter Input_Angular Encoder mode)


How I can synchronize these two values?

I want to have values every one-period of driving frequency pulse.
But I had to read the frequency values in arrays because of data processing speed in Windows.
How can I get the encoder count value every time frequency is measured?

Thank you.

0 Kudos
Message 1 of 1