Two rows in predefined commands
Good Morning,
during setup und calibration I´m using intensively the console of the TouchUI of my printer running klipper. I need the command results klipper sends, so I work with the console and predefined commands (console/Send predefined/Select command). As I have a lot of predefined commands the list is long (as long as it could not displayed at once on my 1024 x 600 Touchscreen). I have at the moment 22 commands defined. The problem now is if I scroll through that list I have to touch one item at the end of the list and drag it upwards to see the items which reside at the end of the list. During that it often happens that the item I use to drag is selected and the corresponding command is executed, which is not as desired.
Long description short question:
Is it possible (e.g. in an upcoming version of RS) to get two rows of commands in the console, so that more commands can be seen at the same time? Or can U implement a scroll bar at the side. Would really be an improvement for peoble with a lot of predefined commands.
In the other menu (Printer Commands) all the predefineds are easy accessible, but this window does not show the ACKs.
Regards
Stefan
Comments
BTW: You say you need klipper responses. You are aware that you can add a watcher for a period to watch responses for a regular expression and than call a function to continue and extract the information? Might make automation easier perhaps. This was added to make wizards easily defineable in gcode. Especially with this command send before you send the gcode where you expect some responses:
@monitorCall Name "Expression" timeoutMS hitFunction missFunction
Defines a regular expression with
Expression
that when matched with a firmware response will call the functionhitFunction
. If the expression contained groups, these groups appear as parameter to the matchFunction in that order. Server will look fortimeoutMS
milliseconds for a match and if not matched by than will callmissFunction
. After a match or timeout the test gets automatically removed.Name
is used to delete a monitor manually with@deleteMonitorCall
. Multiple calls can share the same name, but then one delete on the name will delete all of them.https://www.repetier-server.com/dialog-tutorial/
For monitor there is no sample. But it quite easy it just uses PCRE2 regular expressions. Use
https://regex101.com
to test your expression. Make groups match values you want to extract. You see hits as well in regex101. These become parameter to the hit function. Miss function is called when the pattern was not found in the given time so you can assume something is wrong and trigger action.