07-15-2009 08:55 AM - edited 07-15-2009 08:56 AM
Hi!
I have one solution to Pan/Tilt an Axis IP camera(i have an Axis 215 PTZ)...
It's a bit tricky, and not the best...
So I make two ActiveX container: -One AxisMediaControl Object (this will show the picture, what the camera see.
- One Microsoft WebBrowser (this will control the Pan and Tilt)
If i want my camera for example to pan, then i navigate my webbrowser to this URL: http://*IP-adress*/axis-cgi/com/ptz.cgi?camera=1&move=left
Unfortunately i can't control my camera PTZ with the AxisMediaControl...:(
Anybody can?
Or other ideas how to solve this problem?
I attach my solution, maybe somebody need it...
Bye:Kolos
07-15-2009 09:09 AM - edited 07-15-2009 09:09 AM
Hi Kolos,
if you want only one ActiveX container, then you can use the webbrowser container for everything.
Did you already see these documents?
Mike
07-15-2009 09:30 AM
How can i use just one WebBrowser? I tried that, but it was very bad, cause always when i want my camera to pan, then it called an URL to pan, and after that an URL to show again the picture what the camera see... So my picture always vanishd, and for a half second i didn't see anything...
Yes, i had seen the VAPIX thing, but the tings i read there, i can just use with the webBrowser container... Or not?
Thanks: Kolos
07-15-2009 09:42 AM
Kolos wrote:...
Yes, i had seen the VAPIX thing, but the tings i read there, i can just use with the webBrowser container... Or not?
Thanks: Kolos
i'm not sure. I think the AxisMedia... is a special ActiveX container, but they also use http commands. Because of this, you should be able to control everthing with the Axis functions.
Another possibility is to use the webbrowser and load the main page from your camera. There you should get the image and also the buttons to move the camera. 🙂
Mike
07-15-2009 09:57 AM
i'm not sure. I think the AxisMedia... is a special ActiveX container, but they also use http commands. Because of this, you should be able to control everthing with the Axis functions.Hmm i will try it once again then...
Another possibility is to use the webbrowser and load the main page from your camera. There you should get the image and also the buttons to move the camera. 🙂Yes you have right, i can move then the camera, whith the buttons, but i want to move it with external numbers, cause i will count where i need my camera to pan...
07-20-2010 09:56 AM
Hi, Kolos.
I want to do exactly the same, and have the same problem you had. I want to have PTZ controls (as LabView sliders) on the front panel, and use them to move the camera, because I need to know which PAN/TILT values are sent. The only way I saw is the same you tried (via ActiveX web browser), but I want to control it through the AxisMediaControl class.
Did you make any progress?
Regards,
Francisco
07-20-2010 11:56 AM
Hi!
nope...
sorry:Koli