4.1.1 changes: software trigger via stop server, disentangling rxr streamin from register call back

This commit is contained in:
2020-02-03 11:25:19 +01:00
parent a3c686d271
commit e432e6f90d
3 changed files with 4 additions and 10 deletions

View File

@ -330,9 +330,11 @@ void qDrawPlot::SetDataCallBack(bool enable) {
FILE_LOG(logINFO) << "Setting data call back to " << std::boolalpha << enable << std::noboolalpha;
if (enable) {
isPlot = true;
det->setRxZmqDataStream(true);
det->registerDataCallback(&(GetDataCallBack), this);
} else {
isPlot = false;
det->setRxZmqDataStream(false);
det->registerDataCallback(nullptr, this);
}