Qt::opcua Rpi
Solved
General and Desktop
-
I wrote small program to display opcua items value on gauge. When I run my program on windows program generate warning as below, but it work.
qt.opcua.plugins.open62541.sdk.client: "Received a ServiceFault response" qt.opcua.plugins.open62541.sdk.client: "The ServiceResult has the StatusCode BadTooManyPublishRequests" qt.opcua.plugins.open62541.sdk.client: "Too many publishrequest, reduce outStandingPublishRequests to 3"
When i try run my program on RPI. This program generate warnings (decrement only to 5) and disconnect from server. Log from Rpi:
qt.opcua.plugins.open62541.sdk.client: "Received a ServiceFault response" qt.opcua.plugins.open62541.sdk.client: "The ServiceResult has the StatusCode BadTooManyPublishRequests" qt.opcua.plugins.open62541.sdk.client: "Too many publishrequest, reduce outStandingPublishRequests to 5" qt.opcua.plugins.open62541.sdk.client: "Received a ServiceFault response" qt.opcua.plugins.open62541.sdk.client: "The ServiceResult has the StatusCode BadSessionClosed" qt.opcua.plugins.open62541.sdk.client: "Received Publish Response with code BadSessionClosed"
Al source code my program on GitHub: https://github.com/mateczek/opcuaTestGauge
Presentation of the program's work and the warnings : https://youtu.be/ilIMhMplKds
Console log from RPI run test: https://github.com/mateczek/opcuaTestGauge/blob/main/log.rpi.txtIn my program I monitor opcuaNode as below
//from file nd_machine.cpp.... //monitor node enable nodePrecentFill->enableMonitoring(QOpcUa::NodeAttribute::Value,QOpcUaMonitoringParameters()); //cath opcuaNode value change connect(nodePrecentFill,SIGNAL(dataChangeOccurred(QOpcUa::NodeAttribute,QVariant )),this,SLOT(opcDataUpdateVall(QOpcUa::NodeAttribute,QVariant)));
Pss. I native build Qt 6.1.2 directly on RPI
Thank you in advance for all suggestions