Re: [Emc-users] Halscope Log Files

2020-10-23 Thread Gene Heskett
On Friday 23 October 2020 01:08:23 Thomas J Powderly wrote:

> Hello
>
> Comparing 2 scope traces could be handy.
>
>
> I had a few techs working for me in a cnc repair situation.
>
> We all used tek scopes and had 'screen savers' that actually saved the
> source code to recreate screen
>
> These 'screenshots' could be reloaded  on a 'channel' and compared to
> a real live channel.
>
> ( there are many related ideas on web like
>
> http://techforcurious.website/how-to-save-data-from-oscilloscope-using
>-python-in-linux/ )
>
>
> So I would give the techs some 'screenshots' as :
>
>      This is what it should look like"
>
> and they would attach
>
>      This is what I got"
>
> to thier reports.
>
>
> This is very basic trouble shooting...
>
>      the difference between WhatYouWant and WhatYouGot.
>
>
> Tweaking a pot or param untill the 2 pictures agree is intuitive.
>
>
> HalScope reloading as an overlay/onion-skin could be handy
>
Handy? An candidate for understatement of the month, TomP. Actually 2 
translucent images that could be moved to superimpose each other would 
be very informative.  That would, if the time frames matched, make pid 
tuning a live system a piece of sugar free cake.
>
> my 2c
>
> TomP
>
> On 10/22/20 11:39 PM, andy pugh wrote:
> > On Thu, 22 Oct 2020 at 16:50, Nicklas SB Karlsson  
wrote:
> >> Did not read very carefully, if you need maybe I could spend a few
> >> other try to get the halscope log file into Octave.
> >
> > I would be much more interested in getting a halcope log back in to
> > halscope.
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Halscope Log Files

2020-10-22 Thread Thomas J Powderly

Hello

Comparing 2 scope traces could be handy.


I had a few techs working for me in a cnc repair situation.

We all used tek scopes and had 'screen savers' that actually saved the 
source code to recreate screen


These 'screenshots' could be reloaded  on a 'channel' and compared to a 
real live channel.


( there are many related ideas on web like

http://techforcurious.website/how-to-save-data-from-oscilloscope-using-python-in-linux/ 
)



So I would give the techs some 'screenshots' as :

    This is what it should look like"

and they would attach

    This is what I got"

to thier reports.


This is very basic trouble shooting...

    the difference between WhatYouWant and WhatYouGot.


Tweaking a pot or param untill the 2 pictures agree is intuitive.


HalScope reloading as an overlay/onion-skin could be handy


my 2c

TomP

On 10/22/20 11:39 PM, andy pugh wrote:

On Thu, 22 Oct 2020 at 16:50, Nicklas SB Karlsson  wrote:

Did not read very carefully, if you need maybe I could spend a few other
try to get the halscope log file into Octave.

I would be much more interested in getting a halcope log back in to halscope.




___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Halscope Log Files

2020-10-22 Thread Robert Ellenberg
Andy,

Try this branch here:


https://github.com/LinuxCNC/linuxcnc/tree/rellenberg/halscope

It adds native CSV-saving capability to halscope (if you specify a .csv
file in the save dialog). It's much easier to parse in something like
octave (and also much faster). It won't do much for the reading-back-in
part, unfortunately.

-Rob

On Thu, Oct 22, 2020 at 12:44 PM andy pugh  wrote:

> On Thu, 22 Oct 2020 at 16:50, Nicklas SB Karlsson  wrote:
> >
> > Did not read very carefully, if you need maybe I could spend a few other
> > try to get the halscope log file into Octave.
>
> I would be much more interested in getting a halcope log back in to
> halscope.
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Halscope Log Files

2020-10-22 Thread andy pugh
On Thu, 22 Oct 2020 at 16:50, Nicklas SB Karlsson  wrote:
>
> Did not read very carefully, if you need maybe I could spend a few other
> try to get the halscope log file into Octave.

I would be much more interested in getting a halcope log back in to halscope.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Halscope Log Files

2020-10-22 Thread Nicklas SB Karlsson
Did not read very carefully, if you need maybe I could spend a few other 
try to get the halscope log file into Octave.



Den 2020-10-21 kl. 20:36, skrev andy pugh:

Does anyone have any investment in a tool to read the halscope log file format?

I am thinking that it is a bit unhelpful at the moment and a plain CSV
or similar would be much easier to work with in external tools. But it
would be unfortunate if doing that broke existing tools.

(And it would be better still if Halscope could read its own files back in)




___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Halscope Log Files

2020-10-21 Thread Nicklas SB Karlsson
I found although not perfect .csv is relatively easy to generate and 
read. It might be a good idea to use ; as separator instead of , because 
at least in Sweden this is used as a decimal separator.


Octave might be a rather good solution for visualization. It is 
relatively easy to produce plots and possible to zoom. If needed it is 
also possible to make calculations on data, as each variable usually is 
a matrix or vector which essentially is a one dimensional matrix large 
measurement series are easy to handle.


I should be able to help with Octave if needed, for example to add a 
small wrapper if .csv file have header and maybe other notes before data.



Would guess .hdf5 format is a really good data format and it should be 
possible to read in Octave but maybe it is a little bit to much work to 
add support to save in .hdf5 format.


Den 2020-10-21 kl. 20:36, skrev andy pugh:

Does anyone have any investment in a tool to read the halscope log file format?

I am thinking that it is a bit unhelpful at the moment and a plain CSV
or similar would be much easier to work with in external tools. But it
would be unfortunate if doing that broke existing tools.

(And it would be better still if Halscope could read its own files back in)




___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Halscope Log Files

2020-10-21 Thread andy pugh
Does anyone have any investment in a tool to read the halscope log file format?

I am thinking that it is a bit unhelpful at the moment and a plain CSV
or similar would be much easier to work with in external tools. But it
would be unfortunate if doing that broke existing tools.

(And it would be better still if Halscope could read its own files back in)

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users