AILSystem_RegisterIOWatcher


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
Input will be modified ioState AILSystem_State
Input value inDeviceID AILSystemAndDeviceIdentifier | None None Device identification number.
Input value inInputQueueSize int | None None Capacity of output frames queue.
Input value inInput int 0 - 63 Input to watch.
Input value inActivation AILEdgeType AILEdgeType.EdgeRising Type of the edge to register.
Input value inHooks list[AILHook] Hook to perform and latch to watch.