getReal()

Get a real par value from database.

Usage

realVal = acs.getReal( par, path, unit = None )

Parameters

par (string)
The parameter name.
path (string)
Data base path of the par.
unit (string)
Returned unit. If this parameter is not None, the return value is converted into this unit.

Return Value

realVal (real)
The parameter value.

Errors

The path should be valid.

The parameter in the data base must be a Real value.

Description

This routine returns a real parameter from the data base. The parameter address is given by its node path and the par name. For example,
path = nodePev + RS + 'contact_conditions'
node = path + RS + 'row'
x0 = getReal( 'pointX', node )