Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Crio doesn't find Camera images (http://www.chiefdelphi.com/forums/showthread.php?t=101664)

cooltext 31-01-2012 21:08

Crio doesn't find Camera images
 
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

Re: Crio doesn't find Camera images
 
I've got the exact same problem, anyone know what's going on?

nickpeq 01-02-2012 21:35

Re: Crio doesn't find Camera images
 
Quote:

Originally Posted by cooltext (Post 1117415)
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

Re: Crio doesn't find Camera images
 
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

Re: Crio doesn't find Camera images
 
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

Re: Crio doesn't find Camera images
 
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?


All times are GMT -5. The time now is 22:21.

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