Value


Writes the value of a signal. The value is written in a text field.

The object is connected to an attribute in the database of arbitrary type. In format, the
format of the conversion to text is specified, in c-syntax.

It is possible to create additional instances. This requres that the subgraph has several
annotations to write out values in. The value of an instance are written out in the annotation
with the corresponding number.

Attribute                               Description
Value.Attribute                         Signal in the database or arbitrary type, that is written out in
                        the text field.
Value.Format                         Format in c-printf syntax.
Value.ZeroBlank                         When value is zero, the value field is blank.
Value.DecimalsAttr                       Integer signal for number of decimals.
Value.DecimalsDecrease                       The number of decimals will be decremented
                                      the specified amount.
Value.Instances                         Instance mask where instances can be added or removed.

Format

For the following attributes types, some additional format strings are defined.

pwr_tTime
%t                  Date and time. Eg 24-MAY-2007 11:33:43.91
%1t                 Only time, no hundredth. Eg 11:33:43
%2t                 Only time, with hundredth. Eg 11:33:43:91
%3t                 Compressed date and time. Eg 07-05-24 11:33:43
%4t                 Date only. Eg 24-MAY-2007
%5t                 Compressed date. Eg 07-05-24
%6t                 Time and date. Eg 01:00:00 30/01/87
pwr_tDeltaTime
%t                  Time with hundredth. Ex 1:23:45.43
%1t                 Time without hundredth. Ex 1:23:45
pwr_tEnum
%d                  The enumeration value is displayed as in UInt32.
%s                  The enumeration value will be converted to the corresponding string.
pwr_tObjid
%o                  Object name (last segment).
%1o                 Path and object name.
%2o                 Volume, path and object name.
pwr_tAttrRef and pwr_tDataRef
%o                  Object name (last segment) and attribute name.
%1o                 Path, object name and attribute name.
%2o                 Volume, path, object name and attribute name.
pwr_tStatus and pwr_tNetStatus
%m                  The status value will be converted to the corresponding string.
                   Eg "GDH-E-NOSUCHOBJ, No such object".
%1m                 Only the text part of the string is displayed. Eg "No such object".
pwr_tMask
%d                  The mask is displayed as an UInt32.
%b                  The mask is displayed as a 32-bit binary value.
%16b                The mask is displayed as a 16-bit binary value. Eg 001111100011001.