QESTLab Command Line Options
Applies to QESTLab
This article outlines the command line options available for use with the QESTLab Client and explains how these modify the application behavior.
Contents
Overview
QESTLab provides a number of command line options (sometimes called flags or switches). The use of these options with published application shortcuts can make the application behave differently, even when launched from the same computer by the same user.
Note that these options also work with the QEST Crushing Station (QCS) and QEST Weighing Station (QWS) that are released with QESTLab.
Command Line Options
Options are not case sensitive and can be entered in any case e.g. /Debug
or /DEBUG
or /debug
.
Option | Effect | Example |
---|---|---|
/KIOSK | Launches QESTLab in kiosk mode. |
|
/CS ConnectionString | The application will use the specified connection string after the option rather than the connection string defined in the config.ini file. |
|
/DSN DSN_Name | The application will use the DSN as specified after the option rather than the connection string defined in the config.ini file. |
|
/FILEDSN DSN_Name | The application will use the File DSN as specified after the option rather than the connection string defined in the config.ini file. Ensure that all file paths use backslashes, not forward slashes. |
|
/LOG | Enables logging by the QESTLab application to a file placed in the installation directory. Not recommended for general use due to performance impact. An optional folder path may be supplied, to which all files will be written. This can be helpful for collating the log files of multiple users to a single location. Ensure that all file paths use backslashes, not forward slashes. Do not use unless recommended by Spectra QEST. |
|
/LOGLEVEL | Sets the logging level. Logs will only write events that are at this level or above. Must be used with the /LOG command. If not set, /LOG will run with logging level ERROR. Valid values (from highest to lowest) are: ERROR, WARN, INFO, and DEBUG. |
|
/DEBUG | Alias for /LOG option. |
|
/PROFILE FilePath | Enables detailed profiling for timing of function calls and specifies the path for the resulting log file. Can be used to isolate performance issues. Not recommended for general use due to performance impact. The FilePath must include the file name, and the destination directory must exist and be writeable by the user running QESTLab Client. Ensure that all file paths use backslashes, not forward slashes. Do not use unless recommended by Spectra QEST. |
|
/PROFILE_THRESHOLD_MS Value | Used only with the /PROFILE option to reduce performance impact. Sets the minimum time between profiling calls in milliseconds. Lower values capture better and more granular data but have a larger impact. Defaults to 1 millisecond if not specified. Do not use unless recommended by Spectra QEST. |
|
/QNLOG | Enable or disable logging of the calls made to QESTNet, using the log4net configuration typically set in the QIntegrator.dll.config file. If not set, logging will be disabled. |
|
/QNRESTURI Uri | Set the URI used to connect to QESTNet over REST. If not set, the value of the Omitting a port from the URI will use the default port 53535. The URI must not include spaces. |
|
Integrity | Curiosity | Empathy | Unity
The content of this page is confidential and for internal Spectra QEST use only. Do not share, duplicate or distribute without permission.