Home > C: Programming > Obsolete functions > History back  Previous chapter  Next chapter  Print  

is_SetIO

uEye Camera Manual Version 4.00

is_SetIO

Windows_Logo

Linux_Logo

USB 2.0

GigE

USB 2.0

GigE

Syntax

INT is_SetIO (HIDS hCam, INT nIO)

Description

Achtung

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

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

When used with
IS_GET_IO

Current setting

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!

For technical questions please contact you local distributor or use the support form on our website.


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