07-20-2017 01:32 PM
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!
07-21-2017 04:41 PM
Take a look at this example.