Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-139587

OpcUaViewer Qt example project issue in MainWindow::showHistorizing().

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.9.1
    • OpcUA
    • Linux/X11

      the OpcUaViewer Qt example project. In mainwindow.cpp, within the method MainWindow::showHistorizing() (starting at line 447), a QOpcUaHistoryReadRawRequest is created.

      The startTimestamp argument is set to a later date than the endTimestamp (by 2 days), which leads to unpredictable responses from the server.

      void MainWindow::showHistorizing()
      {
          ....
          auto request = QOpcUaHistoryReadRawRequest(
                      {QOpcUaReadItem(nodeId)},
                      QDateTime::currentDateTime(),
                      QDateTime::currentDateTime().addDays(-2),
                      5,
                      false
                      ); 
          .....
      }

        For Gerrit Dashboard: QTBUG-139587
        # Subject Branch Project Status CR V

            basyskom.jannis.voelker Jannis Völker
            mahdi.belila Mehdi Belila
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes