View Single Post
  #2   Spotlight this post!  
Unread 05-03-2014, 22:47
mgerber's Avatar
mgerber mgerber is offline
Shoddy Programmer
AKA: Max Gerber
FRC #0223 (Xtreme Heat)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2011
Location: New Jersey
Posts: 21
mgerber is on a distinguished road
Re: Sequence Structure Using Limit Switch

I'm going to assume that by sequence structure you mean either a flat sequence or stacked sequence. The code our team uses is loosely based off of Team 358's Variations on Autonomous, except using While loops inside the frames instead of timing. Attach the output of the limit switch to the loop condition and the program will pause at that point until the limit is pressed. I don't have Labview on this computer but I'll see if I can whip up a picture as an example.
Reply With Quote