getVarUnit()

Return the SI unit of the variable according to its adb name.

Usage

varUnit = adb.getVarUnit( name, adbOut )

Parameters

name (string)
The variable name.
adbOut (string)
Related adb out name.

Return Value

varUnit (string)
The variable SI unit.

Description

This routine returns the SI unit of the variable according to its adb name. For example,
osiUnit = adb.getVarUnit( "pressure", "osi" )