View Single Post
  #10   Spotlight this post!  
Unread 14-02-2015, 13:44
schleprock's Avatar
schleprock schleprock is offline
Code Jockey
FRC #4905 (AndromedaOne)
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2014
Location: massachusetts
Posts: 21
schleprock is an unknown quantity at this point
Question Re: USB Camera Solution

we just got some ms lifecam hd-3000 cameras and we're getting an exception thrown from the vision code with no camera output. i'm using the intermediate vision example with the lines indicated in a previous post deleted. the exception is:

Unhandled exception: VisionException [com.ni.vision.VisionException: IMAQdxError: -1074360311: Camera not found] at [com.ni.vision.NIVision._IMAQdxOpenCamera(Native Method), com.ni.vision.NIVision.IMAQdxOpenCamera(NIVision.j ava:24455), org.usfirst.frc.team4905.robot.Robot.robotInit(Rob ot.java:27), edu.wpi.first.wpilibj.SampleRobot.startCompetition (SampleRobot.java:121), edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:234)]

does anyone have any suggestions for fixing this?? i'm using the latest eclipse plugin's from wpi.

also i verified that the webcamera is working by plugging it into my laptop and viewing it.

thanks

Last edited by schleprock : 14-02-2015 at 13:51. Reason: new info