The Span logic block provides linear scaling and biasing of an input value using a straight-line interpolation. The Span block creates a linear relationship between the low input/output and high input/output pair. If the Input for the Span block falls between the low and high input, the Output of the Span block is found on the line between the low and high pairs. The reliability associated with the Span block may report Inconsistent inputs for two reasons: Internal math errors (overflow/underflow) and when the Input Range Low equals the value of the Input Range High.
The following table describes the inputs and outputs of the Span logic block.
Name |
Data Type |
Exposed for Connection by Default |
Description |
Default Value |
---|---|---|---|---|
Inputs |
||||
Clamp Highest |
Boolean |
No |
Indicates the behavior when the output exceeds the Output Range High. |
True |
Clamp Lowest |
Boolean |
No |
Indicates the behavior when the output exceeds the Output Range Low. |
True |
Input |
Float |
Yes |
Indicates the Input value that the block uses to provide linear scaling and biasing using a straight-line interpolation. |
0.0 |
Input Range High |
Float |
No |
Indicates the highest value allowed for an input (that is, the high end of the input range). |
100.0 |
Input Range Low |
Float |
No |
Indicates the lowest value allowed for an input (that is, the low end of the input range). |
0.0 |
Output Range High |
Float |
No |
Indicates the highest value allowed for an output (that is, the high end of the output range). |
100.0 |
Output Range Low |
Float |
No |
Indicates the lowest value allowed for an output (that is, the low end of the output range). |
0.0 |
Outputs |
||||
Present Value 1 |
Float |
Yes |
Indicates the output of the linear scaling and biasing performed by the block. |
0.0 |