Thread: Labview help
View Single Post
  #8   Spotlight this post!  
Unread 02-02-2010, 19:00
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,519
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: Labview help

Pedro,

You should only be opening your motors once, in begin. You need to open them using the correct pwm connection #, and you need to assign them a name using the "setref" vi.

In teleop, you refer them to with the getref command.

Please look closely at the way the default framework opens and utilizes motors. That should help.

Likewise, you don't want to be closing the motors at the end of each loop. The close commands should be in your "finished" section.
Reply With Quote