How to invoke an error message to be displayed in Axis?
- slowpoke
- Offline
- Elite Member
Less
More
- Posts: 184
- Thank you received: 25
01 Dec 2024 16:07 #315740
by slowpoke
How to invoke an error message to be displayed in Axis? was created by slowpoke
Suppose I have a python script running that will detect some sort of error condition, how can I get it to display a message in axis, much like the typical error messages displayed in the bottom right for example "Can't do G1 without a feedrate"
If I need to do this from HAL, I should be able to get the Python script to activate a HAL pin.
Thanks,
If I need to do this from HAL, I should be able to get the Python script to activate a HAL pin.
Thanks,
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 4077
- Thank you received: 1763
01 Dec 2024 16:16 #315741
by Aciera
Replied by Aciera on topic How to invoke an error message to be displayed in Axis?
Have a look at the 'message' component:
linuxcnc.org/docs/2.9/html/man/man9/message.9.html
linuxcnc.org/docs/2.9/html/man/man9/message.9.html
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7797
- Thank you received: 2080
03 Dec 2024 02:30 #315850
by cmorley
Replied by cmorley on topic How to invoke an error message to be displayed in Axis?
Also see the linuxcnc python module.
linuxcnc.org/docs/devel/html/config/pyth...inuxcnc_command_code
look for:
display_msg(string)
error_msg(string)
linuxcnc.org/docs/devel/html/config/pyth...inuxcnc_command_code
look for:
display_msg(string)
error_msg(string)
The following user(s) said Thank You: slowpoke
Please Log in or Create an account to join the conversation.
Time to create page: 0.064 seconds