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

is_SetIO

uEye Camera Manual Version 3.80

is_SetIO

Windows_Logo

Linux_Logo

USB 2.0

GigE

USB 2.0

GigE

Syntax

INT is_SetIO (HIDS hCam, INT nIO)

Description

is_SetIO() sets the additional digital outputs (GPIOs) of the uEye or returns their current states. Using is_SetIOMask(), you can define each GPIO as a digital input or output.

Achtung

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

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

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

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)

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

0x03 (11)

Sets both outputs to 1.

IS_GET_IO

Reads the states of the GPIOs. If a GPIO is configured as input this reads the signal applied to the GPIO.

Return Values

IS_SUCCESS

Function executed successfully

IS_NO_SUCCESS

General error message

Current setting
when used together with IS_GET_IO


Related Functions

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