mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 05:17:13 +02:00
WIP, eiger
This commit is contained in:
Binary file not shown.
@ -2008,12 +2008,12 @@ int startStateMachine() {
|
||||
LOG(logINFO, ("Virtual Acquisition started\n"));
|
||||
return OK;
|
||||
#else
|
||||
LOG(logINFOBLUE, ("Starting State Machine\n"));
|
||||
LOG(logINFO, ("Acquisition started bit toggled\n"));
|
||||
int ret = OK, prev_flag;
|
||||
// get the DAQ toggle bit
|
||||
prev_flag = Feb_Control_AcquisitionStartedBit();
|
||||
|
||||
LOG(logINFO, ("Going to start acquisition\n"));
|
||||
LOG(logINFOBLUE, ("Starting State Machine\n"));
|
||||
Feb_Control_StartAcquisition();
|
||||
|
||||
LOG(logINFO, ("requesting images right after start\n"));
|
||||
|
@ -1773,6 +1773,9 @@ int start_state_machine(int blocking, int file_des) {
|
||||
sharedMemory_setScanStatus(0);
|
||||
break;
|
||||
}
|
||||
#ifdef EIGERD
|
||||
prepareAcquisition();
|
||||
#endif
|
||||
ret = startStateMachine();
|
||||
LOG(logDEBUG2, ("Starting Acquisition ret: %d\n", ret));
|
||||
if (ret == FAIL) {
|
||||
|
@ -525,9 +525,9 @@ void Detector::startReceiver() { pimpl->Parallel(&Module::startReceiver, {}); }
|
||||
void Detector::stopReceiver() { pimpl->Parallel(&Module::stopReceiver, {}); }
|
||||
|
||||
void Detector::startDetector() {
|
||||
if (getDetectorType().squash() == defs::EIGER) {
|
||||
/*if (getDetectorType().squash() == defs::EIGER) {
|
||||
pimpl->Parallel(&Module::prepareAcquisition, {});
|
||||
}
|
||||
}*/
|
||||
pimpl->Parallel(&Module::startAcquisition, {});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user