Nodka_GetVersionInfo
Gets information about the hardware and the firmware of the device.
Syntax
C++
Python
def Nodka_GetVersionInfo( state: Nodka_State, /, *, inServerPort: int | None = None, inDeviceConfigPath: str | None = None, inDeviceLightControllerPort: int | None = None, inDevId: int = 0, inTimeout: int = 100 ) -> ( outHardwareMajorVer: int, outHardwareMinorVer: int, outHardwareRevVer: int, outFirmwareMajorVer: int, outFirmwareMinorVer: int, outFirmwareRevVer: int )
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). |
![]() |
inDevId | int | 0 - 255 | 0 | ID of the device (0x01 for the light controller). |
![]() |
inTimeout | int | 0 - ![]() |
100 | Timeout for the callback function. |
![]() |
outHardwareMajorVer | int | Device hardware major version. | ||
![]() |
outHardwareMinorVer | int | Device hardware minor version. | ||
![]() |
outHardwareRevVer | int | Device hardware revision version. | ||
![]() |
outFirmwareMajorVer | int | Device firmware major version. | ||
![]() |
outFirmwareMinorVer | int | Device firmware minor version. | ||
![]() |
outFirmwareRevVer | int | Device firmware revision version. |




