Halsampler tools

More
24 Jun 2021 23:41 #212856 by rgb
Halsampler tools was created by rgb
I've been working on tuning a new CNC mill and learning Linuxcnc while I go. I like using halscope but I'm too disorganized - I don't keep good notes and can't remember what a given change did.

So I wrote some tools that let me use halsampler rather than halscope. The tools let you set up some hal changes, call halcmd to make the changes, call halcmd to log interesting parameters and put it in a database. The automatically created halsampler log file is logged in the db too. A couple of other tools let you plot the data and retrieve database entries.

There's a github at github.com/rgbond/sampler_tools

Bob Bond
The following user(s) said Thank You: andypugh, Aciera

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

More
25 Jun 2021 18:19 #212915 by rgb
Replied by rgb on topic Halsampler tools
I just updated the files on github. I had done some command renaming and grabbed an old set of files. Sorry if anyone wasted time on those.
The following user(s) said Thank You: Aciera

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

More
26 Jun 2021 16:17 #212967 by Grotius
Replied by Grotius on topic Halsampler tools
Hi rgb,

Just a tip. If you add some application picture's here and at github, there is more interest for your work !

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

More
23 Jul 2021 14:33 #215699 by Roguish
Replied by Roguish on topic Halsampler tools
rgb.
looks really interesting.
I'm trying to tune a DC servo system and need to 'sample' several of the pins.
How does one install and run your code?
and as Grotius states, a couple of images, with explanations would really help.
thanks.

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

More
23 Jul 2021 16:21 #215705 by rgb
Replied by rgb on topic Halsampler tools
Thanks for the comments.

I added some more information to the github README.md and added a screenshot of the plot of some data that I captured. The tools are command line tools so just same them in a directory somewhere. They depend on Python3 and the Python3 versions of sqlite3 and matplotlib. These can be installed via:
sudo apt-get install python3-matplotlib libsqlite3-0

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

Time to create page: 0.284 seconds
Powered by Kunena Forum