Back to Adaptive Vision Library Lite website

You are here: Start » XIMEA » XiApi_GetGPILevel

XiApi_GetGPILevel


Returns the value from selected GPI (digital input).

Syntax

void avl::XiApi_GetGPILevel
(
	XiApi_GetGPILevelState& ioState,
	atl::Optional<const atl::String&> inDeviceID,
	int inGPISelector,
	int& outGPILevel
)

Parameters

Name Type Range Default Description
ioState XiApi_GetGPILevelState& 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
outGPILevel int&

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.