From 78257dc6188bd08103da3c50da1ff87935017d42 Mon Sep 17 00:00:00 2001 From: smathis Date: Fri, 25 Apr 2025 16:04:45 +0200 Subject: [PATCH] Changed method name to match sinqMotor --- src/seleneLiftAxis.cpp | 6 +++--- src/seleneOffsetAxis.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/seleneLiftAxis.cpp b/src/seleneLiftAxis.cpp index a2adee2..f4abe89 100644 --- a/src/seleneLiftAxis.cpp +++ b/src/seleneLiftAxis.cpp @@ -60,7 +60,7 @@ seleneLiftAxis::seleneLiftAxis(seleneGuideController *pC, int axis1No, for (int i = 0; i < numAxes_; i++) { oAxis = dynamic_cast(pC->getAxis(axisNos[i])); if (oAxis == nullptr) { - asynPrint(pC_->asynUserSelf(), ASYN_TRACE_ERROR, + asynPrint(pC_->pasynUser(), ASYN_TRACE_ERROR, "Controller \"%s\", axis %d => %s, line %d\nFATAL ERROR " "(given axis number %d is not an instance of " "seleneOffsetAxis).\nTerminating IOC.\n", @@ -118,7 +118,7 @@ asynStatus seleneLiftAxis::init() { &motorRecResolution); if (status == asynParamUndefined) { if (now + maxInitTime < time(NULL)) { - asynPrint(pC_->asynUserSelf(), ASYN_TRACE_ERROR, + asynPrint(pC_->pasynUser(), ASYN_TRACE_ERROR, "Controller \"%s\", axis %d => %s, line " "%d\nInitializing the parameter library failed.\n", pC_->portName, axisNo_, __PRETTY_FUNCTION__, @@ -538,7 +538,7 @@ asynStatus seleneLiftAxis::stop(double acceleration) { if (rw_status != asynSuccess) { asynPrint( - pC_->asynUserSelf(), ASYN_TRACE_ERROR, + pC_->pasynUser(), ASYN_TRACE_ERROR, "Controller \"%s\", axis %d => %s, line %d\nStopping the movement " "failed.\n", pC_->portName, axisNo_, __PRETTY_FUNCTION__, __LINE__); diff --git a/src/seleneOffsetAxis.cpp b/src/seleneOffsetAxis.cpp index b2002d7..2a6abad 100644 --- a/src/seleneOffsetAxis.cpp +++ b/src/seleneOffsetAxis.cpp @@ -99,7 +99,7 @@ asynStatus seleneOffsetAxis::init() { &motorRecResolution); if (status == asynParamUndefined) { if (now + maxInitTime < time(NULL)) { - asynPrint(pC_->asynUserSelf(), ASYN_TRACE_ERROR, + asynPrint(pC_->pasynUser(), ASYN_TRACE_ERROR, "Controller \"%s\", axis %d => %s, line " "%d\nInitializing the parameter library failed.\n", pC_->portName, axisNo_, __PRETTY_FUNCTION__,