Open message window from G-code

More
24 Jan 2018 15:06 #104938 by aleksamc
There is in G-code function "(MSG, information to say)" that outputs text in down right corner. But this information is hard to see.

Does there any g-code function to output text in new small window at the center of the screen?

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

More
27 Jan 2018 09:52 #105063 by aleksamc
Maybe is it possible to open MSG in onother window or to make that one more biger or in another colors?

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

More
27 Jan 2018 19:18 #105076 by cmorley
The display of MSG is dependent on the chosen screen.
AFAIK none other then Gscreen have any options for display.
Gscreen allows messages using desktop notify or a status line.
Gmoccapy displays messages in a message window that is larger then a status line.
AXIS has no options.

Chris M
The following user(s) said Thank You: aleksamc

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

More
28 Jan 2018 21:37 #105117 by newbynobi
Gmoccapy allows the cration of user messages, that can be displayed in an own popup window. The can be opened through hal pin and that ones can be connected to difgital io and switched from gcode.
The following user(s) said Thank You: aleksamc

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

More
29 Jan 2018 07:49 #105143 by cmorley
I believe he was asking about messages coming from the motion controller and standard gcode messages.
Does Gmoccapy have other options beside the standard pop up Window for these?

If you are talking of user messages Gscreen can do those - but I don't believe with as many options as Gmoccapy.
(specifically switch from Gcode - I don't really know what that is)

and AXIS has no user message system that I know of.

Chris M

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

More
29 Jan 2018 08:45 #105144 by aleksamc
Thanks for your answers. I will Look Gmoccappy more detailed.

As for my question, I asked about some clear operator informating.
For Example I can write in G-code such message
(MSG, Use that tool and rotate had at such degree),
And operator must see this 100% and make all what is needed.

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

More
21 Feb 2018 20:14 #106286 by andypugh
Look at hal_manualtoolchange for one way to do this.

But it might be easier to use a User M-code (M100 - M199) that calls a Python script (I _think_ you can pass parameters to a user M-code)

(I have a feeling that I have done this once, but can't find it)

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

More
22 Feb 2018 00:20 #106305 by cmorley
The big problem when dealing with messages coming from linuxcnc it's self is, only ONE mechanism can be used at a time reliably.
messages are destroyed when read so if you have two components reading them it's a race condition.
A better system would be a component that reads messages and publishes them to any component registered.
For instance GObject messages.
It would be nice to somehow tie that in to HAL component messages too but that would be even harder.

Chris M

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

More
22 Feb 2018 07:25 #106321 by aleksamc
I know, that linuxcnc is opensource, and I can do with it what ever I want, but unfortunataly I'm very bad programmer and hardly will program sotmething.

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

More
22 Feb 2018 07:34 #106322 by nkp
The following user(s) said Thank You: aleksamc

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

Time to create page: 0.140 seconds
Powered by Kunena Forum