Back to Adaptive Vision Library website

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

VisionBox_RS422SetBit


Header: ThirdPartySdk.h
Namespace: avl
Module: ThirdParty

Sets state of particular output of RS 422 port.

Syntax

void avl::VisionBox_RS422SetBit
(
	VisionBox_State& ioState,
	const int inBitIndex,
	const bool inBitState
)

Parameters

Name Type Default Description
ioState VisionBox_State& Object used to maintain state of the function.
inBitIndex const int
inBitState 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.