04-22-2009 07:09 AM
Hi, all.
I want to develop an integrated application in LabView that requieres using specific features of an AXIS 213 camera. Among this functionalities, I want to use the PTZ control of the camera to coordinate its movement with some image processing algorithms and other controls and applications developed in LabView.
According to http://www.axis.com/techsup/cam_servers/dev/index.htm, I have already used an ActiveX object with the properties and methods that are supported, but they are too high-leveled for my application, since I have to used very specific commands in order to have more specific control of the camera: like move to some specific coordinate, given by a numeric entry, based on a previous determined coordinate system related to other stuff we have in our project, etc...
So, I think I have to use VAPIX, but I have no idea of working with HTTP request on LabView. Can anybody help me or send me a suitable link for learning? Has anybody worked with VAPIX?
Thanks in advance.
Regards,
Francisco Porras
04-22-2009 07:16 AM
There happens to be an example called: ActiveX Event Callback for IE.vi
Within LabVIEW, click on the Help menu (top right) and select "Find Examples..."
In the Search tab, type internet. It will list a single example, the one I mentionned above.
Open the example and have a look at the block diagram. Actually, you can try running the example using the information necessary to control the camera.
You may need to modify the example, as it may serve as a starting block to get started with your project.
R
04-24-2009 06:12 AM - edited 04-24-2009 06:13 AM
04-24-2009 07:24 AM
I will have a look at the links you provided. What I suspect is that you should have an API to access that application from an external software. Or at least a list of functions that you can access through dlls. If that's the case you can use a Call Library Function Node.
Have a look at the article Configuring the Call Library Function Node
R
04-24-2009 08:25 AM
Hi Francisco,
I haven't tried this myself, but it is certainly possible to do.
If you have the Internet toolkit, then it is quite easy since the toolkit has VIs to create http requests.
Without the toolkit, you can still use the TCP VIs to open a connection to port 80 on the camera and then send your own requests and retrieve the data.
You might want to try sending requests from a web browser while monitoring the connection with a network tool like Wireshark, which will capture all the traffic so that you can see what is required.
Good luck 🙂
07-14-2009 07:27 AM
Hello!
I have an Axis 215PTZ camera, and i want to pan/tilt it with Labview... I never used activeX before, i used Labview one month ago, so i am very beginner... Can you help me how to do it? I can now watch whit LV what the camera see, but i cant controll the Pan or tilt...
Thanks!
Kolos