From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

using usb daq 6210 to drive a stepper motor

how to use USB DAQ 6210 to drive a stepper motor
please help
0 Kudos
Message 1 of 2
(2,838 Views)

Hello Khairy,

What stepper motor are you using?  Are you using LabVIEW to program this application?  There are a few shipping examples that illustrate how to continuously output voltages with the DAQmx driver in LabVIEW.  (Help >> Find Examples >> Hardware Input and Output >> DAQmx) 

I would suggest connecting your stepper motor to your USB-6210 and testing it in Measurement & Automation Explorer (MAX) first.  (Start >> All Programs >> National Instruments >> Measurement & Automation).  Once MAX is open, your device will show up under the category tree on the left. (Devices and Interfaces >> NI-DAQmx Devices)  Right-click on your device and select Test Panels.     You can also right-click on your device and select Device Pinouts, which will help identify the pin terminal names.

The DAQ Assistant is very similar to the configuration of the test panel in MAX and is very easy to program your application.  Once you get the DAQ Assistant working correctly, you can convert it into NI-DAQmx code. (Right-click on the DAQ Assistant >> Generate NI-DAQmx Code) This is a great learning tool for transitioning from the DAQ Assistant to DAQmx subvis. 

Respectfully,

Rob F
Test Engineer
Condition Measurements
National Instruments
0 Kudos
Message 2 of 2
(2,825 Views)