Diagnostic application variables object class

The Diagnostic Application Variables Object Class (DAVars) is used to store run time information needed by the Diagnostic Application. This object class is used to store state variables to support Loop Testing.

All applications using the DAVars capability must use the getdavar/putdavar diagnostic library subroutine.

The DAVars object class structure is defined as:


class DAVars {
                    char dname[16];
                    char vname[30];
                    short vtype;
                    char vvalue[30];
                    long ivalue;
                    };
Parameter Description
dname Name of the device with which the variable is associated.
vname Name of the variable.
vtype Type of the variable. The following values are defined:
DIAG_STRING
The variable should be treated as a character string.
DIAG_INT
The variable should be treated as an integer.
DIAG_SHORT
The variable should be treated as a short.
vvalue Stores character string variable.
ivalue Stores integer or short value of variable.