Axis Position Logger

More
5 years 8 months ago #198614 by BigJohnT
Replied by BigJohnT on topic Axis Position Logger
Actually I have a Position Logger V2 that can record positions automaticity...

JT

Please Log in to join the conversation.

More
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!

Please Log in to join the conversation.

More
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

Please Log in to join the conversation.

More
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.

Code:
hcnc@IS7XM:~$ sudo dpkg -i /home/hcnc/emclog_1.0.0_all.deb [sudo] heslo pre uzivatela hcnc:  (spus­ta 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:~$

Please Log in to join the conversation.

More
4 years 6 months ago #241277 by andypugh
Replied by andypugh on topic Axis Position Logger
You might need to also install linuxcnc-uspace-dev

Please Log in to join the conversation.

More
4 years 6 months ago #241455 by jurod
Replied by jurod on topic Axis Position Logger
I have it installed.
OK works for version 2.8.2, but switches to 2.9.0 it can't find the "linuxcnc" module.
This works correctly when switched to 2.8.2 again without any reinstallation of Position Logger.
In version 2.9.0 it still looks for some !linuxcnc! module.
Is it called something else in the 2.9.0?

From emclog.py:
Code:
#! /usr/bin/python import os, sys, math if sys.version_info[0] > 2:     raise Exception("Python 2 is required.") import ConfigParser import linuxcnc from PyQt5 import uic from PyQt5.QtWidgets import (QApplication, QMainWindow, QCheckBox, QRadioButton, QMessageBox, QFileDialog, QMenu) from PyQt5.QtCore import Qt, QTimer, QEvent IN_AXIS = os.environ.has_key("AXIS_PROGRESS_BAR") if os.path.split(sys.argv[0])[0] == '/usr/bin':     GUI_PATH = '/usr/lib/python3/dist-packages/libemclog'     print('Installed') if os.path.split(sys.argv[0])[0] == '.':     GUI_PATH = os.path.split(os.path.realpath(sys.argv[0]))[0]     print('In Development') ....... ......

Please Log in to join the conversation.

More
4 years 6 months ago #241458 by jurod
Replied by jurod on topic Axis Position Logger
or it has something to do with python2.7 and python3

Please Log in to join the conversation.

More
4 years 6 months ago #241723 by cakeslob
Replied by cakeslob on topic Axis Position Logger
Hey jurod, offtopic, but I have seen you and user domi appear to have a czech(?) modified version of axis, I was wondering where you found it

Please Log in to join the conversation.

More
4 years 5 months ago #241802 by jurod
Replied by jurod on topic Axis Position Logger
I didn't find it, but I did it. Slovak language.
forum.strojirenstvi.cz/viewtopic.php?t=31115

Please Log in to join the conversation.

More
4 years 5 months ago #242365 by jurod
Replied by jurod on topic Axis Position Logger
I've been working on it for a week. Does anyone know why it can't find the linuxcnc module?

Please Log in to join the conversation.

Time to create page: 0.211 seconds
Powered by Kunena Forum