View Single Post
  #5   Spotlight this post!  
Unread 02-02-2010, 20:55
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,517
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: is there a way to invert a motor live?

The motor open command only occurs once. You cannot change the boolean real time as the motor open should be in the begin VI that is only run once.

One way to do it is to run your joystick wire through a true-false case statement and multiply it by -1 (or use the negate icon in the math menu) when you push a button.
Reply With Quote