![]() |
![]() |
---|---|
USB 2.0 GigE |
USB 2.0 GigE |
Syntax
INT is_SetIO (HIDS hCam, INT nIO)
Description
This function is obsolete and should not be used anymore. We recommend to use the is_IO() function instead. |
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.
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. |
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. |
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 |
Current setting |
Related functions
•is_GetImageInfo()
•is_SetExternalTrigger()