Operator Library: Signal
Operator GetSignalStatus allows the monitoring of up to 64 input signal links by a software application. The current values at the link are stored and can be read using parameter Status from software. The value is bit-coded. Every bit represents one input link. Bit 0 input link 0, bit 1 input link 1, etc.
Different modes to read the link values are supported. The mode is selected using parameter Mode.
-
In Direct mode the signal status is read out directly without and storing of previous values.
In Rise mode, the status parameter is set to high if previously a rising edge has been detected at the input link.
In Fall mode, the status parameter is set to high if previously a falling edge has been detected at the input link.
In Edge mode, the status parameter is set to high if previously a rising or a falling edge has been detected at the input link.
In Pulse mode, the status parameter is set to high if previously a rising AND a falling edge have been detected at the input link.
Reading the parameter causes a reset of the parameter value to zero.
This operator is excluded from the VisualApplets functional simulation.
| Property | Value |
|---|---|
| Operator Type | M |
| Input Link | I0...I64, image data input |
Synchronous and Asynchronous Inputs
- All signal inputs may be sourced by the same or different M-type operators through an arbitrary network of O-type operators. If they are sourced by the same M-type source, they will be automatically synchronized.
| Link Parameter | Input Link I0...I64 |
|---|---|
| Bit Width | 1 |
| Arithmetic | unsigned |
| Parallelism | 1 |
| Kernel Columns | 1 |
| Kernel Rows | 1 |
| Img Protocol | VALT_SIGNAL |
| Color Format | VAF_GRAY |
| Color Flavor | FL_NONE |
| Max. Img Width | any |
| Max. Img Height | any |
| Mode | |
|---|---|
| Type | static parameter |
| Default | Direct |
| Range | {Direct, Rise, Fall, Edge, Pulse} |
|
This parameter specifies the monitoring type mode. See explanations above. |
|
| Status | |
|---|---|
| Type | dynamic read parameter |
| Default | 0 |
| Range | [0, 2^NoOfInputLinks] |
|
Shows the current link status for all inputs. The status is reset to 0 while reading. Bit 0 corresponds to input 0, bit 1 to input 1, etc. |
|
The use of operator GetSignalStatus is shown in the following examples:
-
'Functional Example for Specific Operators of Library Signal'
Examples - Demonstration of how to use the operator

Prev

