ExpressionID_UnitID_Values

The
ExpressionID_UnitID_Values
item returns the current expression value and all of its leaf node values for a given expression and unit association.
This table shows the input and output formats for this item.
Input Format
Request:
ExpressionID_UnitID_Values
ExpressionID
is
ASCII - Integer, the unique ID of an Expression. Use UnitReqIDBindingRequirements data item or UnitReqIDBindingPreferences data item to retrieve this value.
UnitID
is
ASCII - Integer, the unique ID of a unit instance. Use UnitsList data item to retrieve this value.
Output Format
The ExpressionID_UnitID_Values item returns in this format:
where:
<ExpressionValues>
is
<ExpressionValue> <ExpressionData>
<ExpressionData>
is
<ErrorData>
|
<LeafValuePairs>
<LeafValuePairs>
is
<NullList>
| /t
<LeafValueList>
<LeafValueList>
is
<LeafPair>
|
<LeafPair>
/t
<LeafValueList>
<LeafPair>
is
<LeafName>
/t
<LeafValue>
where:
Field Name
Format
Description
<ErrorData>
ASCII - String
String describing error that prevents proper evaluation of Binding Expression. This is typically either a parsing error or a mathematical exception.
<ExpressionValue>
ASCII - Variable
Evaluated value of the expression.
<LeafName>
ASCII - String
Name of the leaf from the expression.
<LeafValue>
ASCII - Variable
Value of the leaf from the expression.
<NullList>
ASCII - String
Empty string
This table shows an example of the return on this request.
Example:
A request on
object
.
GetItem(15_4_Values),
) which is associated with the expression "(25 <= ON_SCAN_READY) AND ( ON_SCAN_READY <= 75) OR ON_SCAN_READY >= 0"could return:
TRUE/tON_SCAN_READY/t0/t0/t0/ON_SCAN_READY/t/t0/t75/t75/t25/t25/ON_SCAN_READY/t0
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal