hnlGetScaleCapacitance
hnlGetScaleCapacitance(t_propName) =>propValue/ nil
Description
Locates the property of the given name, using hnlGetPropVal, hnlCurrentMaster, and hnlCurrentInst, divides the value by the value of the simCapUnit variable, and then returns the result rounded to the nearest integer. If the named property is not found, nil is returned. If simCapUnit is set to nil, the value of the property is returned, again rounded to the nearest integer.
If the property is of string type, the property value is evaluated before it is scaled.
Arguments
Value Returned
|
The value of the property divided by the simCapUnit variable. The returned value is rounded to the nearest integer. |
|
Examples
hnlGetScaleCapacitance( "capValue" )
Related Topics
Return to top