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 | |
|---|---|---|---|---|---|
![]() |
ioState | Z4Sight_State | |||
![]() |
inDeviceID | Z4SightSystemAndDeviceIdentifier | None | None | Device identification. | |
![]() |
inTimer | int | 1 - 16 | 1 | Timer. |
![]() |
inArmEnable | bool | False | Specifies if timer arming is enabled or not. | |
![]() |
inArmActivation | Z4SightTimerTriggerActivation | Z4SightTimerTriggerActivation.EdgeRising | Specifies timer arm activation signal | |
![]() |
inArmTriggerSource | Z4SightArmTimerTriggerSource | None | None | Sets which input signal will arm the timer, if timer arming is enabled. | |
![]() |
inTriggerSource | Z4SightTimerTriggerSource | Z4SightTimerTriggerSource.Continuous | Trigger source for the timer. | |
![]() |
inTriggerOverlap | Z4SightTimerTriggerOverlap | Z4SightTimerTriggerOverlap.Off | Specifies Trigger overlap mode | |
![]() |
inClockSource | Z4SightTimerSource | None | None | Clock source for the timer. | |
![]() |
inDelaySource | Z4SightTimerSource | None | None | Delay source for the timer. | |
![]() |
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). |
![]() |
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). |
![]() |
inInvert | bool | False | Whether to invert the output signal or not. | |
![]() |
inActivation | Z4SightTimerTriggerActivation | Z4SightTimerTriggerActivation.AnyEdge | Signal variation upon which to generate a timer trigger. | |
![]() |
inEnable | bool | True | Enable or disable the timer. |



