Command Line Options in LabVIEW Executables

Publish Date: Sep 30, 2015 | 20 Ratings | 3.25 out of 5 | Print | 3 Customer Reviews | Submit your review

This example shows how to use the command line option with a LabVIEW executable (i.e., built applications). You can have the executable run in different ways, depending on the arguments given in the command line.

The file includes a readme file that describes the workings of the program in more detail.

For more information on using command-line arguments with LabVIEW, see the links below.

NOTE: In LabVIEW 7.0, when you launch LabVIEW or a stand-alone application from the command line, you can pass user-defined arguments. In the command line, enter two hyphens (--) surrounded by spaces before the set of user-defined arguments. LabVIEW does not use any arguments after the two hyphens to launch labview.exe. LabVIEW passes the arguments after the two hyphens to the block diagram of the VI you launch. In the VI you launch, use the Application:Command Line Arguments property to read the user-defined command-line arguments passed when the executable launches. Visit the Upgrade Advisor (linked below) to upgrade LabVIEW.

Refer to the LabVIEW 7.0 Upgrade Notes (linked below) for more information about using command-line arguments in LabVIEW. You also can access the LabVIEW 7.0 Upgrade Notes in LabVIEW by selecting Help»Search the LabVIEW Bookshelf.

Related Links:
Upgrade Advisor
Product Manuals: LabVIEW 7.0 Upgrade Notes

Back to Top

Customer Reviews
3 Reviews | Submit your review

  - Nov 8, 2012

can't be opened in LabVIEW 9.0 UPDATE!!! please

Upgrade the example  - Mar 16, 2012

Can't open in LabVIEW 10. Please upgrade and re-upload.

  - Feb 1, 2010

Pretty old! I can´t open it with LabVIEW 2009!

Bookmark & Share



Command Line Example.llb



Rate this document

Answered Your Question?
Yes No