Z4Sight_ConfigureDigitalInput


Configures digital input port.

Syntax

C++
Python
 
def Z4Sight_ConfigureDigitalInput(
	state: Z4Sight_State,
	/,
	*,
	inDeviceID: Z4SightSystemAndDeviceIdentifier | None = None,
	inInput: int = 0,
	inDebounceTime: int | None = None,
	inEnableGlitchFilter: bool | None = None,
	inInvert: bool | None = None
)
-> None

Parameters

Name Type Range Default Description
Input will be modified ioState Z4Sight_State
Input value inDeviceID Z4SightSystemAndDeviceIdentifier | None None Device identification.
Input value inInput int 0 - 63 0 Input signal.
Input value inDebounceTime int | None 0 - None 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 ns.
Input value inEnableGlitchFilter bool | None None 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 ns on all input signals.
Input value inInvert bool | None None 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.