View Single Post
  #22   Spotlight this post!  
Unread 05-02-2013, 20:43
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,756
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: Breaker Switches and Buttons to Motors

In the attached code, it would not update the motor unless the digital switch was open. I think what you really intended was update it all the time, but to the correct value based on switch and joystick. The attached code requires for the switch to be FALSE and the joystick to be TRUE. It is missing the Get Refs and such but has the logic basics in place.

Also, the little broom icon at the top of the LV diagram is the cleanup button. If your diagram has overlapping nodes and wires going in many directions, you may want to try the button. You can always undo if you don't like it.

Greg McKaskle
Attached Thumbnails
Click image for larger version

Name:	Clipboard 1.png
Views:	17
Size:	26.1 KB
ID:	13823  
Reply With Quote