msg and parameters

More
20 Nov 2022 19:10 #257171 by Carsten
msg and parameters was created by Carsten
Hi,
i can print parameters, e.g.
(print, Probing result: #5061, #5062, #5063).
Can this also be done with "msg"?

(msg, Probing result: #5061, #5062, #5063)
does not work.

Regards
Carsten

Please Log in or Create an account to join the conversation.

More
20 Nov 2022 19:30 - 20 Nov 2022 19:34 #257172 by roland
Replied by roland on topic msg and parameters
try 
(debug,Probing result: #5061, #5062, #5063)

linuxcnc.org/docs/html/gcode/overview.html#gcode:debug
Last edit: 20 Nov 2022 19:34 by roland.

Please Log in or Create an account to join the conversation.

More
20 Nov 2022 19:49 #257173 by Carsten
Replied by Carsten on topic msg and parameters
Works,

thanks

Please Log in or Create an account to join the conversation.

More
21 Nov 2022 21:07 #257259 by Carsten
Replied by Carsten on topic msg and parameters
Does'nt fit in the G Code category but similar topic:

Are there any means to send a message/debug from an M100 script,
e.g.

#!/bin/bash

/usr/bin/linuxcnc_msg "Switch ..."
halcmd sets switch_...
exit 0

Please Log in or Create an account to join the conversation.

More
22 Nov 2022 23:30 #257400 by andypugh
Replied by andypugh on topic msg and parameters
One way is for your M100 to be a Python script rather than bash.
#!/usr/bin/env python3

import tkinter
from tkinter import messagebox

ret = messagebox._show("Heading",
                       "Your Message Here",
                       messagebox.QUESTION,
                       messagebox.YESNOCANCEL)

Please Log in or Create an account to join the conversation.

Time to create page: 0.149 seconds
Powered by Kunena Forum