- Posts: 224
- Thank you received: 0
How to invoke an error message to be displayed in Axis?
1 year 10 months ago #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 to join the conversation.
1 year 10 months ago #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 to join the conversation.
1 year 10 months ago #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)
Please Log in to join the conversation.
Time to create page: 0.178 seconds
