Questions tagged [qtopcua]

9 questions
1
vote
0 answers

StatusBadDataTypeIDUnknown (0x80110000) - Read Custom Extension Object

I am trying to read custom extension object but read status not ok for this node. Do we need to registers a new extension object type or have mechanism to register all custom extension object at a time of connection establishment to server…
Mayank Tripathi
  • 340
  • 2
  • 16
1
vote
1 answer

How to get QOpcUaNode type attribute for writing in a client

How do I read the QOpcUaNode data type attribute correctly? I would like to do this but am finding this does not work against our server. opcUaNode->writeValueAttribute(variant); I have found this to work but some of my variables are UInt16 and…
simgineer
  • 1,754
  • 2
  • 22
  • 49
1
vote
0 answers

Qt QOpcUaNode writeAttribute : error/client Inactivity for Subscription

I have a problem with Qt, I use QOpcUa with open 6254 to read and write tags on a PLC but sometimes the following error occurs: "error / client Inactivity for Subscription" and my program crash. I have identified the problem and this happens…
Samuel_D
  • 13
  • 3
1
vote
2 answers

Qt OPC-UA - Accessing Trend/Historical Data

I'm using Qt 5.11.1 with Qt OPC Ua and the Open62541 backend to create an OPC Client application. Is it at all possible to make a request for historical data with the Qt OPC UA module? E.g. Get the values for this variable (node) between these two…
user6635665
  • 337
  • 3
  • 15
0
votes
1 answer

Monitoring of QtOpcUa value works only for one node

I have a Qt6 console application that runs on Ubuntu 22.04. The application connects to several OpcUa-enabled PLCs. The goal is to monitor some node values (all of class variable). Please note: I try to show you my code, of course I cannot provide a…
Mark
  • 4,338
  • 7
  • 58
  • 120
0
votes
1 answer

How to properly call methods with no input arguments

The Qt Documentation provides the method bool QOpcUaNode::callMethod(const QString &methodNodeId, const QVector &args = QVector()) for calling methods on the Opc Ua Server. Regarding this Method I have 2…
Arendt
  • 61
  • 7
0
votes
0 answers

AttributeRead never sent by QOpcUaNode, unable to read node but able to write

I am writing a program in Qt and I use the QOpcUaNode class. To this point, I only had to write on the OPC using writeAttribute, and it worked fine (meaning my nodes are set up correctly as far as I can see). Now, I also need to read the info stored…
0
votes
0 answers

Node Opcua / QtOpcUa - Method Calls

I have a Node OPC Server which I connect to with a Qt application using the QtOpcUa client library. On my server I define a method that's basically a crude historic access request as HDA support is not yet available, it takes in a start_date and…
user6635665
  • 337
  • 3
  • 15
0
votes
3 answers

OPC UA support for QT mobile

I was looking into options of OPC UA client for ios and Android. I found out that there are some solutions available natively in android and iOS Does anyone have idea on "QT mobile" in this regard ? Does QT have any inbuilt support for "OPC UA" . I…
Rahul Raj
  • 367
  • 3
  • 17