LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

axis camera pan/tilt

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 media.JPG

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 

Message Edited by Kolos on 07-13-2009 05:33 AM
0 Kudos
Message 1 of 8
(3,748 Views)

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

0 Kudos
Message 2 of 8
(3,743 Views)

 

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 

 

Message Edited by Kolos on 07-13-2009 06:01 AM
0 Kudos
Message 3 of 8
(3,735 Views)

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

0 Kudos
Message 4 of 8
(3,732 Views)

Oh i find it!

With: Insert ActiveX Object....

 

And any idea how to pan/tilt it?

 

Kolos 

Message Edited by Kolos on 07-13-2009 07:17 AM
0 Kudos
Message 5 of 8
(3,724 Views)

So, i make an ActiveX Container. Then right click->insert ActiveX Object. ->Create Control, AxisMediaControl Class.

Then i have a thing, look like this:ax2.JPG

But i want it to look like this: media.JPG

 

Kolos 

0 Kudos
Message 6 of 8
(3,713 Views)

Hi Kolos,

right click on it (in the block diagram) and uncheck the "show as symbol" option.

 

Mike

0 Kudos
Message 7 of 8
(3,710 Views)

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 

0 Kudos
Message 8 of 8
(3,702 Views)