View Single Post
  #7   Spotlight this post!  
Unread 12-02-2015, 09:46
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Programming a limit switch for two buttons

Quote:
Originally Posted by TBots View Post
I've seen the examples from team 358, but they haven't been of much help. I really don't know what to put into the begin vi or the telop(if that's even where it goes).
Begin.vi gets the Open connected to a RefNum Set (with an incoming arrow) in order to define the hardware pins and give them a name to use later.

Teleop.vi gets pretty much everything else, starting with a RefNum Get (with an outgoing arrow) connected to either a Get or a Set, depending on whether you're reading a sensor or controlling an actuator.
Reply With Quote