Back to Adaptive Vision Library website

You are here: Start » Function Reference » Imago Technologies » VisionBox_RS422SetSource

VisionBox_RS422SetSource


Header: ThirdPartySdk.h
Namespace: avl
Module: ThirdParty

Sets source of RS 422 port outputs.

Syntax

void avl::VisionBox_RS422SetSource
(
	VisionBox_State& ioState,
	const int inBitIndex,
	const avl::VisionBoxRS422OutSource::Type inSourceType,
	const bool invertOutput
)

Parameters

Name Type Default Description
ioState VisionBox_State& Object used to maintain state of the function.
inBitIndex const int
inSourceType const VisionBoxRS422OutSource::Type
invertOutput const 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 Cannot accept negative bit index