Back to Adaptive Vision Library website

You are here: Start » Function Reference » XIMEA » M3API_SetDigitalInputModes_Deprecated

M3API_SetDigitalInputModes_Deprecated


Manages digital inputs in a XIMEA camera.

Syntax

void avl::M3API_SetDigitalInputModes_Deprecated
(
	M3API_SetDigitalInputModes_DeprecatedState& ioState,
	atl::Optional<int> inDeviceID,
	atl::Optional<avl::XIMEAGPIState::Type> inGPIO1State,
	atl::Optional<avl::XIMEAGPIState::Type> inGPIO2State,
	atl::Optional<avl::XIMEAGPIState::Type> inGPIO3State,
	atl::Optional<avl::XIMEAGPIState::Type> inGPIO4State
)

Parameters

Name Type Default Description
ioState M3API_SetDigitalInputModes_DeprecatedState& Object used to maintain state of the function.
inDeviceID Optional<int> NIL Camera chip ID
inGPIO1State Optional<XIMEAGPIState::Type> NIL Sets GPIO1 state
inGPIO2State Optional<XIMEAGPIState::Type> NIL Sets GPIO2 state
inGPIO3State Optional<XIMEAGPIState::Type> NIL Sets GPIO3 state
inGPIO4State Optional<XIMEAGPIState::Type> NIL Sets GPIO4 state

Multithreaded environment

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