gmocappy clock

More
2 years 1 month ago #311042 by besriworld
Replied by besriworld on topic gmocappy clock
Does this work with linuxcnc v2.9.3 ? I am trying to add this timer.But the panel is not created. After starting the program, linuxcnc creates the necessary file to store the times . am i doing something wrong or are there new files for this version

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

More
2 years 1 month ago #311052 by newbynobi
Replied by newbynobi on topic gmocappy clock
Start LinuxCNC from terminal and watch for the output, you might see errors.

Norbert
The following user(s) said Thank You: besriworld

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

More
2 years 1 month ago #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
2 years 8 hours ago - 2 years 8 hours ago #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.39 KB

File Attachment:

File Name: timer_4.hal
File Size:831 B

File Attachment:

File Name: timer_4.glade
File Size:12.59 KB



 
Last edit: 2 years 8 hours ago by besriworld.
The following user(s) said Thank You: Aciera, hermann1976

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

More
8 months 3 weeks ago #342766 by liviuzarnesti
Replied by liviuzarnesti on topic gmocappy clock
Hello! Please post again counter.clp, counter.glade, counter.hal because at me dont work.Thank you

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

More
8 months 1 week ago #343426 by HansU

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

Moderators: newbynobi, HansU
Time to create page: 0.227 seconds
Powered by Kunena Forum