removing send complete frames fromstop acquisition

This commit is contained in:
maliakal_d 2021-06-16 10:25:49 +02:00
parent 47d6ed053c
commit ceeb4400a0
3 changed files with 3 additions and 3 deletions

View File

@ -999,7 +999,7 @@ 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 "
@ -1011,7 +1011,7 @@ int Feb_Control_StopAcquisition() {
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;
} }*/
// stop acquisition // stop acquisition
return Feb_Control_Reset(); return Feb_Control_Reset();
} }

View File

@ -9,4 +9,4 @@
#define APIGUI 0x210225 #define APIGUI 0x210225
#define APIMYTHEN3 0x210609 #define APIMYTHEN3 0x210609
#define APIGOTTHARD 0x210615 #define APIGOTTHARD 0x210615
#define APIEIGER 0x210615 #define APIEIGER 0x210616