Please enable JavaScript to view this site.

uEye DirectShow 4.97

Syntax

IO_SetGPIO (INT nIO)

Description

Sets the additional digital outputs (GPIO) on some uEye models.

hint_info

To be able to set the Status of a GPIO you must first configure the GPIO as output using IO_SetIOMask.

If only one GPIO is configured as output the command IO_SetGPIO has no effect on the other GPIO.

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

nIO

Bit mask for outputs

0x00 (00)

Sets both outputs to 0

0x01 (01)

Sets the first output to 1, the second one to 0

0x02 (10)

Set th first output to 0, the second one to 1

0x03 (11)

Sets both outputs to 1.

Interface

IuEyeIO

Related functions

IO_GetGPIO

IO_SetIOMask