Back to Adaptive Vision Library website

You are here: Start » Function Reference » Neousys » Neousys_SetDigitalOutput_MultipleAsArray_Checked

Neousys_SetDigitalOutput_MultipleAsArray_Checked


Header:ThirdPartySdk.h
Namespace:avl

Sets values to all digital output channels at once on a Neousys computer passed in an array form. Additionally, does a read-back of the values to make sure they're identical to the written values.

Syntax

void avl::Neousys_SetDigitalOutput_MultipleAsArray_Checked
(
	Neousys_State& ioState,
	const atl::Array<bool>& inValues
)

Parameters

Name Type Default Description
ioState Neousys_State& Object used to maintain state of the function.
inValues const Array<bool>& Values to set to output channels; max 8

Remarks

Availability

Before you use this filter make sure how many digital input and output channels does your Neousys device provide.

Compatibility

Neousys Watchdog Timer and Digital I/O support is not provided when using 32-bit Adaptive Vision on a 64-bit operating system. Please use 64-bit Adaptive Vision in such a case.

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
DomainError inValues array size too big in Neousys_SetDigitalOutput_MultipleAsArray_Checked.

See Also