View Single Post
  #4   Spotlight this post!  
Unread 17-02-2012, 18:56
dwmcc dwmcc is offline
Registered User
FRC #2192 (YAK Attack)
Team Role: Leadership
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Newport, Oregon
Posts: 14
dwmcc is an unknown quantity at this point
Re: On Button press, run a sequence (Not momentary!)

Quote:
Originally Posted by Alan Anderson View Post
The Flat Sequence structure is a natural for sequences of events. Each frame of the sequence will run in turn as the previous frame's functions complete. Put one in a neverending While in the Periodic Tasks vi, and make the first frame wait for the button press.
Thank you both for your reply. Alan, I have inserted my code into the Periodic Tasks vi in a neverending while loop, but how can I tell it to run it when I press the joystick button?

Thanks!
dwmcc
Reply With Quote