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"));
|
LOG(logINFO, ("Virtual Acquisition started\n"));
|
||||||
return OK;
|
return OK;
|
||||||
#else
|
#else
|
||||||
LOG(logINFOBLUE, ("Starting State Machine\n"));
|
LOG(logINFO, ("Acquisition started bit toggled\n"));
|
||||||
int ret = OK, prev_flag;
|
int ret = OK, prev_flag;
|
||||||
// get the DAQ toggle bit
|
// get the DAQ toggle bit
|
||||||
prev_flag = Feb_Control_AcquisitionStartedBit();
|
prev_flag = Feb_Control_AcquisitionStartedBit();
|
||||||
|
|
||||||
LOG(logINFO, ("Going to start acquisition\n"));
|
LOG(logINFOBLUE, ("Starting State Machine\n"));
|
||||||
Feb_Control_StartAcquisition();
|
Feb_Control_StartAcquisition();
|
||||||
|
|
||||||
LOG(logINFO, ("requesting images right after start\n"));
|
LOG(logINFO, ("requesting images right after start\n"));
|
||||||
|
@ -1773,6 +1773,9 @@ int start_state_machine(int blocking, int file_des) {
|
|||||||
sharedMemory_setScanStatus(0);
|
sharedMemory_setScanStatus(0);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#ifdef EIGERD
|
||||||
|
prepareAcquisition();
|
||||||
|
#endif
|
||||||
ret = startStateMachine();
|
ret = startStateMachine();
|
||||||
LOG(logDEBUG2, ("Starting Acquisition ret: %d\n", ret));
|
LOG(logDEBUG2, ("Starting Acquisition ret: %d\n", ret));
|
||||||
if (ret == FAIL) {
|
if (ret == FAIL) {
|
||||||
|
@ -525,9 +525,9 @@ void Detector::startReceiver() { pimpl->Parallel(&Module::startReceiver, {}); }
|
|||||||
void Detector::stopReceiver() { pimpl->Parallel(&Module::stopReceiver, {}); }
|
void Detector::stopReceiver() { pimpl->Parallel(&Module::stopReceiver, {}); }
|
||||||
|
|
||||||
void Detector::startDetector() {
|
void Detector::startDetector() {
|
||||||
if (getDetectorType().squash() == defs::EIGER) {
|
/*if (getDetectorType().squash() == defs::EIGER) {
|
||||||
pimpl->Parallel(&Module::prepareAcquisition, {});
|
pimpl->Parallel(&Module::prepareAcquisition, {});
|
||||||
}
|
}*/
|
||||||
pimpl->Parallel(&Module::startAcquisition, {});
|
pimpl->Parallel(&Module::startAcquisition, {});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user