|
USB Camera Stopped working
We had a Logitech Webcam working with our testboard and then we got new Microsoft Lifecam 3000 and it worked for the first couple times but then it stopped working. Then we started to get this error message: ERROR 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), edu.wpi.first.wpilibj.vision.USBCamera.openCamera( USBCamera.java:61), edu.wpi.first.wpilibj.vision.USBCamera.<init>(USBC amera.java:54), edu.wpi.first.wpilibj.CameraServer.startAutomaticC apture(CameraServer.java:167), org.usfirst.frc.team4021.robot.Robot.Camera(Robot. java:92), org.usfirst.frc.team4021.robot.Robot.teleopPeriodi c(Robot.java:58), edu.wpi.first.wpilibj.IterativeRobot.startCompetit ion(IterativeRobot.java:150), edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:234)]
What is wrong and how do we get it to work. We want it to work with the smartdashboard and when it worked we were using the simple vision example code into our robot program.
|