LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to run an exe as a window inside a VI

I have a VI that needs to runf an exe file i.e. the exe file should be running inside the VI and not execute as a separate window. Please suggest the best way to proceed.

 

Thanks

 

Bharat

0 Kudos
Message 1 of 39
(5,740 Views)
If the other code is in a separate compiled executable, you can't. Your best option is to grab the data from the executable using VI Server and display it in your new program.

What exactly is it that you want to do?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 39
(5,710 Views)

Basically, I have an exe file that is being sent from a microcontroller to the computer and I need to execute it in the LabVIEW VI in a small frame.

0 Kudos
Message 3 of 39
(5,705 Views)
Was the other exe created in LabVIEW as well?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 39
(5,689 Views)

No. That was created using Java.

0 Kudos
Message 5 of 39
(5,686 Views)
In that case you are pretty much stuck. Does this java program provide any way of accessing it externally? ActveX, .net anything?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 6 of 39
(5,683 Views)