-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.9.1
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 |
| 683092,2 | OpcUa viewer example: Fix history timespan | dev | qt/qtopcua | Status: ABANDONED | 0 | 0 |