Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I read encoder signals using a NI MID-7604 Stepper Motor Drive and LabVIEW?

Hello,

I am fairly new to LabVIEW and was wondering how to implement incremental rotary encoders into a motion control VI.

I am using:
- LabVIEW 8.0
- NI PCI-7344 GPIB Card
- NI MID-7604 Stepper Motor Drive
- US Digital HB6M Rotary Incremental Encoders

I am attaching the VI's we are currently using to control the motors. We were able to get the encoders to work in NI MAX but are not sure how to code them into the LabVIEW VI. Any VI examples would be greatly appreciated.

Thank you for the help and advice!

-Kyle

Message Edited by khott13 on 05-23-2007 09:36 AM

---
College of Aerospace Engineering
Georgia Institute of Technology
Download All
0 Kudos
Message 1 of 4
(4,456 Views)
Hello Kyle,
 
When you run this program, what do the position counts display?  Do they give erroneous values or simply nothing at all?  You may want to use the Read Encoder Position VI to determine the encoder count.
 
Regards,
Jasper S
0 Kudos
Message 2 of 4
(4,429 Views)
Jasper,

Thank you for the response. Where can I find the Read Encoder Position VI? I have searched my hard drive and do not seem to have it. I am using LabVIEW 8.0 and NI-Motion 7.5.

Thanks,
Kyle
---
College of Aerospace Engineering
Georgia Institute of Technology
0 Kudos
Message 3 of 4
(4,320 Views)
Kyle,
 
    The Read Encoder Position VI is on the block diagram palette, in Vision and Motion >> NI Motion >> Analog and Digital I/O.  It is a Motion VI so you should be able to see it in your palette if you have it installed.  Check your palette, if it's not available there, then you may want to try reinstalling motion to make sure it's associated with LabVIEW on your computer.  Thanks!
-Allison S.
Calibration Services
Product Support Engineer
0 Kudos
Message 4 of 4
(4,299 Views)