Z4Sight_RegisterCommand
Register command.
Syntax
C++
Python
def Z4Sight_RegisterCommand( state: Z4Sight_State, /, *, inDeviceID: Z4SightSystemAndDeviceIdentifier | None = None, inCommandList: int = 1, inCommand: Z4SightCommand = Z4SightCommand(Z4SightOperation.EdgeRising, 0, 0, None, False), inCommandRegister: Z4SightCommandRegister | None = None, inLatchNumber: int | None = None, inReferenceMoment: int | None = None ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
ioState | Z4Sight_State | |||
![]() |
inDeviceID | Z4SightSystemAndDeviceIdentifier | None | None | Device identification number. | |
![]() |
inCommandList | int | 1 - 2 | 1 | I/O command list. |
![]() |
inCommand | Z4SightCommand | Z4SightCommand(Z4SightOperation.EdgeRising, 0, 0, None, False) | Command details. | |
![]() |
inCommandRegister | Z4SightCommandRegister | None | None | Command register for auto mode. | |
![]() |
inLatchNumber | int | None | 1 - 4 | None | Latch number, only for auto mode. |
![]() |
inReferenceMoment | int | None | 0 - ![]() |
None | Reference value or current if not set, only for no auto mode. |



