Jump to content

video processing in labview?

Recommended Posts

Ok, so i'm fairly new to labview so please excuse my lack of experience or understanding.

My team is trying to hook up an AXIS207 Network Camera to a computer and process the image. The camera gets hooked up via an ethernet cable to the network. We can view the image that the camera sees and edit the camera settings by going to it's static IP in the local network. However, what nobody around here can figure out is how to see this image in labview. We have a VI developed to process the image on a different camera, but we need something smaller, which is why we're trying to set up the Axis camera. AXIS uses ActiveX to view the feed from the camera, i believe.

If anyone can help me understand what i need to do in order to view the image in labview i would greatly appreciate it. This seems pretty simple to me, at least it does in my head, but i can't figure out how to do this in labview. Thank you.

Link to comment

Hi CRBreingan

I have not used the Axis video camera, but I have written some code for the Axis video servers. You wil have to use a ActiveX controller and link this to the AxisMediaControl class. Please see the attached image to see how I connect to the videoserver. You must also install the Axis Media Control SDK on your computer. After you have installed the Axis Media Control you will find a help file for the SDK under Programfiles/AxisComunication/AxisMedia Control SDK.

Hope this helps

Best regards Whaler


Link to comment

QUOTE (CRBreingan @ Sep 16 2008, 06:30 PM)

Is the camera compatible with http://sine.ni.com/nips/cds/view/p/lang/en/nid/12892' target="_blank">NI Vision Acquisition? If so, I suggest you use it - it'll make you life a whole lot easier than screwing around with low-level activeX calls, and is feature rich.

Link to comment

QUOTE (crelf @ Sep 17 2008, 01:36 PM)

Uh... Sounds great! If i can download an image from a website that'd be perfect! But the datascoket that you linked has been "moved or deleted." Any tips?

Link to comment

QUOTE (CRBreingan @ Sep 17 2008, 02:28 PM)

Our admin's working on fixing that. Stay tuned :)

QUOTE (CRBreingan @ Sep 17 2008, 02:28 PM)

...dose it only connect with GigE and IEEE 1394? Is there any way that i can get this ethernet camera to appear in MAX?

Yep - that's one thing that it does, amongst plenty of other things. It's basically a link between your camera and LabVIEW (with MAX included). It works with IEEE 1394, GigE, as weel as all the NI IMAQ cards (progressive scan, interlaced, CameraLink, and plenty more).

QUOTE (CRBreingan @ Sep 17 2008, 02:28 PM)

But the datascoket that you linked has been "moved or deleted."

What's the format of the image (eg: bmp, jpg, etc), and what version of LabVIEW are you using? I should be able to throw something together quickly for you to use in the interim...

Link to comment

Hi CRBreingan;

I think you may be able to use GigE for your camera. Ni has a GigE card (icon_popup.gifPCIe-8231) but then you will need to have image acquisition software as well.

Using TCP/IP sounds a cheap and easy way to start with.

Clearly after you have access to your image (jpg, etc) then you will need to pass it to NI-IMAQ (image processing software) for

further proceesing.

by the way, in the past I have used Data Socket and I think it was very slow! Very very slow...

Just my thoughts!

Link to comment

QUOTE (yazdihr @ Sep 18 2008, 09:22 AM)

You shouldn't need the NI card - it should work fine on any ethernet card.

QUOTE (yazdihr @ Sep 18 2008, 09:22 AM)

Right - you *could* work at the TCP level, but why spend the weeks it would take to write a driver when you can just buy one that has more features than you'll ever need?

QUOTE (yazdihr @ Sep 18 2008, 09:22 AM)

...in the past I have used Data Socket and I think it was very slow! Very very slow...

I sure can't argue with that - it's not really what datasocket was designed for - it was just a little hack I found. You'll never get anywhere near streaming rates using it - it's only good for relatively static images (update every few seconds).

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.