QDaq  0.2.6
Qt-based Data Aqcuisition
 All Classes Functions Variables Typedefs Enumerations Enumerator Properties Groups Pages
qdaq

Table of Contents

Full-fledged app for developing and running QDaq scripts

qdaq is an application that can be used for both developing and running QDaq scripts.

It provides basically a script interpreter that evaluates the scripts. Evaluation can be done interactively on a console window or in the background.

QDaq scripts can create windows (see the functions loadWidget and loadTopLevelWidget) and thus a complete windowed application can be made solely with script code. Then qdaq can used to run the script application.

A very helpfull tool for developing QDaq script applications is the QDaq IDE. Typically script development will be done with the IDE, so that the developer can browse all objects and their properties and test commands and procedures. Once the application script is finalized, it may be passed to qdaq at the command line and the application starts like a normal windowed application.

Running qdaq

You can run qdaq either from the command line or by clicking the application icon.

Giving the option –help at the command line displays the following

$ qdaq --help
Usage: qdaq [options] script
Options:
-c, --console Start a script console window.
-d, --debug Start in script-debugging mode.
-h, --help Displays this help.
-v, --version Displays version information.
Arguments:
script A .js script to run at startup.

If the program is invoked without any options the QDaq IDE is started.

If it is invoked with a script file as argument, then the script file is parsed and executed. If the script creates application windows, then qdaq proceeds as a normal window application until the user closes the window.

All application windows created by QDaq have a special menu which can be invoked by pressing Ctrl-F8. From the menu one can either open the QDaq IDE or just a script console. This may be used for debugging an application or running some script command. All qdaq objects are accesible from the IDE or console.

QDaq IDE

QDaq includes a simple IDE (Integrated Development Environment).

qdaq_ide_screenshot.png
QDaq IDE window

The IDE provides the following features: