msg and parameters

More
3 years 11 months ago #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 to join the conversation.

More
3 years 11 months ago #257172 by roland
Replied by roland on topic msg and parameters
try 
Code:
(debug,Probing result: #5061, #5062, #5063)

linuxcnc.org/docs/html/gcode/overview.html#gcode:debug

Please Log in to join the conversation.

More
3 years 11 months ago #257173 by Carsten
Replied by Carsten on topic msg and parameters
Works,

thanks

Please Log in to join the conversation.

More
3 years 11 months ago #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 to join the conversation.

More
3 years 11 months ago #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.
Code:
#!/usr/bin/env python3 import tkinter from tkinter import messagebox ret = messagebox._show("Heading", "Your Message Here", messagebox.QUESTION, messagebox.YESNOCANCEL)

Please Log in to join the conversation.

Time to create page: 0.091 seconds
Powered by Kunena Forum