From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

command line arguments

Does anyone know if it is possible to take in command line arguments using
LabVIEW, then use the parameter to configure the program??

Any help would be greatly appreciated.

David
0 Kudos
Message 1 of 6
(6,436 Views)
Man, there's got to be an easier way to navigate the forums. That's alotta clicks to get to the end of the unanswered questions. Any possibility of a "jump to" option (hint hint webmaster/moderator if any exist)?

This one was already answered (and it only took 2 yrs:) at:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000075280000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_QUESTION_0=command+line+arguments&USEARCHCONTEXT_QUESTION_S=0
0 Kudos
Message 2 of 6
(6,436 Views)
When you build a LV application, you can configure an option to pass command line arguments to your program. Sorry I don't recall off the top of my head which page it's on, but it is there -- I've used it! 😉

Then, you can use the Application property node and choose Application>>Command Line Arguments. You'll get an array of strings from which you can parse your arguments.


intvsteve
LabVIEW R&D
0 Kudos
Message 3 of 6
(6,073 Views)
You can use www.tinyurl.com for trimming those pesky long URLs. 😄 Works like a charm.
intvsteve
LabVIEW R&D
0 Kudos
Message 4 of 6
(6,072 Views)
intvsteve:  You've responded to messages written in 1999 and 2003.  Just a bit late, are you?  Smiley Wink
- tbob

Inventor of the WORM Global
0 Kudos
Message 5 of 6
(6,062 Views)
Who, me?

Actually, just after posting, I realized that I'd hit >> rather than 'Next' ... *blush*
intvsteve
LabVIEW R&D
0 Kudos
Message 6 of 6
(6,052 Views)