Operator GPI

The operator GPI provides an interface to the digital inputs. Via parameter Pin_ID, you select the digital input (which is wired to a physical pin on a GPIO unit) you want to use for receiving a signal. The same digital inputs can be used by multiple operators.

If you use a device with several GPIO units, use parameter ConnectorType to select the GPIO unit you want to address (Front GPIO or GPIO).

For the mapping of digital inputs and pin connectors, check the User Manual of your frame grabber.

Available for Hardware Platforms
mE5 marathon VCLx
mE5 marathon VCL
mE5 marathon VCX-QP
mE5 marathon VF2
LightBridge VCL
mE5 ironman VQ8-CXP6D/-CXP6B
mE5 ironman VD8-PoCL
pixelPlant 100
pixelPlant 200

I/O Properties

Property Value
Operator Type M
Output Link O, general purpose input signal to be used inside VisualApplets.

Supported Link Format

Link Parameter Output Link O
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

Parameters

Pin_ID
Type static write parameter
Default 0
Range [0;7] or [0;3]

Via parameter Pin_ID, you define the digital input (which is wired to a physical pin on a GPIO socket) you want to use for receiving a signal. The same digital inputs can be used by multiple operators.

[0;3] The value range is 0-3 for the Front GPIO on marathon, the Front GPIO on LightBridge, and the GPIO on LightBridge.

[0;7] For the GPIO on marathon and in all other cases, the value range is 0-7.

ConnectorType
Type static write parameter
Default GPIO
Range {FrontGPIO, GPIO}

Via parameter ConnectorType, you define which GPIO socket (GPIO or Front GPIO) you want to address with the value you enter for parameter Pin_ID.

[Warning] Restricted Availability

This parameter is only available for platforms that have a Front GPIO:

  • mE5 marathon VCLx
  • mE5 marathon VCL
  • mE5 marathon VCX-QP
  • mE5 marathon VF2
  • LightBridge VCL

Examples of Use

The use of operator GPI is shown in the following examples: