mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-10 23:00:03 +02:00
unregistering call back, detangling receiver streaming from callback
This commit is contained in:
parent
75838f77b3
commit
51c5520472
@ -373,8 +373,8 @@ void qDrawPlot::SetupWidgetWindow(){
|
|||||||
|
|
||||||
// callbacks
|
// callbacks
|
||||||
// Setting the callback function to get data from detector class
|
// Setting the callback function to get data from detector class
|
||||||
if (setReceiverOnline() == slsDetectorDefs::ONLINE_FLAG) {
|
if (myDet->setReceiverOnline() == slsDetectorDefs::ONLINE_FLAG) {
|
||||||
enableDataStreamingFromReceiver(1);
|
myDet->enableDataStreamingFromReceiver(1);
|
||||||
}
|
}
|
||||||
myDet->registerDataCallback(&(GetDataCallBack),this); // also enables data streaming in client and receiver (if receiver exists)
|
myDet->registerDataCallback(&(GetDataCallBack),this); // also enables data streaming in client and receiver (if receiver exists)
|
||||||
//Setting the callback function to alert when acquisition finished from detector class
|
//Setting the callback function to alert when acquisition finished from detector class
|
||||||
|
Loading…
x
Reference in New Issue
Block a user