Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Stepper motor VI using DAQmx to output signals

Hello,

 

I am new to LabView and am working on configuring a VI to program a stepper motor. I am working on configuring my VI to the NI MyDAQ I will be using. The two outputs I am using are CW/CCW on the motor (digital) and the pulse of the motor (hi/low). This is what I have so far but I am having trouble understanding how to us the DAQmx features. Any suggestions would be greatly appreciated. My VI is attached below. Also - there is a sink/source inconsistency error between my Write DAQ function and the Clear task function (which is why they are not wired together on my VI). The error says : "The type of source is 1D array of DAQmx Event. The type of sink is DAQmx Event." How should I fix this? Let me know. Like I said, I am very new to LabView so please bear with me. Thanks in advance!

0 Kudos
Message 1 of 2
(2,560 Views)

Take a look at this example

0 Kudos
Message 2 of 2
(2,499 Views)