11-09-2018 03:22 PM
Does anyone know the process of installing the correct drivers that will allow me to read joystick data that is connected directly to the RoboRIO's USB port?
11-12-2018 08:12 AM
Hi,
I'm assuming you are planning on using the roboRIO for FRC? If so and you plan on using LabVIEW, you will need to install the FRC Update Suite 2018 after you have installed and activated LabVIEW 2017. See here:
https://forums.ni.com/t5/FIRST-Robotics-Competition/FRC-Update-Suite/ta-p/3737502
Once installed, probably the best way to get started would be to check out some tutorials here:
Hope this helps,
Cole Harding
Applications Engineering
National Instruments
11-12-2018 09:48 AM
Hi Cole,
Thanks for your help. We are familiar with all of the update suite and the process for installing and connecting a joystick to the Driver Station to communicate with the RIO.
However, what I want is to connect the joystick directly to the RIO and read it's data directly to the RIO. I want to skip the Driver Station. This is for an off season FRC project. It is not intended to go onto a competition robot. I just want to get the joystick to work with the RIO without connecting the joystick to the Driver Station.
11-13-2018 05:23 PM
Hi,
You may want to move this over to the FRC forums moving forward since someone there may have tackled a similar problem before: https://forums.ni.com/t5/FIRST-Robotics-Competition/bd-p/1014
I'm not sure how dependent the robot code currently is on the driver station. You may be able to just not use it and your code will run fine anyways.
If you really want to remove yourself from the update suite, you can use our lower level VISA API in LabVIEW real-time to communicate with your joysticks via serial. This is what our functions do, the communications are just highly abstracted away for FIRST.
Control a USB Device with NI-VISA on a Real-Time Controller:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000PADfSAO&l=en-US