getVals()

Get par values from the database.

Usage

parVals = acs.getVals( par, path, parType = pnlDb.BOOL )

Parameters

par (string)
The parameter name.
path (string)
Data base path of the par.
parType (Type( INT, BOOL, REAL...)
Parameter type. It could be INT, BOOL, REAL, STR, ENUM, REF, TAB, TAREA, LIST, REFS, ARY, FDATA, FILE, DIR, PASSWD, FONT or COLOR ...

Return Value

parVals (dictionary)
The parameter type.

Errors

The parameter in the data base must be of a valid type.

The parameter must exist in the data base.

Description

This routine returns values of the parameter from the data base. The parameter address is given by its node path and the par name. For example,
nodeNic = ROOT + RS + 'NODAL_INITIAL_CONDITION'
parVals = acs.getVals( par = "script", path = nodeNic )