what is hitcounter.py? necessary to call it?

More
4 years 8 months ago #234947 by dbotos
Trying to get a GladeVCP panel to show up in Axis.  The example code in section 9.3.3.5 of the 2.8.2 documentation has a call for hitcounter.py in addition to the UI file defining the panel, but never really explains its inclusion.

Searching the 2.8.2 documentation for that filename comes up with a semi-meaningful hit on page 135 that calls it "a custom python handler".  If required, what should be in it?

When I try to open up LinuxCNC with the attached config (which does not include a callout of hitcounter.py), I get an error that says:
Code:
Warning: Forward kinematics must handle duplicate coordinate letters:yy

and
Code:
Embeded tab command "halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -x 44040335 -u ./dbotos_laser_2_8_vcp.ui" exited with error: 1

Trying to get the homing thing figured out in another thread , but figured this would be a more appropriate place to ask about the GladeVCP part of the error.

Thanks,
David

Please Log in to join the conversation.

More
4 years 8 months ago #234978 by dbotos

Please Log in to join the conversation.

More
4 years 8 months ago #234996 by dbotos
Well, whatever it is, it's important.  I copied the code from github, dropped it into a new text file in my config folder named hitcounter.py, added the callout for it in my INI file, and now LinuxCNC starts up without error and shows the panel. 

Please Log in to join the conversation.

Time to create page: 0.697 seconds
Powered by Kunena Forum