Register hook function and invoke command.
Syntax
C++
Python
def AILSystem_RegisterIOWatcher( state: AILSystem_State, inInput: int, inHooks: list[AILHook], /, *, inDeviceID: AILSystemAndDeviceIdentifier | None = None, inInputQueueSize: int | None = None, inActivation: AILEdgeType = AILEdgeType.EdgeRising ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
ioState | AILSystem_State | |||
![]() |
inDeviceID | AILSystemAndDeviceIdentifier | None | None | Device identification number. | |
![]() |
inInputQueueSize | int | None | None | Capacity of output frames queue. | |
![]() |
inInput | int | 0 - 63 | Input to watch. | |
![]() |
inActivation | AILEdgeType | AILEdgeType.EdgeRising | Type of the edge to register. | |
![]() |
inHooks | list[AILHook] | Hook to perform and latch to watch. |


