Log in

View Full Version : Crio doesn't find Camera images


cooltext
31-01-2012, 21:08
Hello,

So I set up the camera with the camera setup utility, to connect through the router. (10.xx.yy.11). The problem is that I can see the image on the dashboard, but my code doesn't find the image. I know this sounds kind of weird, but when I used "camera.getImage();" it doesn't return an image and I get a null pointer exception error. Any Ideas?

severhale
01-02-2012, 19:25
I've got the exact same problem, anyone know what's going on?

nickpeq
01-02-2012, 21:35
Hello,

So I set up the camera with the camera setup utility, to connect through the router. (10.xx.yy.11). The problem is that I can see the image on the dashboard, but my code doesn't find the image. I know this sounds kind of weird, but when I used "camera.getImage();" it doesn't return an image and I get a null pointer exception error. Any Ideas?

Did you call getInstance() first? (I imagine so, since it appears on the dashboard, but, just in case...)

cooltext
02-02-2012, 07:00
thanks for your reply, but I found the problem. First make sure your camera is set to "10.te.am.11", than make sure it is plugged into the d-ling bridge. Then in the code, make sure instead of the plain .getInstance(); use the .getInstance("10.te.am.11"); so the crio can communicate with the camera. Also set the Camera up with the updated setup utility.

severhale
02-02-2012, 09:08
Thanks so much cooltext! I'll try this out as soon as i can. too bad we already reset the camera and now have to reconfigure it...

duane
12-02-2012, 22:41
We've been through all of these steps as well. We can access the camera, but the image return from GetImage() has 0 width and 0 size.

Suggestions?