mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 15:20:02 +02:00
gotthard server: red in stopping server for debugging
This commit is contained in:
parent
f67323d1cc
commit
74f327a959
@ -1537,12 +1537,8 @@ int startStateMachine(){
|
||||
int stopStateMachine(){
|
||||
|
||||
//#ifdef VERBOSE
|
||||
printf("*******Stopping State Machine*******\n");
|
||||
cprintf(BG_RED,"*******Stopping State Machine*******\n");
|
||||
//#endif
|
||||
#ifdef SHAREDMEMORY
|
||||
write_stop_sm(1);
|
||||
write_status_sm("Stopped");
|
||||
#endif
|
||||
bus_w16(CONTROL_REG, STOP_ACQ_BIT);
|
||||
bus_w16(CONTROL_REG, 0x0);
|
||||
usleep(500);
|
||||
|
Binary file not shown.
BIN
slsDetectorSoftware/gotthardDetectorServer/gotthardDetectorServerv3.0.1.4
Executable file
BIN
slsDetectorSoftware/gotthardDetectorServer/gotthardDetectorServerv3.0.1.4
Executable file
Binary file not shown.
@ -1725,12 +1725,10 @@ int stop_acquisition(int file_des) {
|
||||
int ret=OK;
|
||||
int n;
|
||||
|
||||
|
||||
sprintf(mess,"can't stop acquisition\n");
|
||||
|
||||
#ifdef VERBOSE
|
||||
printf("Stopping acquisition\n");
|
||||
#endif
|
||||
cprintf(BG_RED,"Client command received to stop acquisition\n");
|
||||
|
||||
|
||||
|
||||
if (differentClients==1 && lockStatus==1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user