04-16-2013 03:50 PM
I am using LabVIew to control a 4 wire stepper motor through Arduino Uno. I get a 5001 error when i use the stepper pins 1,2,3,4 and a 5003 error whenever i use any other number pins. It is unclear which wires are connected to which pins on the board.
Pin 1 is for communication but even if I use a pin other than 1, I get the 5003 error that the board is not recognized.
04-17-2013 01:38 AM
Hi,
Are you using the Steppermotor lib from the Arduino site ? How do you comminicate in LV with the Arduino ?
Kees
04-17-2013 01:03 PM
I'm using the LabView to Arduino Interface downloaded with the VI package manager. Running through and Arduino Motor Shield.
It is essentially a simplified form of the Stepper example in the example library.
04-18-2013 01:44 AM
Hi,
I see e few things that are not OK.
- You have a VISA initialize in your VI. This is done within the INIT VI
- Most of the inputs of the INIT VI (except VISA) are not connect
- This also applies for the Stepper Configure VI
- Two inputs of the Stepper Write VI are not connected
Maybe you can leave some inputs unconnected but I think there are some inputs unconnected that have to have another value than the default one.
Kees