|
Re: End of Match Command?
I haven't worked in Labview in a while, but the following should get you moving in the right direction:
Start a timer when your match state changes to teleoperated.
Determine how long before the end of the match you want your action performed.
When <teleop duration> - <current match time> is less than or equal to the time you want your action performed, then perform your action.
The comparison described above should result in a boolean value that you could use to run a commanded action in the same way you would use a boolean off of a joystick button. It could feed a CASE box. and your action to move the solenoid would be placed in the "True" area of the box.
|