Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 68912

Labview DAQ-mx task error

$
0
0

Hi everyone,

Here I have a stepper motor driver card connected to NI-ELVIS II and to a stepper motor trainer via a DB25 connector. My aim is to create a task to send a continous pulse wave to drive the stepper motor. This is done by setting the physical channel of my DAQmx to ctr1 (which is wired to the port on the stepper driver card which sends step signals to the step input of the stepper motor IC. I am tying to set up this channel to generate a pulse train to continuosly drive the stepper motor at a rate of 1Hz. 

 

The issue I cannot seem to resolve is that everytime I go to run this program as I have it here is that I get Error 200077 complaining that my requested value to the idle state input (0 in this case) is invalid. I checked the error online and the help information about this VI and all I can gather is that it takes data only in the form I32. This is what the integer is though. I tried creating an enum with the words "Low" and "High' but I cannot then change my data type to I32 and so I get the same error.

Screenshot (82).pngThanks in advance,

Simon. 


Viewing all articles
Browse latest Browse all 68912

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>