Nodka_WriteOutputLevel_Channel
Writes a single output channel.
Syntax
C++
Python
def Nodka_WriteOutputLevel_Channel( state: Nodka_State, /, *, inServerPort: int | None = None, inDeviceConfigPath: str | None = None, inDeviceLightControllerPort: int | None = None, inPortIndex: int = 0, inChannelIndex: int = 0, inLevel: bool = False ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
ioState | Nodka_State | |||
![]() |
inServerPort | int | None | 1 - 65535 | None | Port of NodkaServer service. |
![]() |
inDeviceConfigPath | str | None | None | Path to nkio_config.ini file with I/O configuration. | |
![]() |
inDeviceLightControllerPort | int | None | 1 - ![]() |
None | COM port used by the light controller (if supported by the device). |
![]() |
inPortIndex | int | 0 - 1 | 0 | Output port number. |
![]() |
inChannelIndex | int | 0 - 7 | 0 | Output port channel. |
![]() |
inLevel | bool | False | Output channel level. |



