LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

EXE with Parameter in Commandline

Solved!
Go to solution

Hi there

I want to make a VI an EXE that I can pass a value in the command line and 2 calculated values ​​get back. How does it work with LabView?

0 Kudos
Message 1 of 3
(2,311 Views)

Hi frischro,

 

reading the commandline parameters is done using a property of the application

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(2,305 Views)
Solution
Accepted by frischro

You can pass parameters in via the command line, but you can't get values back to the command line.

 

To be able to pass in the parameters, you need to turn on an advanced setting in the build specification of the executable to accept the command line parameters.  And then you read them with an Application property node.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 3 of 3
(2,285 Views)