Please enable JavaScript to view this site.

uEye DirectShow 4.97

Syntax

IO_SetIOMask (INT nIOMask)

Description

Using IO_SetIOMask, you can configure the direction of the additional in-/outputs (GPIO) of some uEye models. The IO_SetGPIO function sets or returns the current GPIO states.

hint_info

The General Purpose IO (GPIO) are only available on some uEye camera series. The GPIO are not potential-free and have no protective circuit. For information on GPIO wiring, please refer to the "Electrical specifications" chapter in the uEye manual.

Parameter

nIOMask

Bit mask for in-/outputs

0x00 (00)

Use both GPIOs as inputs

0x01 (01)

Use the first GPIO as output, the second one as input

0x02 (10)

Use the first GPIO as input, the second one as output

0x03 (11)

Use both GPIOs as output

Interface

IuEyeIO

Related functions

IO_GetGPIO

IO_IOMaskInputSupported