Python Component issueing errors or warnings to LinuxCNC

More
5 years 6 months ago #207377 by cmorley
We should create a NML message command for this purpose that can be send from python's linuxcnc module. I wonder how hard that would be.

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

More
5 years 6 months ago #207452 by Roiki
Afaik it already exists, it's just not included in the python module.

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

More
5 years 6 months ago #207458 by cmorley
What makes you say that?

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

More
5 years 6 months ago #207577 by andypugh

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

More
5 years 5 months ago #207625 by Roiki
You can read the nml source. There are messages for error messages there. They are used internally by the application but are not included in the linuxcnc.command method for sending them on the command channel to the nml error channel. As Andy Pugh pointed out.

I haven't looked at the source enough to see if these would be difficult to implement or not. Or if they exist on the c++ api that's under the python one.

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

More
5 years 5 months ago #208108 by Stormholt
I don't know if its a very elegant way but, for my axis tabs I have created a hal pin only to print an error/warning using the "message" hal real time component.

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

Time to create page: 0.218 seconds
Powered by Kunena Forum