03-16-2016 09:41 AM
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
03-16-2016 09:50 AM
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.
03-17-2016 08:44 AM
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..
03-17-2016 08:53 AM
In the Help menu, click Example Finder.
Look under Hardware Input and Output -> DAQmx -> Counter Input. There are examples here for counting edges.