02-20-2012 02:22 PM
Hi I have built an NXT labVIEW program attached and cant understand why it wont run.
I want the motor to move forward at a power of 20 for 90degrees and the move in reverse at a power of 60 for 90degrees
Thank YOu
Ailish
02-27-2012 05:02 AM
Hi Ailish,
You have correctly input the port name (Port B) to the NXT VIs but you haven't identified the NXT. Before the VIs you have already wired up you need to specify which NXT to use. I have a USB connection to my NXT and have tested your code with the addition of the "Specify NXT" VI. See below -
Hope this helps,
02-27-2012 09:36 AM
Thank you Jack
Will the wheel move back the same distance as forward e.g.90 degrees
Ailish
02-28-2012 03:03 AM
Hi Ailish,
I didn't take note of what the NXT was doing only that it worked! I just checked and no it didn't move back. See below a method to do this.
The second "Drive Distance" VI has negative 50 power directing the motor to reverse.
Regards,