/
QESTLab Command Line Options

QESTLab Command Line Options

QEST Platform 4.81
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.

OptionEffectExample
/KIOSKLaunches QESTLab in kiosk mode."C:\Program Files (x86)\Spectra QEST\QESTLab Client\QLC.exe" /KIOSK
/CS ConnectionStringThe 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_NameThe 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


Products described on these pages, including but not limited to QESTLab®, QESTNet, QESTField, Construction Hive, and associated products are Trademarks () of Spectra QEST Australia Pty Ltd and/or related companies.

The content of this page is confidential. Do not share, duplicate or distribute without permission.

© 2020 Spectra QEST® Australia Pty Ltd and/or related companies.  Terms of Use and Privacy Statement


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.