void TrendDataCollector::updateCurve() { qDebug() << "Update of " << this->mAttributeName << " with "; Tango::DeviceAttribute attr; if (this->mAttribute != nullptr) { attr=this->mAttribute->read(); Tango::TimeVal tv; tv = attr.get_date(); double data, t; int ty = attr.get_type(); if (ty == Tango::DEV_DOUBLE || ty == Tango::DEV_FLOAT) { attr >> data; }