View Single Post
  #5   Spotlight this post!  
Unread 06-01-2013, 21:31
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Moving Servo Motors

Sorry about that. I wasn't sure how much LV you knew.

I attached the VI, and you can now show the help window and idle the mouse over each of the nodes to see what they are and what they do.

To answer you questions anyway:
The buttons I was interested in are indexed from the cluster and placed into an array. The array is searched for True to see which is pressed. The node with the magnifying glass is the search. The blue arrow box above the case is called a feedback node and is used to keep values from call to call. This "remembers" the value from last time. The case structure code updates it.

Greg McKaskle
Attached Files
File Type: vi Untitled 1.vi (7.7 KB, 12 views)
Reply With Quote