Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Troubleshooting labview code for 12-d straight line motion?

i use labview for establishing a 1-d straight line motion by a small dc-motor, i am using a PCI-7430 controller, and UMI-7774, the problem now that after i have finished the code an error appeared, as attached with the copy.
0 Kudos
Message 1 of 2
(3,230 Views)

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:

  1. Check the board ID and axis in Measurement and Automation Explorer (MAX).  Make sure they are the same as you specify in your code.
  2. Try resetting the device in MAX.  To do this, highlight the device, go to the Status tab, and click Reset Device.
  3. 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.
  4. 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

0 Kudos
Message 2 of 2
(3,198 Views)