Back to FabImage Library website

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

XiApi_GetGPILevel


Header: ThirdPartySdk.h
Namespace: fil
Module: ThirdParty

Returns the value from selected GPI (digital input).

Syntax

void fil::XiApi_GetGPILevel
(
	XIAPIState& ioState,
	const ftl::Optional<ftl::String>& inDeviceID,
	int inGPISelector,
	int& outGPILevel
)

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
Output value outGPILevel int&

Multithreaded environment

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