View Single Post
  #3   Spotlight this post!  
Unread 06-03-2012, 08:48
Doug Norman's Avatar
Doug Norman Doug Norman is offline
Registered User
no team (National Instruments)
Team Role: Engineer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Austin, TX
Posts: 136
Doug Norman will become famous soon enoughDoug Norman will become famous soon enough
Re: Programming Potentiometer for Shooter

Quote:
Originally Posted by nickcvet89 View Post
We will be using the eStop robotics custom control interface to plug into the driver station because we had problems with the cypress board in the past.
According to eStop Robotics, that board gets read as a joystick input on your robot. For the Joystick Open VI, choose the JoystickDevice input to match the location of your eStop CCI on the Driver Station Setup tab. For example, if your CCI is in location 2 on the DS, then your JoystickDevice input would be USB 2 in the robot code.

There is another alternative you could use. On the I/O tab of the DS, when it is set to Compatible Mode, you will see Analog Input sliders. You could read these instead of an external potentiometer. In this case you would read the values on the robot using the WPI Robotics Library>>DriverStation>>Compatibility I/O>>WPI_DriverStationGet Analog Input.vi. Then you would scale it accordingly to drive your motor.
__________________
Doug Norman
National Instruments
Reply With Quote