Fixed the value reading bug in devScalerEL737 (wrong function signature)
Nihkil added mor error codes to devScalerEL737
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user