Please enable JavaScript to view this site.

IDS Software Suite - obsolete functions 4.97

Windows_Logo
Linux_Logo

USB 2.0

GigE

USB 2.0

GigE

Syntax

INT is_SetIOMask (HIDS hCam, INT nMask)

Description

hint_info

This function is obsolete and should not be used anymore. We recommend to use the is_IO() function instead.

Using is_SetIOMask(), you can configure the general purpose I/Os (GPIO) of some uEye models as an input or output. The is_SetIO() function sets or returns the current GPIO states.

hint_info

The GPIOs are available with the GigE uEye HE and USB uEye ME/LE (board level only) cameras. The GPIOs are not provided with optocouplers and use TTL voltages. For information on GPIO wiring, please refer to the "Electrical Specifications" chapter in the IDS Software Suite manual.

hint_info

To use hardware triggering with the uEye cameras, we suggest that you use the trigger input provided for this purpose (see is_SetExternalTrigger()).

To connect and control a flash (strobe) unit for the uEye cameras, it is recommended to use the flash output provided (see is_SetFlashStrobe()).

Input parameters

hCam

Camera handle

nMask

Bit mask for inputs/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 outputs.

IS_GET_IO_MASK

Returns the current bit mask.

IS_GET_INPUT_MASK

Returns the IOs to be used as inputs.

IS_GET_OUTPUT_MASK

Returns the IOs to be used as outputs.

Return values

IS_SUCCESS

Function executed successfully

IS_NO_SUCCESS

General error message

Wen used with
IS_GET_IO

Current setting

When used with
IS_GET_INPUT_MASK
IS_GET_OUTPUT_MASK

Bit masks of the IOs to be used.

Related functions

is_SetIO()

is_GetImageInfo()

is_SetFlashStrobe()

is_SetExternalTrigger()