7.2.2.4 Setup variables

Another group of variables which are treated specially by the driver are setup variables. They are used to configure the device driver or to set parameters which shall not appear at the standard user interface.

Setup parameters are shown in an own screen which is accessible only to operators of a privilege level of 150 and above. Setup variables must be marked with the SETUP modifier, the name of setup variables must start with .config.

Example

    VAR config.lbandInputs    CYCLE 0 CHOICE "4,2" SETUP SAVE
    VAR config.lnbPower       CYCLE 0 CHOICE "OFF,ON.,BST" SETUP
    VAR config.loFreq         CYCLE 0 FLOAT 0 0 1 "MHz" SETUP
    VAR config.berThreshold   CYCLE 0 TEXT SETUP
    VAR config.sigThreshold   CYCLE 0 INTEGER 0 255 ""  SETUP
    VAR config.errFrame       CYCLE 0 CHOICE "FREEZE,BLACK" SETUP

The example above - taken from the Tandberg-Alteia device driver - defines a setup variable config.lbandInputs which configures the driver for 2- or 4-input models of the IRD. This variable also is marked with the SAVE modifier to make the setting permanent. The following variables in the example are configuration settings which are placed in the setup area to keep them out from the common user interface.