Showing results for 
Search instead for 
Did you mean: 

How can I run a labview executable file inside a VI

How can i add and run a labview executable file inside the vi and grab the output of the executable file to be used in the vi?




0 Kudos
Message 1 of 8

Hi cmdrb,


to run an executable you use SystemExec function.


To get the output of your (LabVIEW-made) executable you need to program some data transfer means: you may use network functions or file functions. In both cases your "LabVIEW executable" needs to provide that options…

Best regards,

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 8
And if you have the source code for the exe, rebuild it as a dll.
0 Kudos
Message 3 of 8

I really hope they lack the source code.  Otherwise, this question show an awkward architecture.  If you have the source code, you're complicating things by making it an exe.  If you don't, you'll need to redesign the exe's functionality to extract information from it unless it's already setup with something like a shared variable to store the information.

Message 4 of 8

awkward achiecture seems to be the theme of the day!

"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 8

I'm thinking it's a theme for the forums.

Message 6 of 8
Thanks for the reply Guys.
Unfortunately, I didnt start the vi yet. I am considering this function as one of the option to proceed with the project.

0 Kudos
Message 7 of 8
Why an exe? What is the project supposed to do?
0 Kudos
Message 8 of 8