Back to FabImage Library website
You are here: Start » Function Reference » Neousys » Neousys_SetDigitalOutput_MultipleAsArray_Checked
Header: | ThirdPartySdk.h |
---|---|
Namespace: | fil |
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 fil::Neousys_SetDigitalOutput_MultipleAsArray_Checked ( Neousys_State& ioState, const ftl::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 FabImage on a 64-bit operating system. Please use 64-bit FabImage 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
- Neousys_SetDigitalOutput_MultipleAsArray – Sets values to all digital output channels at once on a Neousys computer passed in an array form.
- Neousys_GetDigitalInput_MultipleAsArray – Gets values of all digital input channels at once on a Neousys computer passed in an array form.