Back to Aurora Vision Library website

You are here: Start » Function Reference » Hardware Support » Z4Sight » Z4Sight_ConfigureDigitalInput

Z4Sight_ConfigureDigitalInput


Header: ThirdPartySdk.h
Namespace: avl
Module: ThirdParty

Configures digital input port.

Syntax

void avl::Z4Sight_ConfigureDigitalInput
(
	Z4Sight_State& ioState,
	atl::Optional<const avl::Z4SightSystemAndDeviceIdentifier&> inDeviceID,
	int inInput,
	atl::Optional<int> inDebounceTime,
	atl::Optional<bool> inEnableGlitchFilter,
	atl::Optional<bool> inInvert
)

Parameters

Name Type Range Default Description
Input will be modified ioState Z4Sight_State& Object used to maintain state of the function.
Input value inDeviceID Optional<const Z4SightSystemAndDeviceIdentifier&> NIL Device identification.
Input value inInput int 0 - 63 Input signal.
Input value inDebounceTime Optional<int> 0 - NIL Sets the amount of time that the specified auxiliary input signal is debounced. Specifies the minimum amount of time to ignore any additional signal transitions after accepting a signal transition, in nsec.
Input value inEnableGlitchFilter Optional<bool> NIL Sets whether to enable a glitch filter on input signals. A glitch is an unexpected signal transition of a short duration. Enabling the glitch filter will eliminate glitches of less than 500 nsec on all input signals.
Input value inInvert Optional<bool> NIL Sets whether the specified I/O signal should be inverted. This causes the low portion of the signal (the delay period) to be high and the high portion of the signal (the active portion) to be low.