LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronize Counter input Analog input

Hello,

 

I am trying to mesure the velocity of a motor by counting the edges from an encoder that output a 5V TTL signal, using counter input of a NI 9401. I am also trying to mesure the torque of the motor by using analog input of a NI 9251. The thing is I couldn't manage to acquire the two data in the same time domaine and write to a text or tdms file. 

 

Anyone has any idea how to do so? I have attached my vi. I am open to any suggestion!

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

Hi,

 

I remember doing it like this: Synchronize Encoder Counter Input and Analog Input

It could be, though that DAQmx is so advanced nowadays that you don't even have to jump through all those hoops...



Remember Cunningham's Law
0 Kudos
Message 2 of 2
(2,605 Views)