| Home > Function descriptions > | History back Previous chapter Next chapter Print |
SetIOMask |
|
uEye ActiveX Manual Version 4.00
Syntax
LONG SetIOMask (LONG nIOMask)
Description
Using SetIOMask(), you can define each GPIO as an input or output. The SetIO() function sets the additional digital outputs (GPIOs) of the uEye.
|
|
|
|
Parameters
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_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 |
When used with |
Bit masks of the IOs to be used. |
Related functions