From 83a995a16de8850207274f46c300cb53067d9df8 Mon Sep 17 00:00:00 2001 From: koennecke Date: Mon, 21 Aug 2017 14:40:43 +0200 Subject: [PATCH] Fixed the value reading bug in devScalerEL737 (wrong function signature) Nihkil added mor error codes to devScalerEL737 --- sinqEPICSApp/src/devScalerEL737.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sinqEPICSApp/src/devScalerEL737.c b/sinqEPICSApp/src/devScalerEL737.c index ca78a58..2ac4395 100644 --- a/sinqEPICSApp/src/devScalerEL737.c +++ b/sinqEPICSApp/src/devScalerEL737.c @@ -339,6 +339,12 @@ static asynStatus el737_transactCommand(EL737priv *priv,char command[COMLEN],cha strncpy(message,"Parameter missing",sizeof(message)); } else if(strstr(reply,"?6") != NULL){ strncpy(message,"to many counts",sizeof(message)); + } else if(strstr(reply,"?91") != NULL){ + strncpy(message,"Start Failure",sizeof(message)); + } else if(strstr(reply,"?92") != NULL){ + strncpy(message,"Failure while counting",sizeof(message)); + } else if(strstr(reply,"?93") != NULL){ + strncpy(message,"Read Failure",sizeof(message)); } else { if(strstr(reply,"?") != NULL) { snprintf(message,sizeof(message),"HW error: %s", reply);