Renamed MOTOR_MESSAGE_TEXT to MOTOR_ERROR_MESSAGE
Test And Build / Lint (push) Successful in 6s
Test And Build / Build (push) Successful in 5s

This commit is contained in:
2026-06-08 13:41:22 +02:00
parent 28875dec25
commit f14fa47a92
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -109,11 +109,11 @@ record(ao,"$(INSTR)$(M):RecResolution") {
# This record contains messages from the driver (usually error messages).
# The macro ERRORMSGSIZE can be used to set the maximum length of the message.
# if not provided, a default value of 200 is used.
# This record is coupled to the parameter library via motorErrorMessage -> MOTOR_MESSAGE_TEXT.
# This record is coupled to the parameter library via motorErrorMessage -> MOTOR_ERROR_MESSAGE.
record(waveform, "$(INSTR)$(M):ErrorMessage") {
alias("$(INSTR)$(M)-MsgTxt") # Old PV name, aliased for backwards compatibility
field(DTYP, "asynOctetRead")
field(INP, "@asyn($(CONTROLLER),$(AXIS),1) MOTOR_MESSAGE_TEXT")
field(INP, "@asyn($(CONTROLLER),$(AXIS),1) MOTOR_ERROR_MESSAGE")
field(FTVL, "CHAR")
field(NELM, "$(ERRORMSGSIZE=200)") # Should be the same as MAXBUF in the driver code
field(SCAN, "I/O Intr")
+2 -2
View File
@@ -176,10 +176,10 @@ sinqController::sinqController(const char *portName,
// =========================================================================;
// MOTOR_MESSAGE_TEXT corresponds to the PV definition inside sinqMotor.db.
// MOTOR_ERROR_MESSAGE corresponds to the PV definition inside sinqMotor.db.
// This text is used to forward status messages to NICOS and in turn to the
// user.
status = createParam("MOTOR_MESSAGE_TEXT", asynParamOctet,
status = createParam("MOTOR_ERROR_MESSAGE", asynParamOctet,
&pSinqC_->motorErrorMessage);
if (status != asynSuccess) {
asynPrint(this->pasynUserSelf, ASYN_TRACE_ERROR,
+1 -1
View File
@@ -24,7 +24,7 @@ Stefan Mathis, November 2024
#include <memory>
#define motorMessageIsFromDriverString "MOTOR_MESSAGE_DRIVER"
#define motorMessageTextString "MOTOR_MESSAGE_TEXT"
#define motorMessageTextString "MOTOR_ERROR_MESSAGE"
#define IncrementalEncoder "incremental"
#define AbsoluteEncoder "absolute"
#define NoEncoder "none"