LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting and showing video image with activeX

Hello,

I''m currently working on a student project. The project revolves around connecting an ip camera in LabView. I have recieved a SDK from the company that deliver the camera. There are several activeX methods in this package. The camera require that you supply it with certain information like ip-adress,  user, password and other. All this i found in the  SDK and seem to work. The problem comes when I'm trying to display the image from the camera. I can't seem to find a activeX component to do this task. Is it supposed to be there in the SDK or is it a function/method in LabView that can display the image. I have tryed to connect IMAQ to the activeX components, but the whires missmatch. So I am kinda blank on what to do, any help will be appritiated..

regards
Vedi
0 Kudos
Message 1 of 3
(3,854 Views)

Hi Vedi,

      I don't know what ActiveX components might have come with your camera, but I've been experimenting with a Microsoft ActiveX control "msvidctl" in "msvidctl.dll".  It's an ActiveX control specifically designed to display Video streams - including live video.

It comes with WinXP but web-threads suggest Win2K can also work.  Drop an ActiveX container on your FP then "Insert ActiveX Object" and browse to "MS TV Video Control" in the "Select ActiveX Object" dialog.  If you don't see "MS TV Video Control", DLL is probably not on your PC (in %system%\win32\msvidctl.dll.)

The attached LLB (LV7.1) was a LOT of work just to select the Video source (AKA "TuningSpace") "AuxIn1".  I'm trying to get something in via a composit video connector - emphasis on trying.

This example doesn't provide for video channel selection - but you're weren't planning to watch TV, right? Smiley Wink

Cheers!

.. Oh, and it plays WMV files!

Message Edited by tbd on 03-02-2007 12:13 AM

"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
0 Kudos
Message 2 of 3
(3,838 Views)

Hello Kudo

 

I have tested your MSVidCtl.EXAMPLE.llb to see if I could use it to get 1600x1200 wmv video into labview

 

in 8.5 and get it to work with a short wmv sequence that I have collected using a logitech 9000 camera at 480x640 resolution.

 

Then I tested with max resolution 1600x1200 but the images comes not out correctly , but then I look at the property for MSVidCTl and specially I look for the property browser for the frontpanelobject  for MSVidCtl where the image appears and change the property "actual size" to  true (default false) and then it works !!! (Now the whole image come out in original 1600x1200 and correctly)

 

Thanks a lot

 

Now to my real question:

 

Can I now in Labview be able to " programmatically  snap individual frames from the video  that I  see from the MSVidCTL window using 8.5 native commands ?. I want to use the "picture control " for furthe analyze.

 

Thanks again for providing this very good example code !

 

Kind Regards Lars

0 Kudos
Message 3 of 3
(3,501 Views)