Go to Post Well I have to admit, most of the people on our team are geeks. I think that it's a title of honor considering it might as well be "boss" or "head supervisor" or something along those lines. - Cyberguy34000 [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-03-2016, 14:47
laplacier's Avatar
laplacier laplacier is offline
Registered User
FRC #1287 (Aluminum Assault)
Team Role: Engineer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Myrtle Beach, SC
Posts: 25
laplacier is an unknown quantity at this point
USB Device on RoboRIO

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?
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:49.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi