Python Component issueing errors or warnings to LinuxCNC

More
4 years 7 months ago #237939 by Thom
Hi,

Good to know this command :-)

But iam still not able to find the "emcmodule.cc" file..
where is it located normally?
or do i need some kind of development packed?
=> Is there any documentation?

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

More
More
4 years 7 months ago #238000 by Thom
Thanks,

I found this on github already; The question is: where can i find (modify) it on my Computer?
If i'am right: it is pre installed? (otherwise LinuxCNC will not run :-)
(LINUXCNC - 2.8.2-72-gbcb0b7c4e)

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

More
4 years 7 months ago #238009 by cmorley
try something like:

/usr/lib/python/dist-packages/axis/

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

More
4 years 7 months ago #238109 by Thom
Thanks for the information, but i am still not able to find any .cc file on one of my machines.

Maybe it's may fault: im not an expert yet :-)
But i have no idea, where to start..



Meanwhile i extended the existing "QtPyVCP NotificationWidget" with a s32 HAL input Pin: ( error-number)

By changing the pin value, it gets the User defined message from a file in the config folder (in the file, you can assign your s32-numbers to user defined string messages)
The extended hal Widget does the following: 
=> on the Plugin "notifications" :  notification_channel.captureMessage is called with the assigned message
=> self.on_error_message is called with the assigned message

Hope, i can help someone else with this content (It took me almost 20 hours to get a basic idea, how to do it :-)

Best regards,
Thomas
 

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

Time to create page: 0.269 seconds
Powered by Kunena Forum