Added error reset function.
This commit is contained in:
@@ -300,7 +300,7 @@ asynStatus turboPmacController::writeRead(int axisNo, const char *command,
|
||||
stringifyAsynStatus(status), msgPrintControl_.getSuffix());
|
||||
}
|
||||
} else {
|
||||
msgPrintControl_.resetCount(writeKey);
|
||||
msgPrintControl_.resetCount(writeKey, pasynUserSelf);
|
||||
}
|
||||
|
||||
// Read the response from the MCU buffer
|
||||
@@ -351,7 +351,7 @@ asynStatus turboPmacController::writeRead(int axisNo, const char *command,
|
||||
stringifyAsynStatus(status), msgPrintControl_.getSuffix());
|
||||
}
|
||||
} else {
|
||||
msgPrintControl_.resetCount(readKey);
|
||||
msgPrintControl_.resetCount(readKey, pasynUserSelf);
|
||||
}
|
||||
|
||||
if (timeoutStatus == asynError) {
|
||||
@@ -377,7 +377,7 @@ asynStatus turboPmacController::writeRead(int axisNo, const char *command,
|
||||
eomReason, msgPrintControl_.getSuffix());
|
||||
}
|
||||
} else {
|
||||
msgPrintControl_.resetCount(terminateKey);
|
||||
msgPrintControl_.resetCount(terminateKey, pasynUserSelf);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -412,7 +412,7 @@ asynStatus turboPmacController::writeRead(int axisNo, const char *command,
|
||||
modResponse, command);
|
||||
status = asynError;
|
||||
} else {
|
||||
msgPrintControl_.resetCount(numResponsesKey);
|
||||
msgPrintControl_.resetCount(numResponsesKey, pasynUserSelf);
|
||||
}
|
||||
|
||||
// Create custom error messages for different failure modes, if no error
|
||||
|
||||
Reference in New Issue
Block a user