Back to FabImage Library website
You are here: Start » Function Reference » Camera Support » XIMEA » XiApi_SetGPIMode
Header: | ThirdPartySdk.h |
---|---|
Namespace: | fil |
Module: | ThirdParty |
Defines selected GPI (digital input) functionality.
Syntax
void fil::XiApi_SetGPIMode ( XIAPIState& ioState, const ftl::Optional<ftl::String>& inDeviceID, int inGPISelector, fil::XiApiGPIMode::Type inGPIMode )
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 | |
![]() |
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.