I’m attempting to interface HID USB devices directly onto the robot through LabView. On a computer, I have used the NI-VISA driver wizard to interface them and spit out a device report however I do not know if the same method is applicable on a RoboRIO (since I can’t simply right click install a driver like on a Windows 32-bit OS).
LabView has VIs to control HID mice, keyboards, and joysticks but they generate data not directly related to a device report (ex: a mouse reports x,y coordinates on a screen rather than x,y velocity generated on a device report). I am interested in the raw data report and I haven’t figured out if that is possible through those VIs yet.
My first thought was to dig through the camera VIs to see how they might have performed this task on a USB camera but I had trouble understanding the flow of code and how the device got enumerated.
Motivations for this are for both a mouse and keyboard interface. The mouse has been discussed in a few older topics here on Chief Delphi and would be an effective and cost efficient way to track movement of a robot granted the floor is flat and the mouse can travel across the ground. A keyboard would be a fun, cheap, “hacky” way to provide a bumper sensor to a robot that could detect which part made contact with an object based on which keys were pressed on the keyboard.
Does anyone have any knowledge on how to interface USB devices with the RoboRIO via LabView?