User Guide/Command-Line Parameters: Difference between revisions

From STX Wiki
Jump to navigationJump to search
m (Text replace - "S_TOOLS-STx" to "{{STX}}")
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
==Command line parameters==
{{User Guide}}
 
{{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>
stx.exe <var>workspace</var>|* ; <var>project</var>|*|NO ; <var>applicationname</var> ; <var>applicationarguments</var>


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 <var>workspace</var> 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 <var>project</var> 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====


The following starts stx with the sample project:


====Examples====
<code>stx.exe * ; data/sample1.stxpr</code>


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


<code>stx.exe * ; * ; bscript run ; test.sts ; mymacro ; arg0 ; arg1</code>
<code>stx.exe * ; * ; bscript ; run ; test.sts ; mymacro ; arg0 ; arg1</code>


The following starts {{STX}} with the Real-Time Analyser
The following starts {{STX}} with the Real-Time Analyser


<code>stx.exe * ; * ; rtanalyse</code>
<code>stx.exe * ; * ; rtanalyse</code>

Latest revision as of 09:51, 29 June 2017

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