Back to Aurora Vision Library website

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

Smart_ConfigureDigitalIO_SynView


Header: ThirdPartySdk.h
Namespace: avl
Module: ThirdParty

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

List of possible exceptions:

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