To download NI software, including the products shown below, visit ni.com/downloads.
This example shows how you can use a Multifunction DAQ device to control a stepper motor from the LabVIEW front panel.
The program generates a finite number of pulses based on the position changes of a knob on the front panel. The digital high and low pulses for the steps are controlled using sequence structures. The user selected pulse times are inputted into a Wait function that dictates how long each pulse rests in the false or true value of the digital boolean DAQmx Write task.
LabVIEW 2009 or compatible
DAQmx 9.1.5 or compatible - Link
Compatible Multifunction DAQ device with Digital I/O
VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Description-Separate-2Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.