error: meta command expected an expression
-
I came across this thread reference: https://forum.duet3d.com/topic/26277/how-to-allow-user-to-reset-password/6?_=1640581081938
Tried to use it to set fan frequency as per fan replaced.
I'm writing following logic to set fan frequency from console.
wff.g
M950 F0 C"out7" Q{param.S}
echo ><fanconfg.g> "M950 Q""" ^ param.S ^ """"and in console I try to run as follows:
M98 P"wff.g" S3000When I run, the logic saves value, but I receive error" ".
any suggestions, what is the syntax error ?
-
@dp_23 said in error: meta command expected an expression:
Your echo command is wrong. If I understand correctly what you are trying to do then it should be:
echo >"fanconfg.g" "M950 Q" ^ param.S
-
@dc42 it still I receive the error.
-
This works on Duet 2 stand alone.
echo >"fanconfg.g" "M950 Q" ^ {param.S}
-
@dp_23 which firmware version are you using?
-
@owend its not working ...still gives me same error
-
@dc42 firmware version : 3.3 beta 3
-
@dp_23 update your firmware to at least 3.3 stable