Z4Sight_ConfigureTimer


Configures the timer.

Syntax

C++
Python
 
def Z4Sight_ConfigureTimer(
	state: Z4Sight_State,
	/,
	*,
	inDeviceID: Z4SightSystemAndDeviceIdentifier | None = None,
	inTimer: int = 1,
	inArmEnable: bool = False,
	inArmActivation: Z4SightTimerTriggerActivation = Z4SightTimerTriggerActivation.EdgeRising,
	inArmTriggerSource: Z4SightArmTimerTriggerSource | None = None,
	inTriggerSource: Z4SightTimerTriggerSource = Z4SightTimerTriggerSource.Continuous,
	inTriggerOverlap: Z4SightTimerTriggerOverlap = Z4SightTimerTriggerOverlap.Off,
	inClockSource: Z4SightTimerSource | None = None,
	inDelaySource: Z4SightTimerSource | None = None,
	inDelay: int = 1000000,
	inDuration: int = 1000000,
	inInvert: bool = False,
	inActivation: Z4SightTimerTriggerActivation = Z4SightTimerTriggerActivation.AnyEdge,
	inEnable: bool = True
)
-> None

Parameters

Name Type Range Default Description
Input will be modified ioState Z4Sight_State
Input value inDeviceID Z4SightSystemAndDeviceIdentifier | None None Device identification.
Input value inTimer int 1 - 16 1 Timer.
Input value inArmEnable bool False Specifies if timer arming is enabled or not.
Input value inArmActivation Z4SightTimerTriggerActivation Z4SightTimerTriggerActivation.EdgeRising Specifies timer arm activation signal
Input value inArmTriggerSource Z4SightArmTimerTriggerSource | None None Sets which input signal will arm the timer, if timer arming is enabled.
Input value inTriggerSource Z4SightTimerTriggerSource Z4SightTimerTriggerSource.Continuous Trigger source for the timer.
Input value inTriggerOverlap Z4SightTimerTriggerOverlap Z4SightTimerTriggerOverlap.Off Specifies Trigger overlap mode
Input value inClockSource Z4SightTimerSource | None None Clock source for the timer.
Input value inDelaySource Z4SightTimerSource | None None Delay source for the timer.
Input value inDelay int 0 - 1000000 Delay between the timer trigger and the active portion of the timer output signal (in ns for clock source, in the number of counts for the rest).
Input value inDuration int 0 - 1000000 Duration for the active portion of the timer output signal (in ns for clock source, in the number of counts for the rest).
Input value inInvert bool False Whether to invert the output signal or not.
Input value inActivation Z4SightTimerTriggerActivation Z4SightTimerTriggerActivation.AnyEdge Signal variation upon which to generate a timer trigger.
Input value inEnable bool True Enable or disable the timer.