gmocappy clock

More
30 Sep 2024 06:47 #311054 by besriworld
Replied by besriworld on topic gmocappy clock
For some reason, the pins are not being created.

net machine timer_4.machine_on <= halui.machine.is-on
net spindle timer_4.spindle_on <= halui.spindle.0.is-on
net running timer_4.running <= halui.program.is-running

After I commented them out, the program started, and I have a timer.

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

More
01 Nov 2024 13:14 - 01 Nov 2024 13:17 #313598 by besriworld
Replied by besriworld on topic gmocappy clock
I am attaching edited python file to run on version linuxcnc v2.9.3  .Now, the color of the panel will automatically align with the color specified in the GUI settings.
in .ini file put
EMBED_TAB_NAME = timer
EMBED_TAB_LOCATION = box_custom_4
EMBED_TAB_COMMAND = gladevcp -x {XID} -u timer_hu.py -H timer_4.hal timer_4.glade



 

File Attachment:

File Name: timer_hu.py
File Size:7 KB

File Attachment:

File Name: timer_4.hal
File Size:1 KB

File Attachment:

File Name: timer_4.glade
File Size:13 KB



 
Attachments:
Last edit: 01 Nov 2024 13:17 by besriworld.
The following user(s) said Thank You: Aciera

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

Moderators: newbynobiHansU
Time to create page: 0.131 seconds
Powered by Kunena Forum