Back to Aurora Vision Library website

You are here: Start » Function Reference » Camera Support » XIMEA » XiApi_SetGPIMode

XiApi_SetGPIMode


Header: ThirdPartySdk.h
Namespace: avl
Module: ThirdParty

Defines selected GPI (digital input) functionality.

Syntax

void avl::XiApi_SetGPIMode
(
	XIAPIState& ioState,
	const atl::Optional<atl::String>& inDeviceID,
	int inGPISelector,
	avl::XiApiGPIMode::Type inGPIMode
)

Parameters

Name Type Range Default Description
Input will be modified ioState XIAPIState& Object used to maintain state of the function.
Input value inDeviceID const Optional<String>& NIL Camera chip ID or camera index
Input value inGPISelector int 0 - + 1 GPI number
Input value 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.