
This component will output one of two values, depending on whether the input signal is above or below the input threshold.
If Interpolation Compatibility is enabled, then the interpolated information (i.e. for the exact time the input crosses the threshold) is generated by the device and sent to the output. When interpolation is utilized, this device is very accurate even at larger time steps.
More: |
Name for Identification |
Text |
Optional text parameter for identification of the component. |
||
Threshold Input Value |
|
REAL |
Variable |
When the input signal exceeds this value, the output value becomes that of the high output level |
|
|
|
|
|
Low Output Level |
|
REAL |
Variable |
The output when the input is less than the threshold input value |
|
|
|
|
|
High Output Level |
|
REAL |
Variable |
The output when the input exceeds threshold input value |
|
|
|
|
|
Interpolation Compatibility |
|
Choice |
|
Select Disable or Enable. See Description for more details. |
|
|
|
|
|
Dimension |
|
INTEGER |
Literal |
Enter the dimension of the input signal.
Note that when Interpolate Output | Yes is selected, the output signal array size will be twice that specified here. Every even element in the array represents the interpolated time of the corresponding odd element output signal. |
|
|
|
|
|
Convert Output to the Nearest Integer |
|
Choice |
|
Select Yes or No. If Yes is selected, a NINT (Fortran nearest integer) conversion will be applied to the output signal. |