Operator Library: Hardware Platform
The LED operator provides an interface for accessing the board LEDs of the frame grabber via the applet.
Driving a logic HIGH on the input forces the correspondent board LED to light on. Driving a logic LOW on the input forces the correspondent board LED to light off.
For the exact location of board LEDs on the frame grabber, see the manual of your frame grabber.
On marathon VCX-QP, the numbering of the LEDs is mirrored, see parameter description of parameter Port below. |
Link Parameter | Input Link I |
---|---|
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 |
Port | ||||
---|---|---|---|---|
Type | static write parameter | |||
Default | USR1 | |||
Range |
imaFlex CXP-12 Quad: {USR1, USR2, USR3, USR4, USR5, USR6} LightBridge VCL, mE5 marathon VCLx, and mE5 marathon VCL: {USR1, USR2} mE5 marathon VCX-QP and mE5 marathon VF2: {USR1, USR2, USR3, USR4} |
|||
The parameter defines which of the board LEDs will be connected by the operator. imaFlex CXP-12 Quad:
mE5 marathon VCLx, mE5 marathon VCL, LightBridge VCL:
mE5 marathon VF2:
mE5 marathon VCX-QP:
To turn the LED ON, the input I must be driven HIGH. To turn the LED OFF, the input I must be driven LOW.
|
Pin_ID | ||||
---|---|---|---|---|
Type | static write parameter | |||
Default | 0 | |||
Range | [0;3] | |||
The Pin_ID parameter defines which of the 4 board LEDs will be connected by the operator. Range is [0; 3].
|
The use of operator LED is shown in the following examples:
-
An example for hardware self test of DMA, RAM, GPIOs, Trigger and LEDs.