Back to Adaptive Vision Library website
You are here: Start » Function Reference » XIMEA » XiApi_SetGPIMode
Defines selected GPI (digital input) functionality.
Syntax
void avl::XiApi_SetGPIMode ( XiApi_SetGPIModeState& ioState, atl::Optional<const atl::String&> inDeviceID, int inGPISelector, avl::XiApiGPIMode::Type inGPIMode )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
| ioState | XiApi_SetGPIModeState& | Object used to maintain state of the function. | |||
![]() |
inDeviceID | Optional<const String&> | NIL | Camera chip ID or camera index | |
![]() |
inGPISelector | int | 0 - +![]() |
1 | GPI number |
![]() |
inGPIMode | XiApiGPIMode::Type |
Multithreaded environment
This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.


