mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-26 08:10:02 +02:00
modified users client to work without config and better print out
This commit is contained in:
parent
447451231c
commit
4749e8c4e4
@ -64,7 +64,10 @@ int main(int argc, char **argv) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** - set detector in shared memory online (in case no config file was used) */
|
/** - set detector in shared memory online (in case no config file was used) */
|
||||||
pDetector->setOnline(slsDetectorDefs::ONLINE_FLAG);
|
pDetector->setOnline(1);
|
||||||
|
|
||||||
|
/** - set receiver in shared memory online (in case no config file was used) */
|
||||||
|
pDetector->setReceiverOnline(1);
|
||||||
|
|
||||||
/** - registering data callback */
|
/** - registering data callback */
|
||||||
pDetector->registerDataCallback(&dataCallback, NULL);
|
pDetector->registerDataCallback(&dataCallback, NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user