User Guide/Command-Line Parameters: Difference between revisions

From STX Wiki
Jump to navigationJump to search
m (1 revision: Initial import)
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
==Command line parameters==
{{User Guide}}
{{STX}} understands the following command line parameters.


S_TOOLS-STx understands the following command line parameters.
stx.exe <var>workspace</var>|* ; <var>project</var>|*|NO ; <var>applicationname</var> ; <var>applicationarguments</var>


<code>stx.exe inifile</code>|<code>* ; dataset</code>|<code>*</code>|<code>NO ; applicationname ; applicationarguments</code>
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>inifile</code> is the name of the S_TOOLS-STx INI file. If an asterisk is specified, the default S_TOOLS-STx INI file stxini.xml 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.


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.
See the [[User_Guide/Log_Window|Log Window]] for a list of available applications.
 
The default S_TOOLS-STx INI file is stxini.xml.
 
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 S_TOOLS-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