From dc70b560f7ab5c5d0c6cb63b507849c977132359 Mon Sep 17 00:00:00 2001 From: smathis Date: Wed, 27 Nov 2024 15:37:53 +0100 Subject: [PATCH] Improved the error message when the MCU response is printed and the IOC shell constructor documentation. --- src/pmacv3Controller.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pmacv3Controller.cpp b/src/pmacv3Controller.cpp index c13648b..fd9c196 100644 --- a/src/pmacv3Controller.cpp +++ b/src/pmacv3Controller.cpp @@ -569,9 +569,9 @@ types and then providing "factory" functions (configCreateControllerCallFunc). These factory functions are used to register the constructors during compilation. */ -static const iocshArg CreateControllerArg0 = {"Controller port name", +static const iocshArg CreateControllerArg0 = {"Controller name (e.g. mcu1)", iocshArgString}; -static const iocshArg CreateControllerArg1 = {"Low level port name", +static const iocshArg CreateControllerArg1 = {"Asyn IP port name (e.g. pmcu1)", iocshArgString}; static const iocshArg CreateControllerArg2 = {"Number of axes", iocshArgInt}; static const iocshArg CreateControllerArg3 = {"Moving poll rate (s)", @@ -594,7 +594,8 @@ static void configPmacV3CreateControllerCallFunc(const iocshArgBuf *args) { Same procedure as for the CreateController function, but for the axis itself. */ -static const iocshArg CreateAxisArg0 = {"Controller port name", iocshArgString}; +static const iocshArg CreateAxisArg0 = {"Controller name (e.g. mcu1)", + iocshArgString}; static const iocshArg CreateAxisArg1 = {"Axis number", iocshArgInt}; static const iocshArg *const CreateAxisArgs[] = {&CreateAxisArg0, &CreateAxisArg1};