/
QESTLab Command Line Options

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

Option

Effect

Example

/KIOSK

Launches QESTLab in kiosk mode.

"C:\Program Files (x86)\Spectra QEST\QESTLab Client\QLC.exe" /KIOSK

/CS ConnectionString

The application will use the specified connection string after the option rather than the connection string defined in the config.ini file.

"C:\Program Files (x86)\Spectra QEST\QESTLab Client\QLC.exe" /CS "Driver={SQL Server Native Client 11.0};Server=<<SQL INSTANCE NAME>>;Database=<<DATABASE NAME>>;Trusted_Connection=yes;"

/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.

"C:\Program Files (x86)\Spectra QEST\QESTLab Client\QLC.exe" /DSN QESTLab_Alternative_DSN

/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.

"C:\Program Files (x86)\Spectra QEST\QESTLab Client\QLC.exe" /FILEDSN "C:\Program Files (x86)\Spectra QEST\QESTLab Client\FileDSN.DSN"

/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.



"C:\Program Files (x86)\Spectra QEST\QESTLab Client\QLC.exe" /LOG

"C:\Program Files (x86)\Spectra QEST\QESTLab Client\QLC.exe" /LOG "\\servername\logs"

/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.

"C:\Program Files (x86)\Spectra QEST\QESTLab Client\QLC.exe" /LOG /LOGLEVEL ERROR

/DEBUG

Alias for /LOG option.

"C:\Program Files (x86)\Spectra QEST\QESTLab Client\QLC.exe" /DEBUG

"C:\Program Files (x86)\Spectra QEST\QESTLab Client\QLC.exe" /DEBUG "\\servername\logs"

/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.



"C:\Program Files (x86)\Spectra QEST\QESTLab Client\QLC.exe" /PROFILE "%TEMP%\QLProfile.log"

/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.



"C:\Program Files (x86)\Spectra QEST\QESTLab Client\QLC.exe" /PROFILE "%TEMP%\QLProfile.log"  /PROFILE_THRESHOLD_MS 250

/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.

"C:\Program Files (x86)\Spectra QEST\QESTLab Client\QLC.exe" /QNLOG

/QNRESTURI Uri

Set the URI used to connect to QESTNet over REST.

If not set, the value of the qestNetApiLocation setting in the QIntegrator.dll.config file will be used.

Omitting a port from the URI will use the default port 53535.

The URI must not include spaces.

"C:\Program Files (x86)\Spectra QEST\QESTLab Client\QLC.exe" /QNRESTURI http://server.domain/

 



Related content

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.