LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i pass a parameter into a labview executable?

Hi,
 
I'm using LV 8.2. I compiled my Labview program into an executable. I want to pass in a string parameter when I spawn my executable.
 
lv_code.exe /name="Test case 1"
 
How can I make this work? At the very least is there a way I can get my executable to ignore /name?

Thanks,
 
Shok
0 Kudos
Message 1 of 2
(2,163 Views)
This is documented in the LabVIEW Help.

To pass user-defined arguments enter two hypens (--) surrounded by spaces before the set of user-defined arguments. Use the  Application:Command Line Arguments property to get the arguments from within the application.
0 Kudos
Message 2 of 2
(2,153 Views)