LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get the return value of external application

Hello All,

I am creating an application in labwindows cvi 6.0. I have an external executable and this executable is displaying video  from a USB device. I know nothing about htis executable. And I want to call that executable, display it in a panel or picture control on cvi and then get the return values of that executable. Is there any way i can do it in labwindows cvi?
thank you very much for the help.
________________________________________________________________
Electronics Manufacturing Tester Forum
0 Kudos
Message 1 of 2
(3,034 Views)

Hi smoken,

 

As far as I know there is no current way to embed a random executable that has a GUI inside a LabWindows/CVI panel. If the executable contains an ActiveX interface, you could possibly use our ActiveX wizard to generate a wrapper and call the exposed methods and retrieve/set properties of that executable. You can also embed ActiveX controls inside a panel (such as using Windows Media Player to show video). For further ActiveX support, see the What ActiveX Features Does LabWindows/CVI Support? KnowledgeBase.

 

To simply launch the executable from LabWindows/CVI, you could just use the LaunchExecutable or LaunchExecutableEx (depending upon CVI version) function.

 

If this USB device is a camera, you might want to check out the Vision Module available in LabWindows/CVI.   

 

Hope this helps!

 

Best Regards,

Jonathan N.
National Instruments
0 Kudos
Message 2 of 2
(2,988 Views)