Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling a Stepper Motor from NI-9132 cDAQ with an Integrated Controller

Solved!
Go to solution

Hello,

 

I am currently in the process of updating testing rigs that open and close multi-turn valves and measures the required torque. The current rigs use a stepper motor to open and close the valves and it is being controlled from a Windows 7 based PC. I am planning to make these rigs independent from this PC and I'm looking into using cDAQ NI-9132 to control the stepper motor and log the torque measurements. I know that the C-series module designed for controlling stepper motors is only supported by cRIO but I was wondering if the usb port on the cDAQ could be used instead. The current set-up already has an adapter that allow the stepper motor to be controlled over usb but I am unsure if this will work with the cDAQ. Do you think this set-up will still work on a cDAQ controller or should I look into getting a cRIO?

 

Note: The main reason that I am looking into using a cDAQ controller is that the current code is lengthy and confusing to follow (especially to someone who is new to LabView's programming language like me). The way that the cDAQ controller is set-up, it should theoretically allow me to use the majority of this code with minimal changes. Otherwise, I would have to make major modifications to the code so that it works in FPGA.

0 Kudos
Message 1 of 4
(3,172 Views)
Solution
Accepted by topic author JATHL

Hi JATHL,

 

If the motor can be controlled through USB, you can use LabVIEW to control the motor but you need to find the set of commands that you have to send over USB to move the motor. We call this Instrument Control and you can find more information at the following link

http://www.ni.com/white-paper/4359/en/

 

Regards,

PedroR

 

 

0 Kudos
Message 2 of 4
(3,137 Views)

Thanks for the help Pedro. This information was exactly what I was looking for.

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

You are welcome

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