Is there a method to retrieve the user-defined label of a motor based on its index number?
something like getMotorLabel(motor[0]); ?
I don’t think that’s possible, the motor label is a bit like a #define macro, once the code is compiled it has been turned into a number, what’s the application? There may be other ways to achieve this with a little extra code.