Accumulated travel distance for axes

More
9 years 9 months ago #85587 by perra_e
It was created by the Component in my vm under /home/per/linuxcnc/persist.sav. I'm looking at the source code right now, and it should work from what I see. I have a linuxcnc folder on my mill pc as well, but maybe it is some kind of rights. I will try to create a file manually.

--Per

Please Log in to join the conversation.

More
9 years 9 months ago #85589 by perra_e
Creating a file manually helped :)
Now every thing works perfect even on the mill!
--Per

Please Log in to join the conversation.

More
9 years 9 months ago #85591 by Todd Zuercher
Glad to hear it works. I wonder why the saveparam component or something like it has never been added to the main release? Seems like it could be occasionally useful, without much impact on existing code.

Please Log in to join the conversation.

More
9 years 9 months ago #85592 by perra_e
I wonder the same thing. Maybe it's so simple that no one has written documantation?
Very usefull indeed!

Thanks a lot for your support. This function was extremely valuable to me :)

Please Log in to join the conversation.

More
5 years 7 months ago #201953 by HansU
I added the functionality in Norberts timer-VCP (Glade). See: forum.linuxcnc.org/gmoccapy/40709-gmocap...lock?start=30#201950
I think it's easier to set up than the solution with paramsaver.
You can also include this VCP in other GUIs than gmoccapy.

In AXIS you can integrate it with following entry in the INI-file
Code:
[DISPLAY] EMBED_TAB_NAME = Counter EMBED_TAB_COMMAND = gladevcp -x {XID} -u counter.py -H counter.hal counter.glade

Then it would look like this


Attachment not found

Please Log in to join the conversation.

More
5 years 7 months ago #201962 by itsme
Are the values saved or will they be reset after Power cycling?

Please Log in to join the conversation.

More
5 years 7 months ago #202074 by HansU
They are all saved in a *.var file except the value "Program Running Time".

Please Log in to join the conversation.

Time to create page: 0.052 seconds
Powered by Kunena Forum