Back to Adaptive Vision Library website

You are here: Start » Function Reference » Smart » Smart_ConfigureDigitalIO_SynView

Smart_ConfigureDigitalIO_SynView


Configure SynView digital IO.

Syntax

void avl::Smart_ConfigureDigitalIO_SynView
(
	Smart_State& ioState,
	const avl::SmartIPAddress& inIpAddress,
	atl::Optional<const atl::String&> inDeviceID,
	int inLineNumber,
	atl::Optional<bool> inLineInverter,
	atl::Optional<float> inLineDebounceDuration,
	atl::Optional<avl::SynViewLineSource::Type> inLineSource,
	bool& outIsRemote
)

Parameters

Name Type Range Default Description
ioState Smart_State& Object used to maintain state of the function.
inIpAddress const SmartIPAddress&
inDeviceID Optional<const String&> NIL Tries to find the camera in all available IDs (UserID, VendorName, ModelName...)
inLineNumber int 1 - 32 I/O line for configuration
inLineInverter Optional<bool> NIL Invert the signal on the selected line
inLineDebounceDuration Optional<float> NIL Input line debounce duration in us (0 for disable debouncer)
inLineSource Optional<SynViewLineSource::Type> NIL Selects a device internal signal that should drive the output signal of the selected line.
outIsRemote bool&

Multithreaded environment

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

Errors

Error type Description
RuntimeError Smart_ConfigureDigitalIO_SynView is not supported in the Lite edition.