Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading logitech joystick data on RoboRIO USB port

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?

0 Kudos
Message 1 of 4
(2,278 Views)

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:

 

https://forums.ni.com/t5/FIRST-Robotics-Competition/Training-NI-LabVIEW-for-FRC-RIO-Programming/ta-p...

 

Hope this helps,

 

Cole Harding

Applications Engineering

National Instruments

www.ni.com/support

CH
Applications Engineering
National Instruments
http://www.ni.com/en-us/support.html
0 Kudos
Message 2 of 4
(2,247 Views)

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.

 

 

0 Kudos
Message 3 of 4
(2,245 Views)

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

 

 

CH
Applications Engineering
National Instruments
http://www.ni.com/en-us/support.html
0 Kudos
Message 4 of 4
(2,231 Views)