|
Re: Button help
The green comment to the left of the Robot Main loop gives some guidance, and so do the comments on the subVIs.
To follow the flow that was intended, place the code inside of the Teleop SubVI. This will help to keep the code more structured and will help to ensure that the initialization, execution, and finalization happen correctly.
So to repeat the comment, Begin is the appropriate place to put joystick and motor Opens and store them with a name.
Teleop can then read the refnums by name and use them to drive the robot.
Finish can Close them.
Greg McKaskle
|