mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-23 03:00:41 +02:00
eiger stop sends last frame, software or firmwarebug
This commit is contained in:
parent
08a588bb01
commit
4de8234478
@ -997,19 +997,18 @@ int Feb_Control_StartAcquisition() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int Feb_Control_StopAcquisition() {
|
int Feb_Control_StopAcquisition() {
|
||||||
if (!Feb_Control_Reset()) {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
if (Feb_Control_activated) {
|
if (Feb_Control_activated) {
|
||||||
if (!Feb_Interface_WriteRegister(Feb_Control_AddressToAll(),
|
if (!Feb_Interface_WriteRegister(Feb_Control_AddressToAll(),
|
||||||
DAQ_REG_CTRL, DAQ_CTRL_STOP, 0, 0)) {
|
DAQ_REG_CTRL, 0, 0, 0) ||
|
||||||
LOG(logERROR,
|
!Feb_Interface_WriteRegister(Feb_Control_AddressToAll(),
|
||||||
("Trouble stopping acquisition to send complete frames\n"));
|
DAQ_REG_CTRL, DAQ_CTRL_STOP, 0, 0) ||
|
||||||
|
!Feb_Interface_WriteRegister(Feb_Control_AddressToAll(),
|
||||||
|
DAQ_REG_CTRL, 0, 0, 0)) {
|
||||||
|
LOG(logERROR, ("Could not reset daq, no response.\n"));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
LOG(logINFO, ("Acquisition stop command sent!\n"));
|
return Feb_Control_WaitForFinishedFlag(5000, 0);
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int Feb_Control_SoftwareTrigger() {
|
int Feb_Control_SoftwareTrigger() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user