mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-29 17:40:01 +02:00
wip
This commit is contained in:
parent
74903314ce
commit
370fe4628a
@ -999,16 +999,16 @@ int Feb_Control_StartAcquisition() {
|
|||||||
int Feb_Control_StopAcquisition() {
|
int Feb_Control_StopAcquisition() {
|
||||||
if (Feb_Control_activated) {
|
if (Feb_Control_activated) {
|
||||||
// sends last
|
// sends last
|
||||||
/*unsigned int orig_value = 0;
|
unsigned int orig_value = 0;
|
||||||
if (!Feb_Interface_ReadRegister(Feb_Control_AddressToAll(),
|
if (!Feb_Interface_ReadRegister(Feb_Control_AddressToAll(),
|
||||||
DAQ_REG_CTRL, &orig_value)) {
|
DAQ_REG_CTRL, &orig_value)) {
|
||||||
LOG(logERROR, ("Could not read DAQ_REG_CHIP_CMDS to send software "
|
LOG(logERROR, ("Could not read DAQ_REG_CHIP_CMDS to send software "
|
||||||
"trigger\n"));
|
"trigger\n"));
|
||||||
return 0;
|
return 0;
|
||||||
}*/
|
}
|
||||||
if (!Feb_Interface_WriteRegister(
|
if (!Feb_Interface_WriteRegister(Feb_Control_AddressToAll(),
|
||||||
Feb_Control_AddressToAll(), DAQ_REG_CTRL, DAQ_CTRL_STOP, 0,
|
DAQ_REG_CTRL,
|
||||||
0)) { // orig_value | DAQ_CTRL_STOP, 0, 0)) {
|
orig_value | DAQ_CTRL_STOP, 0, 0)) {
|
||||||
LOG(logERROR, ("Could not send last frames.\n"));
|
LOG(logERROR, ("Could not send last frames.\n"));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user