mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-04 11:38:43 +01:00
ctb gui progress call back fix
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -12,6 +12,10 @@ build
|
|||||||
RELEASE.txt
|
RELEASE.txt
|
||||||
Testing/
|
Testing/
|
||||||
|
|
||||||
|
ctbDict.cpp
|
||||||
|
ctbDict.h
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
*.pyc
|
*.pyc
|
||||||
*/__pycache__/*
|
*/__pycache__/*
|
||||||
|
|||||||
@@ -597,12 +597,12 @@ hframe=new TGHorizontalFrame(this, 800,50);
|
|||||||
acqThread = new TThread("acqThread",
|
acqThread = new TThread("acqThread",
|
||||||
ctbAcquisition::ThreadHandle,(void*)this);
|
ctbAcquisition::ThreadHandle,(void*)this);
|
||||||
// acqThread->Run();
|
// acqThread->Run();
|
||||||
cout <<"Registering progress callback" << endl;
|
// cout <<"Registering progress callback" << endl;
|
||||||
try {
|
// try {
|
||||||
myDet->registerProgressCallback(&progressCallback,(void*)this);
|
// myDet->registerProgressCallback(&progressCallback,(void*)this);
|
||||||
} catch (...) {
|
// } catch (...) {
|
||||||
cout << "Do nothing for this error" << endl;
|
// cout << "Do nothing for this error" << endl;
|
||||||
}
|
// }
|
||||||
|
|
||||||
cout <<"Registering data callback" << endl;
|
cout <<"Registering data callback" << endl;
|
||||||
try{
|
try{
|
||||||
|
|||||||
Reference in New Issue
Block a user