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}}}} | ||
{{User Guide}} | |||
{{STX}} understands the following command line parameters. | |||
stx.exe <var>workspace</var>|* ; <var>project</var>|*|NO ; <var>applicationname</var> ; <var>applicationarguments</var> | |||
< | 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 < | 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. | ||
See the [[User_Guide/Log_Window|Log Window]] for a list of available applications. | |||
====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 | ||
<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 | 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