View Single Post
  #3   Spotlight this post!  
Unread 26-10-2009, 14:33
BLAQmx's Avatar
BLAQmx BLAQmx is offline
Software Engineer
no team (National Instruments)
Team Role: Engineer
 
Join Date: Sep 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 100
BLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of light
Re: [FTC]: DC Motor Speed

Quote:
Originally Posted by ethan_orion View Post
Are the templates pre-programmed with max speed?
Yes they are. Notice the VI Calculate Power from Joystick. This VI has an input called throttle. The default value for throttle is 50, but in the teleopbasic template it is set to be 100; e.g. full power can be output from this VI into a Move DC Motor VI. If this input is set to be 50 only half of the full power will be output from this VI.

If you have more programming questions feel free to post them in the FTC Community site on ni.com.
__________________
NI FIRST Community: Where to go for LabVIEW, Wind River, cRIO-FRC, and NXT support.
Reply With Quote