GetUnit()

Get a unit option for a parameter from the data base.

Usage

unit = GetUnit( path, name )

Parameters

path (string)
Data base path of the node containing the parameter.
name (string)
Parameter name.

Return Value

unit (string)
The unit parameter.

Error

The parameter must exist in the data base.

Description

This routine returns the unit option for a parameter from the data base. The parameter address is given by its node path and the name.