07-13-2009 05:32 AM - edited 07-13-2009 05:33 AM
Hi!
I have an Axis 215 PTZ Network Camera... I wan't to pan and tilt it with LabView, but i have no idea how to do it.
I am very beginner with labview... I had foud to example to make video with my camera...
http://forums.ni.com/ni/board/message?board.id=170&message.id=371075&query.id=720049#M371075
http://forums.ni.com/ni/board/message?board.id=200&message.id=23055&query.id=720195#M23055
Any help?
some other question:
In the examples there is a thing: AxisMediaControl
What is that? Where can i found that in function or in controll palette? How can i make that in my own project?
Thanks:Kolos
07-13-2009 05:41 AM
Hi Kolos,
the "thing" is an ActiveX control. You can use it for your camera after you insert the "AxisMediaControl" class into it. You can do with right click on the front panel element -> select class.
Mike
07-13-2009 05:59 AM - edited 07-13-2009 06:01 AM
Hi Kolos,
the "thing" is an ActiveX control.You can use it for your camera after you insert the "AxisMediaControl" class into it.
Where i insert the AxisMediaControl class? And what is this AxisMediaControl class?
You can do with right click on the front panel element -> select class.
What kind of element?
Sorry for the incomprehension, my english and my labview-knowledge is really bad...
Kolos
07-13-2009 06:14 AM
Hi Kolos,
you'll find it in the container palette, it's a front panel object. If you right click on the control then you can "add the class", in your case AxisMediaControl.
AxisMediaControl is the ActiveX interface to your camera. If you have this referencem, then you can use methods(invoke node in the block diagram) to work with your camera.
Mike
07-13-2009 07:11 AM - edited 07-13-2009 07:17 AM
Oh i find it!
With: Insert ActiveX Object....
And any idea how to pan/tilt it?
Kolos
07-13-2009 07:42 AM
So, i make an ActiveX Container. Then right click->insert ActiveX Object. ->Create Control, AxisMediaControl Class.
Then i have a thing, look like this:
But i want it to look like this:
Kolos
07-13-2009 07:44 AM
Hi Kolos,
right click on it (in the block diagram) and uncheck the "show as symbol" option.
Mike
07-13-2009 08:54 AM
Now i set Enable Joystick to true, i set UIMode to ptz-absolute, and ToolbarConfiguration to default,+ptz .
When i run my VI, then i can change between joystick or center mode, and when i am on joystic mode, there is a little red arrow in the place of the cursor if it's on the video image. But it don't do nothing when i click...
any idea?
Thanks:Kolos