Go to Post FIRST is the only high-school sport where everyone can become a pro - David Brinza [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 28-01-2017, 16:12
avayner avayner is offline
Registered User
FRC #3501
 
Join Date: Jan 2017
Location: Sunnyvale, CA
Posts: 4
avayner is an unknown quantity at this point
Unable to get RoboRio USB Camera to Work

WE are trying to get a Microsoft LifeCam HD-3000 camera to work with our RoboRio.

As soon as we connect the camera, we observe the following error messages on the driver's station:

ERROR:ioctl VIDIOX_S_CTRL failed at UsbCameraProperty.cpp:72: Input/output error (UsbUtil.cpp:122)

Looking at the RoboRio's web interface, I can see the USB camera show up on the attached devices list, but as soon as its connected, I also see 2 "unknown" devices which show up as:
Unknown
USB0::0x045E::0779::NI-VISA-1004::2::RAW

(and the other one is ::3::RAW)


Any ideas what's wrong?
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2017, 09:47
wlogeais wlogeais is offline
Registered User
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2016
Rookie Year: 2011
Location: Minnesota
Posts: 18
wlogeais is an unknown quantity at this point
Re: Unable to get RoboRio USB Camera to Work

This is admittedly unlikely, as a repeat-issue. I don't have any notes on the roboRIO-web's USB status from the event, but last year as a CSA we assisted a team which went from working-to-non-working vision status within the event, with no code-change.

The key finding was that somehow the usb0 port on the rio apparently 'broke' (internally?). For whatever reason when the camera was change from one physical usb port to the other it began working again. Aside from a usb-port change a rio-swap wouldn't hurt...
Reply With Quote
  #3   Spotlight this post!  
Unread 29-01-2017, 11:16
java4first java4first is offline
(Java) Programming Mentor
AKA: Stu
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 2011
Location: Goffstown, NH
Posts: 62
java4first is an unknown quantity at this point
Re: Unable to get RoboRio USB Camera to Work

For what it is worth - we get three of those errors, but the camera appears to be working fine (we get streaming images to the proper widget on the SmartDashboard). 2 are at UsbCameraProperty.cpp:66 and the third is at UsbCameraProperty.cpp:72. If you watch the construct / init, we are trying to do two 'property'(?) changes - one for the image resolution and one for the FPS ... so it lines up with the two exceptions.
Reply With Quote
  #4   Spotlight this post!  
Unread 30-01-2017, 22:37
avayner avayner is offline
Registered User
FRC #3501
 
Join Date: Jan 2017
Location: Sunnyvale, CA
Posts: 4
avayner is an unknown quantity at this point
Re: Unable to get RoboRio USB Camera to Work

Yeah, we kind of see the same thing... It works...

Really strange.
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 20:19.

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