Here is our periodic tasks vi, it appears to be in order as far as we are aware but when running our code we can’t seem to use the button allocated to control the motor allocated. We also tried getting rid of the Wait Counter and we also tried to exclude the While Loop but to no avail. We even changed the joysticks but it didn’t make a difference. Please help!
You need to put the *Joystick Get Values *inside the while loop.
The way it is now, it reads the joystick values once when the robot is booted (and before the joysticks are even connected) and those values are never updated or changed.
You want to read new values each loop.