LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Running a webcam image on a tab in a VI

I am trying to run a webcam image on one of the 4 tabs in my VI.  The webcam has its own .exe that I can call in my VI.  If I create a simple VI using a System Exec.VI and then give this the path to the webcam execuable, the program launches and the image from the webcam can be seen.  Great...I want this to happen.  Now, I want to place that image on one of the 4 tabs I am using in my VI but I can't figure out how to do this.  Any help is greatly appreciated.
 
0 Kudos
Message 1 of 5
(3,066 Views)

Unless this application that you launch has an ActiveX Control interface then you won't be able to directly embed its output into a tab or anything else on a LabVIEW VI's front panel. You need to check the documentation for the software that came with your camera to see what you got. Is it a USB camera? If so, you might want to try this.

 
0 Kudos
Message 2 of 5
(3,056 Views)
Thank you for the reply!!  Yes, it is a USB camera and I have downloaded the driver.  Now, it looks like the requirement to use this feature is Vision Assistant 7.1 or higher.  Is this correct?
 
Thanks again!!
0 Kudos
Message 3 of 5
(3,050 Views)
To be honest, I don't know since I've never used the software. I just know that NI provided it after a number of people were asking about interfacing USB cameras to LabVIEW. I'm also not sure of its compatibility with LabVIEW 8 and above.

Did you check to see if the manufacturer for your camera provided any other software?
0 Kudos
Message 4 of 5
(3,045 Views)
The easiest way:  Set the Web cam exe window as a child window of your front panel window.
 
George Zou
 
George Zou
0 Kudos
Message 5 of 5
(3,033 Views)