Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -200077 using DAQ to control motors, how to solve?

Hey,

I have been working on a labview code to control the amount of steps a stepper motor will turn for three motors in a ZYX formation. I developed the code seperately for one motor and was completely functional; however, when I edited the code to function for all three motors, I keep getting this error. "Error -200077 occurred at DAQmx Start Task.vi:7220001"

This error only occurs when I press the stop button. All three motors move the amount of steps I input, however this error occurs when I try to stop after it had finished running. I have attached my code to help identify the probelm.

 

I am using a Labview 2018, a Multifunction DAQ USB 6353 (X series), a TB6600 Stepper Motor Driver, and a stepper motor.

 

I would appreiate if anyone has any input or a solution for my problem. Thank you.

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

Hi there!

 

I took a look at your code, and I think I can provide insight into why the error code only appears at the end. Because the error clusters are not wired into the "stop" boolean of the while loop, the while loop will continue unless you manually stop it.  Even if the functions are returning errors.   The error message will only be displayed by the simple error handlers at the tail end of your code.

 

The error code also gives a possible reason for the error as "Requested value is not a supported value for this property. The property value may be invalid because it conflicts with another property."

 

As such, it may be worth going back and checking if all the values inputted into the property nodes are valid for your configuration.

 

Hope this was helpful, and keep us updated with your progress!

Trevor H.
Technical Support Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,171 Views)