LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Incremental encoder diection( Clockwise or Anti clockwise rotation) monitoring

Hi !<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><meta name="GENERATOR" content="OpenOffice.org 2.0 (Linux)"><meta name="CREATED" content="20070723;12312200"><meta name="CHANGED" content="16010101;0">

I am using incremental encoder with 5000 PPR and interfacing it with NI PCI card 6014 and labview7.1 as well. When i acquire data( rotate encoder shaft clock wise for 5 degrees and rotate back in anti clockwise direction),I see only the incremental values in terms of counting.The pulses which in turn calibrated to degrees.I see increase in the count value even when the encoder is moving in anti clockwise direction.

The problem in brief is that when i rotate encoder shaft clockwise or anti clockwise there is no change. may be the logic which i using is wrong . Please do help me out to get the solution to read values accordingly to the shaft movement of the encoder.

Thank you


Karanam



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

If you are unable to sense direction with your encoder you might not have your signals connected to your counter correctly. Does your application use one or two counters? How do you have the wiring connected? Are you using a LabVIEW example program?

Best regards,

Jordan D
Applications Engineering
National Instruments
0 Kudos
Message 2 of 4
(3,420 Views)
Hi,
Thank for the response.
I dont have any counter channel in NI PCI 6014 card. Even then i could read A & B signals through Analog channels. From there through software converting Analog to Digital signal, and placing counters to read the pulses.
The thing is,i am beginner in Labview programming.But i can easily handle it in Dasylab( which is also a National Instruments product).
But now i have to use Labview, finding bit hard to find the logic in labview.
0 Kudos
Message 3 of 4
(3,408 Views)
Hi viswanath.k,

The 6014 has two counters that should make this whole application a whole lot easier. If you look under Help»Find Examples in LabVIEW under Hardware Input and Output»DAQmx»Counter Measurements»Position you will find a few examples programs that use counters for position measurement. These should help you get started.
Best regards,

Jordan D
Applications Engineering
National Instruments
0 Kudos
Message 4 of 4
(3,385 Views)