You are here: Start » Function Reference » Hardware Support » Neousys » Neousys_SetDigitalOutput_MultipleAsArray
Header: | ThirdPartySdk.h |
---|---|
Namespace: | fil |
Module: | ThirdParty |
Sets values to all digital output channels at once on a Neousys computer passed in an array form.
Syntax
void fil::Neousys_SetDigitalOutput_MultipleAsArray ( 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 16 |
Remarks
I/O device driver software
This filter is intended to cooperate with a device using its vendor SDK. To be able to connect to a device, it may be required to install WDT_DIO drivers and SDK.
WDT_DIO can be downloaded from the following website: https://www.neousys-tech.com/en/support-service/download-resources.
Add DLL path to system environment variable may be required.
Recommended WDT_DIO version for FabImage Studio usage is 2.3.1.
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.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | inValues array size too big in Neousys_SetDigitalOutput_MultipleAsArray. |
See Also
- Neousys_SetDigitalOutput_MultipleAsArray_Checked – 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.
- Neousys_GetDigitalInput_MultipleAsArray – Gets values of all digital input channels at once on a Neousys computer passed in an array form.