QVariant QModbusDevice:: connectionParameter( int parameter) const This function calls open() as part of its implementation. Final connection success confirmation requires the state() changing to QModbusDevice::ConnectedState. Returns true if the connection process was successfully initiated otherwise false. bool QModbusDevice:: connectDevice()Ĭonnects the device to the Modbus network. The implementation must ensure that the instance's state() is set to QModbusDevice::UnconnectedState. This function is responsible for closing the Modbus connection. QModbusDevice:: ~QModbusDevice()ĭestroys the QModbusDevice instance void QModbusDevice:: close() Member Function Documentation QModbusDevice:: QModbusDevice( QObject * parent = nullptr)Ĭonstructs a Modbus device with the specified parent.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |