LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dc motor with encoder for rpm reading by interfacing with NI9401

Hello, i need to read the reading of dc motor(DC Geared Motor with Encoder SPG30E-60K) in rpm..im using NI 9401 for interfacing this motor with labview..but i cant get the reading for the motor event all the connection seem to be right..can someone help me the right connection from the motor to the NI9401 and can someone help me with the configuration for DAQmax when we start to make a block diagram in the labview either choose acquire signal or generate signal and what type of signal to use(digital or counter) and are we need to configure while setting the pulse for counter?

 

im beginer in the labview..thanks

0 Kudos
Message 1 of 4
(3,266 Views)

Just skimming thru the manual, I found this:

 

The encoder output is open drain or sometime called NPN output. Users need to pull-up resistor to any voltage user want. As an example circuit above, channel A and channel B are pull-up with 1K resistor to 5V, therefore it will output ground and 5V when the motor rotates.

 

 

aputman
0 Kudos
Message 2 of 4
(3,256 Views)

i already get the trigger for the motor..can someone teach me how to calculate rpm by using the dc motor with encoder..

 

many thanks..

0 Kudos
Message 3 of 4
(3,221 Views)

In the Help menu, click Example Finder.

 

Look under Hardware Input and Output -> DAQmx -> Counter Input.  There are examples here for counting edges.

aputman
0 Kudos
Message 4 of 4
(3,210 Views)