Improved the error message when the MCU response is printed and the IOC
shell constructor documentation.
This commit is contained in:
@ -569,9 +569,9 @@ types and then providing "factory" functions
|
|||||||
(configCreateControllerCallFunc). These factory functions are used to
|
(configCreateControllerCallFunc). These factory functions are used to
|
||||||
register the constructors during compilation.
|
register the constructors during compilation.
|
||||||
*/
|
*/
|
||||||
static const iocshArg CreateControllerArg0 = {"Controller port name",
|
static const iocshArg CreateControllerArg0 = {"Controller name (e.g. mcu1)",
|
||||||
iocshArgString};
|
iocshArgString};
|
||||||
static const iocshArg CreateControllerArg1 = {"Low level port name",
|
static const iocshArg CreateControllerArg1 = {"Asyn IP port name (e.g. pmcu1)",
|
||||||
iocshArgString};
|
iocshArgString};
|
||||||
static const iocshArg CreateControllerArg2 = {"Number of axes", iocshArgInt};
|
static const iocshArg CreateControllerArg2 = {"Number of axes", iocshArgInt};
|
||||||
static const iocshArg CreateControllerArg3 = {"Moving poll rate (s)",
|
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
|
Same procedure as for the CreateController function, but for the axis
|
||||||
itself.
|
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 CreateAxisArg1 = {"Axis number", iocshArgInt};
|
||||||
static const iocshArg *const CreateAxisArgs[] = {&CreateAxisArg0,
|
static const iocshArg *const CreateAxisArgs[] = {&CreateAxisArg0,
|
||||||
&CreateAxisArg1};
|
&CreateAxisArg1};
|
||||||
|
Reference in New Issue
Block a user