Back to Adaptive Vision Library Lite website
You are here: Start » XIMEA » XiApi_SetGPOMode
![](../../img/icon/Ximea_SetDigitalOutout.png)
XiApi_SetGPOMode
Defines GPO (digital output) functionality.
Syntax
void avl::XiApi_SetGPOMode ( XIAPIState& ioState, const atl::Optional<atl::String>& inDeviceID, int inGPOSelector, avl::XiApiGPOMode::Type inGPOMode )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | XIAPIState& | Object used to maintain state of the function. | |||
![]() |
inDeviceID | const Optional<String>& | NIL | Camera chip ID or camera index | |
![]() |
inGPOSelector | int | 0 - +![]() |
1 | GPO number |
![]() |
inGPOMode | XiApiGPOMode::Type |
Multithreaded environment
This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.