- Posts: 25
- Thank you received: 4
Python Component issueing errors or warnings to LinuxCNC
4 years 7 months ago #237939
by Thom
Replied by Thom on topic Python Component issueing errors or warnings to LinuxCNC
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?
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.
4 years 7 months ago #237983
by cmorley
Replied by cmorley on topic Python Component issueing errors or warnings to LinuxCNC
Please Log in or Create an account to join the conversation.
4 years 7 months ago #238000
by Thom
Replied by Thom on topic Python Component issueing errors or warnings to LinuxCNC
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)
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.
4 years 7 months ago #238009
by cmorley
Replied by cmorley on topic Python Component issueing errors or warnings to LinuxCNC
try something like:
/usr/lib/python/dist-packages/axis/
/usr/lib/python/dist-packages/axis/
Please Log in or Create an account to join the conversation.
4 years 7 months ago #238109
by Thom
Replied by Thom on topic Python Component issueing errors or warnings to LinuxCNC
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
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