- Posts: 639
- Thank you received: 234
Axis Position Logger
- Bari
- Offline
- Platinum Member
-
Less
More
5 years 8 months ago #198441
by Bari
Replied by Bari on topic Axis Position Logger
I just wanted to put this other position logger into the same place for future reference:
forum.linuxcnc.org/41-guis/25849-teach-i...m-generation?start=0
forum.linuxcnc.org/media/kunena/attachments/16368/Teachin.txt
Modified teach-in.py "stripped down the part of the gui and added a hal pin to capture the position"
"It is a HAL module with an input pin which appends to a file the actual position when the input is TRUE. It is intended to be used with an edge detector to trigger it."
forum.linuxcnc.org/41-guis/25849-teach-i...m-generation?start=0
forum.linuxcnc.org/media/kunena/attachments/16368/Teachin.txt
Modified teach-in.py "stripped down the part of the gui and added a hal pin to capture the position"
"It is a HAL module with an input pin which appends to a file the actual position when the input is TRUE. It is intended to be used with an edge detector to trigger it."
The following user(s) said Thank You: tommylight, Tady
Please Log in or Create an account to join the conversation.
- Tady
- Offline
- Premium Member
-
Less
More
- Posts: 105
- Thank you received: 11
5 years 8 months ago #198613
by Tady
Replied by Tady on topic Axis Position Logger
Nice!
So you use a halpin to trigger the capture... How do you end the teaching?
So you use a halpin to trigger the capture... How do you end the teaching?
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
-
Less
More
- Posts: 3981
- Thank you received: 994
5 years 8 months ago #198614
by BigJohnT
Replied by BigJohnT on topic Axis Position Logger
The following user(s) said Thank You: Bari
Please Log in or Create an account to join the conversation.
- Bari
- Offline
- Platinum Member
-
Less
More
- Posts: 639
- Thank you received: 234
5 years 8 months ago - 5 years 8 months ago #198626
by Bari
Replied by Bari on topic Axis Position Logger
Look like a keyboard action interrupts the capture.
except KeyboardIntrrupt:
raise SystemExit
@JT Yes, just posting this other script here for future reference.
Thanks!
except KeyboardIntrrupt:
raise SystemExit
@JT Yes, just posting this other script here for future reference.
Thanks!
Last edit: 5 years 8 months ago by Bari.
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
-
Less
More
- Posts: 3981
- Thank you received: 994
5 years 8 months ago #199618
by BigJohnT
Replied by BigJohnT on topic Axis Position Logger
I've been working on the Position Logger and well it's not just for Axis, it's for LinuxCNC
jethornton.github.io/emclog/index.html
I've added a timer based capture for positions.
I've added a context menu to delete lines.
I've added Save and Open menu items.
JT
jethornton.github.io/emclog/index.html
I've added a timer based capture for positions.
I've added a context menu to delete lines.
I've added Save and Open menu items.
JT
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- jurod
- Offline
- Senior Member
-
Less
More
- Posts: 68
- Thank you received: 6
4 years 6 months ago - 4 years 6 months ago #240979
by jurod
Replied by jurod on topic Axis Position Logger
Hi, please help.
I can't install your Position Logger correctly in master version 2.9.0.
The installation process will run correctly, but unable to start Logger.
I can't install your Position Logger correctly in master version 2.9.0.
The installation process will run correctly, but unable to start Logger.
Code:
hcnc@IS7XM:~$ sudo dpkg -i /home/hcnc/emclog_1.0.0_all.deb
[sudo] heslo pre uzivatela hcnc:
(spusta sa databaza ... momentalne je nainstalovanych 100440 suborov alebo adresarov.
Preparing to unpack .../home/hcnc/emclog_1.0.0_all.deb ...
Unpacking emclog (1.0.0) over (1.0.0) ...
Nastavuje sa balík emclog (1.0.0) ...
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for man-db (2.8.5-2) ...
hcnc@IS7XM:~$
Error from terminal:
hcnc@DELL9010:~$ emclog
Traceback (most recent call last):
File "/usr/bin/emclog", line 9, in <module>
import linuxcnc
ImportError: No module named linuxcnc
hcnc@DELL9010:~$
Last edit: 4 years 6 months ago by jurod.
Please Log in or Create an account to join the conversation.
Time to create page: 0.287 seconds