AILSystem_RegisterCommand
Register command.
Syntax
C++
Python
def AILSystem_RegisterCommand( state: AILSystem_State, /, *, inDeviceID: AILSystemAndDeviceIdentifier | None = None, inCommandList: int = 1, inCommand: AILCommand = AILCommand(AILOperation.EdgeRising, 0, 0, None, False), inCommandRegister: AILCommandRegister | None = None, inLatchNumber: int | None = None, inReferenceMoment: int | None = None ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
ioState | AILSystem_State | |||
![]() |
inDeviceID | AILSystemAndDeviceIdentifier | None | None | Device identification number. | |
![]() |
inCommandList | int | 1 - 2 | 1 | I/O command list. |
![]() |
inCommand | AILCommand | AILCommand(AILOperation.EdgeRising, 0, 0, None, False) | Command details. | |
![]() |
inCommandRegister | AILCommandRegister | 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. |



