Back to FabImage Library website

You are here: Start » Function Reference » Hardware Support » AdvantechUNO » AdvantechUNO_SetGPIOPinDirection_Multiple

AdvantechUNO_SetGPIOPinDirection_Multiple


Header: ThirdPartySdk.h
Namespace: fil
Module: ThirdParty

Sets GPIO directions.

Syntax

void fil::AdvantechUNO_SetGPIOPinDirection_Multiple
(
	AdvantechUNO_State& ioState,
	int inBank,
	ftl::Optional<const ftl::Array<bool>&> inMask,
	const ftl::Array<fil::AdvantechUNOPinDirection::Type>& inDirection
)

Parameters

Name Type Range Default Description
Input will be modified ioState AdvantechUNO_State& Object used to maintain state of the function.
Input value inBank int 0 - 0 GPIO bank.
Input value inMask Optional<const Array<bool>&> NIL GPIO mask.
Input value inDirection const Array<AdvantechUNOPinDirection::Type>& GPIO directions.

Remarks

I/O device driver software

This filter is intended to cooperate with an Advantech UNO series device using its vendor SDK. To be able to connect to the device, it is required to install PlatformSDK and device drivers.

Add DLL path to system environment variable may be required.

Recommended PlatformSDK version for FabImage Studio usage is V1.02.003 (1.2.3).

PlatformSDK can be downloaded from the following website: https://www.advantech.com/en-eu/search/?q=PlatformSDK&st=support.

See Also