SENVAL

Returns the last stored value from the Sensor_Evaluate element.

Format

SENVAL(id)

Arguments

id
The ID of the Sensor_Evaluate element.

Example

<Reference_Variable
     id          = "1"
     type        = "EXPRESSION"
     expr        = "SENVAL(2)"
/>
<Sensor_Evaluate
     id          = "2"
     type        = "EXPRESSION"
     expr        = "MOD(AZ(2,9),2*PI)-PI/2"
/>
<Sensor_Event
     label       = "Sensor"
     id          = "3"
     type        = "EXPRESSION"
     expr        = "MOD(AZ(2,9),2*PI)-PI/2"
     compare     = "GE"
     value       = "0."
     evaluate_id = "2"
     error_tol   = "0.0001"
/>