This article describes the use and features of the FRC® Driver Station Powered by NI LabVIEW.
This software is used for DM-1702 GPS Tier II Radio Download: R760 Waterproof: English: This software is used for UV-9R, UV-9R Plus, T-57, R760 Waterproof Radio. Prolific Driver 3.2.0.0 recommended for Vista, Win7/8/10 3.2.0.0 exe 3.2.0.0 zip (32/64 bit) - XP: If you are using Win XP, the Prolific driver 2.0.2.1 will run with no issues. This driver for Win XP can be found here: 2.0.2.1.zip - MacOS The recommended Drivers and Info can be found at the bottom of this page.
- I use an Asus Rog originally win 7 ultimate so many driver issues needed resolving, the card reader i uninstalled often and then reinstalled but repeatedly failed, my solution was to uninstall it completely, reboot, run ccleaner with checked box in windows advanced ( enviroment path ) then instead of going through the standard driver update.
- Also, if you insert your programming cable into your radio, and the transmitter turns on, it means you need change the driver for a proper one. Here is the solution to Select a Proper Windows Driver for the Cable. 1) Download the Prolific 3.2.0.0 driver file (from 2007)and save it to a new work folder on your PC.
- Ham Radio Deluxe Rig Control; Ham Radio Control Software with Remote Control for Ham Radios by Yaesu, Icom, Kenwood, Elecraft, FlexRadio. The heart of Ham Radio Deluxe, Rig Control provides a screen you can customize to control your amateur transceiver using its built-in computer aided control interface.
For information on installing the Driver Station software see this document.
Starting the FRC Driver Station¶
The FRC Driver Station can be launched by double-clicking the icon on the Desktop or by selecting Start->All Programs->FRC Driver Station.
Note
By default the FRC Driver Station launches the LabVIEW Dashboard. It can also be configured on Setup Tab to launch the other Dashboards: SmartDashboard and Shuffleboard.
Setting Up the Driver Station¶
The DS should be set to your team number in order to connect to your robot. In order to do this click the Setup tab then enter your team number in the team number box. Press return or click outside the box for the setting to take effect.
PCs will typically have the correct network settings for the DS to connect to the robot already, but if not, make sure your Network adapter is set to DHCP.
Status Pane¶
The Status Pane of the Driver Station is located in the center of the display and is always visible regardless of the tab selected. It displays a selection of critical information about the state of the DS and robot:
Team # - The Team number the DS is currently configured for. This should match your FRC team number. To change the team number see the Setup Tab.
Battery Voltage - If the DS is connected and communicating with the roboRIO this displays current battery voltage as a number and with a small chart of voltage over time in the battery icon. The background of the numeric indicator will turn red when the roboRIO brownout is triggered. See roboRIO Brownout and Understanding Current Draw for more information.
Major Status Indicators - These three indicators display major status items for the DS. The “Communications” indicates whether the DS is currently communicating with the FRC Network Communications Task on the roboRIO (it is split in half for the TCP and UDP communication). The “Robot Code” indicator shows whether the team Robot Code is currently running (determined by whether or not the Driver Station Task in the robot code is updating the battery voltage), The “Joysticks” indicator shows if at least one joystick is plugged in and recognized by the DS.
Status String - The Status String provides an overall status message indicating the state of the robot, some examples are “No Robot Communication”, “No Robot Code”, “Emergency Stopped”, and “Teleoperated Enabled”. When the roboRIO brownout is triggered this will display “Voltage Brownout”.
Operation Tab¶
The Operations Tab is used to control the mode of the robot and provide additional key status indicators while the robot is running.
Robot Mode - This section controls the Robot Mode. Practice Mode causes the robot to cycle through the same transitions as an FRC match after the Enable button is pressed (timing for practice mode can be found on the setup tab).
Enable/Disable - These controls enable and disable the robot. See also Driver Station Key Shortcuts
Elapsed Time - Indicates the amount of time the robot has been enabled
PC Battery - Indicates current state of DS PC battery and whether the PC is plugged in
PC CPU% - Indicates the CPU Utilization of the DS PC
Window Mode - When not on the Driver account on the Classmate allows the user to toggle between floating (arrow) and docked (rectangle)
Team Station - When not connected to FMS, sets the team station to transmit to the robot.
Note
When connected to the Field Management System the controls in sections 1, and 2 will be replaced by the words FMS Connected and the control in Section 7 will be greyed out.
Diagnostics Tab¶
The Diagnostics Tab contains additional status indicators that teams can use to diagnose issues with their robot:
DS Version - Indicates the Driver Station Version number
roboRIO Image Version - String indicating the version of the roboRIO Image
WPILib Version - String indicating the version of WPILib in use
CAN Device Versions - String indicating the firmware version of devices connected to the CAN bus. These items may not be present if the CTRE Phoenix framework has not been loaded
Memory Stats - This section shows stats about the roboRIO memory
Connection Indicators - The top half of these indicators show connection status to various components.
“Enet Link” indicates the computer has something connected to the ethernet port.
“Robot Radio” indicates the ping status to the robot wireless bridge at 10.XX.YY.1.
“Robot” indicates the ping status to the roboRIO using mDNS (with a fallback of a static 10.TE.AM.2 address).
“FMS” indicates if the DS is receiving packets from FMS (this is NOT a ping indicator).
Network Indicators - The second section of indicators indicates status of network adapters and firewalls. These are provided for informational purposes, communication may be established with one or more unlit indicators in this section
“Enet” indicates the IP address of the detected Ethernet adapter
“WiFi” indicates if a wireless adapter has been detected as enabled
“USB” indicates if a roboRIO USB connection has been detected
“Firewall” indicates if any firewalls are detected as enabled. Enabled firewalls will show in orange ( Dom = Domain, Pub = Public, Prv = Private)
Reboot roboRIO - This button attempts to perform a remote reboot of the roboRIO (after clicking through a confirmation dialog)
Restart Robot Code - This button attempts to restart the code running on the robot (but not restart the OS)
Setup Tab¶
The Setup Tab contains a number of buttons teams can use to control the operation of the Driver Station:
Team Number - Should contain your FRC Team Number. This controls the mDNS name that the DS expects the robot to be at. Shift clicking on the dropdown arrow will show all roboRIO names detected on the network for troubleshooting purposes.
Dashboard Type - Controls what Dashboard is launched by the Driver Station. Default launches the file pointed to by the “FRC DS Data Storage.ini” (for more information about setting a custom dashboard ), by default this is Dashboard.exe in the Program Files (x86)FRC Dashboard folder. LabVIEW attempts to launch a dashboard at the default location for a custom built LabVIEW dashboard, but will fall back to the default if no dashboard is found. SmartDashboard and Shuffleboard launch the respective dashboards included with the C++ and Java WPILib installation. Remote launches another dashboard from the “DashboardRemoteIP” field in the “FRC DS Data Storage.ini” file.
Game Data - This box can be used for at home testing of the Game Data API. Text entered into this box will appear in the Game Data API on the Robot Side. When connected to FMS, this data will be populated by the field automatically.
Practice Mode Timing - These boxes control the timing of each portion of the practice mode sequence. When the robot is enabled in practice mode the DS automatically proceeds through the modes indicated from top to bottom.
Audio Control - This button controls whether audio tones are sounded when the Practice Mode is used.
USB Devices Tab¶
The USB Devices tab includes the information about the USB Devices connected to the DS
USB Setup List - This contains a list of all compatible USB devices connected to the DS. Pressing a button on a device will highlight the name in green and put 2 *s before the device name
Rescan - This button will force a Rescan of the USB devices. While the robot is disabled, the DS will automatically scan for new devices and add them to the list. To force a complete re-scan or to re-scan while the robot is Enabled (such as when connected to FMS during a match) press F1 or use this button.
Device indicators - These indicators show the current status of the Axes, buttons and POV of the joystick.
Rumble - For XInput devices (such as X-Box controllers) the Rumble control will appear. This can be used to test the rumble functionality of the device. The top bar is “Right Rumble” and the bottom bar is “Left Rumble”. Clicking and holding anywhere along the bar will activate the rumble proportionally (left is no rumble = 0, right is full rumble = 1). This is a control only and will not indicate the Rumble value set in robot code.
Re-Arranging and Locking Devices¶
The Driver Station has the capability of “locking” a USB device into a specific slot. This is done automatically if the device is dragged to a new position and can also be triggered by double clicking on the device. “Locked” devices will show up with an underline under the device. A locked device will reserve it’s slot even when the device is not connected to the computer (shown as grayed out and underlined). Devices can be unlocked (and unconnected devices removed) by double clicking on the entry.
Note
If you have two or more of the same device, they should maintain their position as long as all devices remain plugged into the computer in the same ports they were locked in. If you switch the ports of two identical devices the lock should follow the port, not the device. If you re-arrange the ports (take one device and plug it into a new port instead of swapping) the behavior is not determinate (the devices may swap slots). If you unplug one or more of the set of devices, the positions of the others may move, they should return to the proper locked slots when all devices are reconnected.
Example: The image above shows 4 devices:
A Locked “Logitech Attack 3” joystick. This device will stay in this position unless dragged somewhere else or unlocked
An unlocked “Logitech Extreme 3D” joystick
An unlocked “Gamepad F310 (Controller)” which is a Logitech F310 gamepad
A Locked, but disconnected “MadCatz GamePad (Controller)” which is a MadCatz Xbox 360 Controller
In this example, unplugging the Logitech Extreme 3D joystick will result in the F310 Gamepad moving up to slot 1. Plugging in the MadCatz Gamepad (even if the devices in Slots 1 and 2 are removed and those slots are empty) will result in it occupying Slot 3.
CAN/Power Tab¶
The last tab on the left side of the DS is the CAN/Robot Power Tab. This tab contains information about the power status of the roboRIO and the status of the CAN bus:
Comms Faults - Indicates the number of Comms faults that have occurred since the DS has been connected
12V Faults - Indicates the number of input power faults (Brownouts) that have occurred since the DS has been connected
6V/5V/3.3V Faults - Indicates the number of faults (typically cause by short circuits) that have occurred on the User Voltage Rails since the DS has been connected
CAN Bus Utilization - Indicates the percentage utilization of the CAN bus
CAN faults - Indicates the counts of each of the 4 types of CAN faults since the DS has been connected
If a fault is detected, the indicator for this tab (shown in blue in the image above) will turn red.
Messages Tab¶
The Messages tab displays diagnostic messages from the DS, WPILib, User Code, and/or the roboRIO. The messages are filtered by severity. By default, only Errors are displayed.
To access settings for the Messages tab, click the Gear icon. This will display a menu that will allow you to select the detail level (Errors, Errors+Warnings or Errors+Warnings+Prints), Clear the box, launch a larger Console window for viewing messages, or launch the DS Log Viewer.
Charts Tab¶
The Charts tab plots and displays advanced indicators of robot status to help teams diagnose robot issues:
The top graph charts trip time in milliseconds in green (against the axis on the right) and lost packets per second in orange (against the axis on the left)
The bottom graph plots battery voltage in yellow (against the axis on the left), roboRIO CPU in red (against the axis on the right), DS Requested mode as a continuous line on the bottom of the chart and robot mode as a discontinuous line above it.
This key shows the colors used for the DS Requested and Robot Reported modes in the bottom chart.
Chart scale - These controls change the time scale of the DS Charts
This button launches the DS Log File Viewer
The DS Requested mode is the mode that the Driver Station is commanding the robot to be in. The Robot Reported mode is what code is actually running based on reporting methods contained in the coding frameworks for each language.
Both Tab¶
The last tab on the right side is the Both tab which displays Messages and Charts side by side
Driver Station Key Shortcuts¶
F1 - Force a Joystick refresh.
[ + ] + - Enable the robot (the 3 keys above Enter on most keyboards)
Enter - Disable the Robot
Space - Emergency Stop the robot. After an emergency stop is triggered the roboRIO will need to be rebooted before the robot can be enabled again.
Note
Space bar will E-Stop the robot regardless of if the Driver Station window has focus or not
Warning
When connected to FMS in a match, teams must press the Team Station E-Stop button to emergency stop their robot as the DS enable/disable and E-Stop key shortcuts are ignored.
When people have to program the two way radios by windows computer, they would meet so many unexpected condition. Today let’s talk about the proper windows driver for the programming cable. hope this article will help you.
1) Insert your USB Programming Cable to PC, and connect the radio by the cable and keeping the radio power on.
2) Launch Device Manager.
[ Start | Right-click Computer | Select Properties | Device Manager ]
Radio Data Driver License
3) Select: Ports (COM & LPT)
If the driver compatible with the programming cable, it shows the Prolific
If it is not the proper driver for the cable, it appears a yellow warning triangle appears under ‘Ports’. this means you need change the driver for proper one.
Also, if you insert your programming cable into your radio, and the transmitter turns on, it means you need change the driver for a proper one.
Here is the solution to Select a Proper Windows Driver for the Cable.
1) Download the Prolific 3.2.0.0 driver file (from 2007)and save it to a new work folder on your PC.
2) Remove the USB programming cable from your PC.
3) Double-click the Prolific 3.2.0.0 driver and follow the prompts until it is completely installed.
4) Plug the USB programming cable into the USB port of your PC.
5) Launch Device Manager.
[ Start | Right-click Computer | Properties | Device Manager ]
Radio Data Driver Windows 10
6) Right-click on the entry with the error to open a window and select
“Update driver software…”
7) At the first Update Driver Software prompt, select
“Browse my computer for driver software”.
8) At the second Update Driver Software prompt, select
“Let me pick from a list of device drivers on my computer”
9) At the third Update Driver Software prompt, select
“Prolific USB-to-Serial Comm Port Version: 3.2.0.0 [7/31/2007]”.
You should get a prompt saying that the driver was installed successfully.
You should now see a properly installed Prolific driver in Device Manger.
You can check that the correct version is installed by double-clicking on the Prolific entry in device manager and selecting the Driver tab.
The driver version shown should be v3.2.0.0
10) Remove the USB programming cable from your PC and then plug the USB programming cable back in. (Optional) Reboot your computer.
Kind remind:
The