ni-motion with labview,
This error normally occurs when you specify the wrong Axis,
such as if you had a 4 axis card and you specified Axis 5.
I would try three things:
- Check
the board ID and axis in Measurement and Automation Explorer (MAX). Make sure they are the same as you
specify in your code.
- Try
resetting the device in MAX. To do
this, highlight the device, go to the Status
tab, and click Reset Device.
- Make
sure that you have the card initialized and that everything works fine in
the 1D Interactive Control in MAX. Ensure
that whenever you are running your code that MAX is closed and the motor
is not in any kind of power up state or in use state.
- Try to
open the Simple One-Axis Move.vi
example in LabVIEW. If this works,
then the hardware is fine and something needs to be changed in the code.
Please let us know if you have any further questions or
concerns.
Regards,
Luke H