Nodka_WriteOutputLevel_Port


Writes an entire output port.

Syntax

C++
Python
 
def Nodka_WriteOutputLevel_Port(
	state: Nodka_State,
	inLevels: list[bool],
	/,
	*,
	inServerPort: int | None = None,
	inDeviceConfigPath: str | None = None,
	inDeviceLightControllerPort: int | None = None,
	inPortIndex: int = 0
)
-> None

Parameters

Name Type Range Default Description
Input will be modified ioState Nodka_State
Input value inServerPort int | None 1 - 65535 None Port of NodkaServer service.
Input value inDeviceConfigPath str | None None Path to nkio_config.ini file with I/O configuration.
Input value inDeviceLightControllerPort int | None 1 - None COM port used by the light controller (if supported by the device).
Input value inPortIndex int 0 - 1 0 Output port number.
Input value inLevels list[bool] Output port levels.