|
Re: Help with Labview please
The error is probably because of the incorrect Joystick reference in Begin.vi
You can't use a Joystick to select the deadband in Begin.vi
They have to use a different method to choose true/false or relocate the Motor Open elsewhere to happen after Begin.vi has completed executing and reliable Driver packets have begun to arrive and be processed.
Begin.vi just holds declarations (Opens) of devices that will be used elsewhere.
You can't actively use devices in Begin.vi.
They are trying to use a Joystick device that hasn't finished the process of being declared yet elsewhere in Begin.vi.
And Begin.vi only gets called once on robot code startup, and until the joysticks are defined there is most likely not even a valid driver station packet at the time Begin.vi runs to pass along any Joystick value.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 17-02-2016 at 10:36.
|