mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 13:27:14 +02:00
gui bug fix: setting streaming timer should also set streaming freq to 0
This commit is contained in:
@ -685,6 +685,9 @@ void qTabPlot::SetStreamingFrequency() {
|
|||||||
LOG(logINFO) << "Setting Streaming Frequency to " << freqVal;
|
LOG(logINFO) << "Setting Streaming Frequency to " << freqVal;
|
||||||
det->setRxZmqFrequency(freqVal);
|
det->setRxZmqFrequency(freqVal);
|
||||||
} else {
|
} else {
|
||||||
|
LOG(logINFO) << "Setting Streaming Frequency to " << 0
|
||||||
|
<< " (timer)";
|
||||||
|
det->setRxZmqFrequency(0);
|
||||||
LOG(logINFO) << "Setting Streaming Timer to " << timeVal << " "
|
LOG(logINFO) << "Setting Streaming Timer to " << timeVal << " "
|
||||||
<< qDefs::getUnitString(timeUnit);
|
<< qDefs::getUnitString(timeUnit);
|
||||||
auto timeMS = qDefs::getMSTime(std::make_pair(timeVal, timeUnit));
|
auto timeMS = qDefs::getMSTime(std::make_pair(timeVal, timeUnit));
|
||||||
|
Reference in New Issue
Block a user