Back to Adaptive Vision Library website

You are here: Start » Function Reference » Camera Support » Flir Spinnaker » Spinnaker_SetUserOutput

Spinnaker_SetUserOutput


Header: ThirdPartySdk.h
Namespace: avl
Module: ThirdParty

Sets user output value.

Syntax

void avl::Spinnaker_SetUserOutput
(
	Spinnaker_State& ioState,
	atl::Optional<const atl::String&> inDeviceID,
	int inUserOutputSelector,
	bool inValue,
	bool inVerify
)

Parameters

Name Type Range Default Description
ioState Spinnaker_State& Object used to maintain state of the function.
inDeviceID Optional<const String&> NIL Device identifying address
inUserOutputSelector int 0 - 3 Selects which bit of the User Output register is set by UserOutputValue.
inValue bool Value of the selected user output, either logic high (enabled) or logic low (disabled).
inVerify bool True Enables AccessMode and Range verification (default = true)

Multithreaded environment

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