Home > C: Programming > Function Descriptions > History back  Previous chapter  Next chapter  Print  

is_SetIOMask

uEye Camera Manual Version 3.80

is_SetIOMask

Windows_Logo

Linux_Logo

USB 2.0

GigE

USB 2.0

GigE

Syntax

INT is_SetIOMask (HIDS hCam, INT nMask)

Description

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.

Achtung

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.

Hinweis

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

Current setting when used together with
IS_GET_IO


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()

Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!


© 2010 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com