View Single Post
  #14   Spotlight this post!  
Unread 04-04-2012, 19:18
lorem3k's Avatar
lorem3k lorem3k is offline
1 + 1 = 0 (in Z/2Z)
AKA: Andy D.
FRC #1482 (Bishop Grandin Ghosts)
Team Role: Alumni
 
Join Date: Apr 2012
Rookie Year: 2011
Location: Calgary, AB
Posts: 165
lorem3k is a splendid one to beholdlorem3k is a splendid one to beholdlorem3k is a splendid one to beholdlorem3k is a splendid one to beholdlorem3k is a splendid one to beholdlorem3k is a splendid one to behold
Re: Toggle switch problems

Quote:
Originally Posted by dokusou View Post
The input and output for the subvi. You connect it to the greater than node. their green, where would i find these??
Right-click on one of the greater than's terminals and choose Create -> Control. Right-click on one of the constants inside the second case structure (doesn't matter which) and choose Create -> Indicator. To wire them to have an input and output as a SubVI node, open the front panel of the VI, right-click the icon near the top-right, and choose Patterns -> the one that's just a square with one vertical line dividing it in half. Click and hold on the left one, drag the mouse to the input button on the front panel, and then click it; and then repeat with the right half and the output indicator. Now the node will have an input and output in Teleop.vi (or wherever you choose to put it), and you simply wire the button to the input side, and the output to whatever case structure you want to control.
__________________
Boo! Bishop Grandin High School / GM Canada / Tenaris
2013 Western Canada - Quarterfinalists (thanks 288/4719) / 2012 GTR West - Quarterfinalists (thanks 188/1075) / 2011 GTR East - Regional Winners (thanks 1114/1503)
Reply With Quote