PySide6.QtSerialBus¶
- PySide6.QtSerialBus.QCanBus
- PySide6.QtSerialBus.QCanBusDevice
- PySide6.QtSerialBus.QCanBusDeviceInfo
- PySide6.QtSerialBus.QCanBusFactory
- PySide6.QtSerialBus.QCanBusFrame
- PySide6.QtSerialBus.QCanDbcFileParser
- PySide6.QtSerialBus.QCanFrameProcessor
- PySide6.QtSerialBus.QCanMessageDescription
- PySide6.QtSerialBus.QCanSignalDescription
- PySide6.QtSerialBus.QCanUniqueIdDescription
- PySide6.QtSerialBus.QModbusClient
- PySide6.QtSerialBus.QModbusDataUnit
- PySide6.QtSerialBus.QModbusDevice
- PySide6.QtSerialBus.QModbusDeviceIdentification
- PySide6.QtSerialBus.QModbusExceptionResponse
- PySide6.QtSerialBus.QModbusPdu
- PySide6.QtSerialBus.QModbusReply
- PySide6.QtSerialBus.QModbusRequest
- PySide6.QtSerialBus.QModbusResponse
- PySide6.QtSerialBus.QModbusRtuSerialClient
- PySide6.QtSerialBus.QModbusRtuSerialServer
- PySide6.QtSerialBus.QModbusServer
- PySide6.QtSerialBus.QModbusTcpClient
- PySide6.QtSerialBus.QModbusTcpConnectionObserver
- PySide6.QtSerialBus.QModbusTcpServer
- PySide6.QtSerialBus.QtCanBus
Detailed Description¶
The Qt Serial Bus API provides classes and functions to access the various industrial serial buses and protocols, such as CAN, ModBus, and others.
Getting Started¶
To include the definitions of modules classes, use the following directive:
import PySide6.QtSerialBus
Supported Buses and Protocols¶
Qt CAN Bus
Qt Modbus
Logging Categories¶
The QtSerialBus module exports the following logging categories:
Logging Category |
Description |
---|---|
qt.canbus |
Enables standard logging inside the Qt CAN Bus classes |
qt.canbus.plugins |
Enables low level logging inside the Qt CAN Bus plugin classes. To set logging for a specific plugin, use |
qt.modbus |
Enables standard logging inside the Qt Modbus classes |
qt.modbus.lowlevel |
Enables low level logging including individual packet content inside the Qt Modbus classes |
Logging categories can be used to enable additional warning and debug output for QtSerialBus.
A quick way to enable all Qt Modbus logging is to add the following line:
QLoggingCategory.setFilterRules("qt.modbus* = true")
List of Classes¶
C |
|||
F |
|||
M |
|||
P |
|||
Q |
|||
T |