Error on "echo tools"
-
RRF 3.5.0 beta 3
I'm working on a macro and I typed this command while looking at the object model
echo tools
I got this error message back:
The state of the machine is that I've just powered it up and no tool has been selected. After I select a tool, I get the same error message.
I've tried a few other array objects and get similar error messages.
I exepected to get an array of the indices of the object.
-
@mikeabuilder SBC mode or standalone?
-
SBC, and MB6HC
-
@mikeabuilder thanks, one for @chrishamm to look at.
-
@mikeabuilder Depending on what your trying to do you could try doing something like.
echo #tools
to get the count and then iterate through that if.
-
@mikeabuilder I'll take a look at this on Wednesday. Use M409 to query object model JSON data, echo should be used only for atomic values or lengths (like
echo #tools
to get the count of tool items). -
@mikeabuilder thanks, bug confirmed and logged at https://github.com/Duet3D/RepRapFirmware/issues/804.