HAL notify Pin
- Sakhalin_Cat
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 22
- Thank you received: 7
07 Sep 2024 05:50 #309538
by Sakhalin_Cat
HAL notify Pin was created by Sakhalin_Cat
Hello.
Please tell me how to implement the output of messages in the LCNC when a signal is sent to a certain pin HAL.
I need to output messages about device and signal malfunctions when the PIN is set to TRUE. For example, I send a signal to the PIN DIN0 and the message "fan on" is displayed, I send a signal to the PIN DIN1 and the message "Pump on" is displayed.
I would like to see these messages in the standard place for outputting LCNC error messages.
Thank you for your attention and help.
Please tell me how to implement the output of messages in the LCNC when a signal is sent to a certain pin HAL.
I need to output messages about device and signal malfunctions when the PIN is set to TRUE. For example, I send a signal to the PIN DIN0 and the message "fan on" is displayed, I send a signal to the PIN DIN1 and the message "Pump on" is displayed.
I would like to see these messages in the standard place for outputting LCNC error messages.
Thank you for your attention and help.
Please Log in or Create an account to join the conversation.
07 Sep 2024 06:04 #309539
by Aciera
Replied by Aciera on topic HAL notify Pin
Have a look at the 'message' component:
linuxcnc.org/docs/stable/html/man/man9/message.9.html
linuxcnc.org/docs/stable/html/man/man9/message.9.html
Please Log in or Create an account to join the conversation.
Time to create page: 0.059 seconds