User Guide/Command-Line Parameters: Difference between revisions

From STX Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 3: Line 3:
{{STX}} understands the following command line parameters.
{{STX}} understands the following command line parameters.


<code>stx.exe inifile</code>|<code>* ; dataset</code>|<code>*</code>|<code>NO ; applicationname ; applicationarguments</code>
<code>stx.exe workspace</code>|<code>* ; project</code>|<code>*</code>|<code>NO ; applicationname ; applicationarguments</code>


Where <code>inifile</code> is the name of the {{STX}} INI file. If an asterisk is specified, the default {{STX}} INI file stxini.xml is used.
Where <code>workspace</code> is the name of the {{STX}} [[User Guide/Workspace/Application and Setup Tree/Workspace File|workspace file]]. If an asterisk is specified, the default is used.


Where <code>dataset</code> is the name of the DataSet file. If an asterisk is specified, the default DataSet file is used. If <code>NO</code> is specified, then no DataSet is used.
Where <code>project</code> is the name of the [[User_Guide/Project|project file]]. If an asterisk is specified, the default project file is used. If <code>NO</code> is specified, then no project is used.


The default {{STX}} INI file is stxini.xml.
See the [[User_Guide/Log_Window|Log Window]] for a list of available applications.


See [[User Guide/Dataset/Parameter Properties|Log Window]] for a list of available applications.
====Examples====


====Examples====
The following starts stx with the sample project:
 
<code>stx.exe * ; data/sample1.stxpr</code>


The following call runs the script test.sts
The following call runs the script test.sts

Revision as of 09:39, 12 January 2016

STx understands the following command line parameters.

stx.exe workspace|* ; project|*|NO ; applicationname ; applicationarguments

Where workspace is the name of the STx workspace file. If an asterisk is specified, the default is used.

Where project is the name of the project file. If an asterisk is specified, the default project file is used. If NO is specified, then no project is used.

See the Log Window for a list of available applications.

Examples

The following starts stx with the sample project:

stx.exe * ; data/sample1.stxpr

The following call runs the script test.sts

stx.exe * ; * ; bscript run ; test.sts ; mymacro ; arg0 ; arg1

The following starts STx with the Real-Time Analyser

stx.exe * ; * ; rtanalyse

Navigation menu

Personal tools