can meta-expression be used in multi-value parameters?
-
This isn't working for me:
M106 P4 H2 T{heat.heaters[heat.chamberHeaters[0]].active}:88
If I execute that (in either console or from within a macro) it sets both highTemperature and lowTemperature to the same value - whatever my chamber temperature set point is. So it has managed the nested object model values, and is failing on the number! The '88' (or any other number I substitute) is ignored.
Is it that you can't use object-model expressions in parameters with multiple values?
Also, it breaks the object model browser - after the above the object model brower plugin only shows me one fan, though browsing to http://<ip address>/machine/status shows me all five still.
This doesn't work either (neither value changes when I look in the object model) (again, for any number I've tried in place of 3)
M106 P4 H2 T3:{heat.heaters[heat.chamberHeaters[0]].active}
M106 P4 H2 T3:88
works fine.It's a Duet 3 MB6HC
DSF Version: 3.3.0
Firmware: RepRapFirmware for Duet 3 MB6HC 3.3 (2021-06-15)
Attached RPi 4