Re: [Emc-users] Camview-emc workalike? Update, solved.

2016-02-02 Thread Gene Heskett
On Monday 01 February 2016 14:40:56 Gene Heskett wrote:

To bring this up to date, the linkage between the xml created pyvcp 
buttons and lcnc has been solved.  In the big docs pdf, I read that to 
access buttons created by pyvcp, one must add 'pyvcp.' to the names, so 
I took the halpin created names down to one word names in the xml file, 
then in postgui.hal, the net statements were fixed to 
use 'pyvcp.button1' style syntax, and it all seems to just work.

Now, to build a nice solid camera mount to hang off the bottom of the 
spindle brake collar, and I believe I'll have something that works.

One item of note, I remember camview taking 5 seconds to fully update the 
image when the table was moved, so finding and fixing on the target was 
excruciatingly slow. Even with the signal processing opencv does to 
insert its target circle and crosshairs and measurement scales, opencv 
is managing to get 8 to 15 FPS depending on the light level, so I can 
search at 10 ipm, and fine tune at .7 without 95% of the lags that 
camview had.  However, it is dragging on the base-thread timing when its 
running, I can hear the diff in speeds while its homing the machine.  
Since once it has done its job, it can be shut down, I do not consider 
that to be a showstopper unless software stepping is in use. 5i25 card 
in use here.

That may be related to my seeing both cpus usage graphs in gkrellm, so I 
may not have isolcpus setup correctly on this dell dimension 745 
computer.  

Huh? On checking grub.cfg, it is not anywhere in boot/grub/grub.cfg!

I have not taken it out, this is as installed from the hybrid.iso, with 
the updated 3.4.9-rtai kernel.

I put it in: isocpus=1 and rebooted, htop now can't see the 2nd core, so 
thats another potential problem solved.

So of the rest of you may want to check your installs too! I am certainly 
going to check my other 2 machines...  One of which, because I've 
miss-laid my round tuit IS software stepping yet despit having a 5i25 
ready to be installed.  My bad.

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)
Genes Web page 

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc workalike?

2016-02-01 Thread Gene Heskett
On Monday 01 February 2016 13:44:16 Fox Mulder wrote:

> Am 01.02.2016 um 18:32 schrieb Gene Heskett:
> > On Monday 01 February 2016 05:46:16 Fox Mulder wrote:
> >> Am 31.01.2016 um 23:49 schrieb Gene Heskett:
> >>> On Sunday 31 January 2016 11:34:46 Fox Mulder wrote:
>  Am 31.01.2016 um 16:19 schrieb Gene Heskett:
> > On Sunday 31 January 2016 07:48:43 Fox Mulder wrote:
> >> Am 30.01.2016 um 02:10 schrieb Gene Heskett:
> >>> On Friday 29 January 2016 16:52:58 Gene Heskett wrote:
>  On Friday 29 January 2016 15:01:16 Fox Mulder wrote:
> > Am 29.01.2016 um 04:49 schrieb Gene Heskett:
> >> On Tuesday 26 January 2016 14:16:03 Gene Heskett wrote:
> >>> On Tuesday 26 January 2016 12:41:26 Fox Mulder wrote:
>  Am 26.01.2016 um 18:00 schrieb Gene Heskett:
> > On Tuesday 26 January 2016 09:55:33 Fox Mulder wrote:
> >> Am 26.01.2016 um 13:20 schrieb Gene Heskett:
> >>
> >> You can try the relevant lines in an interactive python shell to
> >> see if they work. Just start "python" (for python 2) or "python3"
> >> and try the following lines (change the picture and path to an
> >> existing one):
> >>
> >> from PIL import Image as pilimg
> >> from PIL import ImageTk
> >> from tkinter import *
> >
> > Fails here
> > gene@GO704:~/linuxcnc/configs/GO704fast$ python
> > Python 2.7.3 (default, Mar 14 2014, 11:57:14)
> > [GCC 4.7.2] on linux2
> > Type "help", "copyright", "credits" or "license" for more
> > information.
> >
>  from PIL import Image as pilimg
>  from PIL import ImageTk
>  from tkinter import *
> >
> > Traceback (most recent call last):
> >   File "", line 1, in 
> > ImportError: No module named tkinter
> >
> > But
> > from Tkinter import *
> > works
>
> Sorry i forgot that it is "import Tkinter" for your version.
>
> >> root = Tk()
> >
> > But fails here:
>  root Tk()
> >
> >   File "", line 1
> > root Tk()
> >   ^
> > SyntaxError: invalid syntax

python and python3 gets to the root = Tk(), has same error. The rebuilt 
P3 pillow, duh, rebuild the P2 version too dummy.  And it works, I have 
video from the camera! in python2!

But the bottom of the image is clipped at aproximately the 5cm mark on 
the vertical ruler.  The window is bigger, but the image is still 
clipped.  The crosshair target is at
nominally 8.2 vertically and the horizontal ruler is off screen due to 
the clipped bottom.  The only mode that is centered if 640x480.  
Everythng else is clipped to some degree.  I will probably make 640x480 
the default in that case.
Even at 640x480, the reported FPS is .5, pretty slow.  I'll go see how it 
works with the machine live. I have another edgeing strip to put on a 
panel anyway.
>
> Sounds like the Python Tkinter package is missing (python-tk or
> python3-tk).

Both versions are installed.

> Also you must have the Tk package installed for it to 
> work. But when installing python-tk the dependency for tk should
> automatically be selected.

So is Tk.

> > No use continueing, try python3
> >
> >> img = pilimg.open('/temp/picture.png')
> >> imgtk = ImageTk.PhotoImage(img)
> >
> > When running python3 shell:
> > gene@GO704:~/linuxcnc/configs/GO704fast$ python3
> > Python 3.2.3 (default, Feb 20 2013, 17:02:41)
> > [GCC 4.7.2] on linux2
> > Type "help", "copyright", "credits" or "license" for more
> > information.
> >
>  from PIL import Image as pilimg
> >
> > Traceback (most recent call last):
> >   File "", line 1, in 
> > ImportError: No module named PIL
> >
> > I THOUGHT pillow built and installed itself in both paths.  But from
> > locates response, only for 2.6 and 2.7.  I'll google for it again,
> > and see if there is a pip3 utility.  Humm, but first, need pip3. But
> > its pip-3.2, not pip3, so its munching its way thru a python3
> > install of pillow.
>
> Pip only installs python2 packages, for python3 you need pip3.2.
> Just do "pip3 install Pillow" and you should have the python3 version
> of it. But with the error from python2 i don't think you will get any
> further. You need the line root = Tk() to initialize the Tk Framework
> before the other commands can be executed.

And that fails, I think from the pillow install message, it needs 
TclTk-8.5 and wheezy only has 8.4.  I'll re-enable backports and see if 
it shows up. Except I must have clean house in that list.  Then Tk IS 
8.5 but the devel stuff wasn't, installing now.  Aha, that was the magic 
twanger!

>
> > Now it should be there, but again the install bitched about a
> > missing tkinter, needs Tcl/Tk-8.5 libraries and wheezy only has 8.4.
> > This is wearing thin...
>
> Hmm that's no good news. One thing you can try is to install the
> wheezy version of the python pil packages (apt-get install
> python-imaging python-imaging-tk) which should work with the local Tk
> version. But before you have to uninstall pillow (pip uninstall
> Pillow) because they don't work together.
>
> Ciao,
>  Rainer

Thanks Rainer, prog

Re: [Emc-users] Camview-emc workalike?

2016-02-01 Thread Fox Mulder
Am 01.02.2016 um 18:32 schrieb Gene Heskett:
> On Monday 01 February 2016 05:46:16 Fox Mulder wrote:
> 
>> Am 31.01.2016 um 23:49 schrieb Gene Heskett:
>>> On Sunday 31 January 2016 11:34:46 Fox Mulder wrote:
 Am 31.01.2016 um 16:19 schrieb Gene Heskett:
> On Sunday 31 January 2016 07:48:43 Fox Mulder wrote:
>> Am 30.01.2016 um 02:10 schrieb Gene Heskett:
>>> On Friday 29 January 2016 16:52:58 Gene Heskett wrote:
 On Friday 29 January 2016 15:01:16 Fox Mulder wrote:
> Am 29.01.2016 um 04:49 schrieb Gene Heskett:
>> On Tuesday 26 January 2016 14:16:03 Gene Heskett wrote:
>>> On Tuesday 26 January 2016 12:41:26 Fox Mulder wrote:
 Am 26.01.2016 um 18:00 schrieb Gene Heskett:
> On Tuesday 26 January 2016 09:55:33 Fox Mulder wrote:
>> Am 26.01.2016 um 13:20 schrieb Gene Heskett:
>> You can try the relevant lines in an interactive python shell to see
>> if they work. Just start "python" (for python 2) or "python3" and try
>> the following lines (change the picture and path to an existing one):
>>
>> from PIL import Image as pilimg
>> from PIL import ImageTk
>> from tkinter import *
> Fails here
> gene@GO704:~/linuxcnc/configs/GO704fast$ python
> Python 2.7.3 (default, Mar 14 2014, 11:57:14) 
> [GCC 4.7.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
 from PIL import Image as pilimg
 from PIL import ImageTk
 from tkinter import *
> Traceback (most recent call last):
>   File "", line 1, in 
> ImportError: No module named tkinter
> 
> But 
> from Tkinter import *
> works
Sorry i forgot that it is "import Tkinter" for your version.

>> root = Tk()
> But fails here:
 root Tk()
>   File "", line 1
> root Tk()
>   ^
> SyntaxError: invalid syntax

Sounds like the Python Tkinter package is missing (python-tk or
python3-tk). Also you must have the Tk package installed for it to work.
But when installing python-tk the dependency for tk should automatically
be selected.

> No use continueing, try python3
>> img = pilimg.open('/temp/picture.png')
>> imgtk = ImageTk.PhotoImage(img)
> 
> When running python3 shell:
> gene@GO704:~/linuxcnc/configs/GO704fast$ python3
> Python 3.2.3 (default, Feb 20 2013, 17:02:41) 
> [GCC 4.7.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
 from PIL import Image as pilimg
> Traceback (most recent call last):
>   File "", line 1, in 
> ImportError: No module named PIL
> 
> I THOUGHT pillow built and installed itself in both paths.  But from 
> locates response, only for 2.6 and 2.7.  I'll google for it again, and 
> see if there is a pip3 utility.  Humm, but first, need pip3. But its 
> pip-3.2, not pip3, so its munching its way thru a python3 install of 
> pillow.

Pip only installs python2 packages, for python3 you need pip3.2.
Just do "pip3 install Pillow" and you should have the python3 version of
it. But with the error from python2 i don't think you will get any
further. You need the line root = Tk() to initialize the Tk Framework
before the other commands can be executed.

> Now it should be there, but again the install bitched about a missing 
> tkinter, needs Tcl/Tk-8.5 libraries and wheezy only has 8.4. This is 
> wearing thin... 

Hmm that's no good news. One thing you can try is to install the wheezy
version of the python pil packages (apt-get install python-imaging
python-imaging-tk) which should work with the local Tk version. But
before you have to uninstall pillow (pip uninstall Pillow) because they
don't work together.

Ciao,
 Rainer

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc workalike?

2016-02-01 Thread Gene Heskett
On Monday 01 February 2016 05:46:16 Fox Mulder wrote:

> Am 31.01.2016 um 23:49 schrieb Gene Heskett:
> > On Sunday 31 January 2016 11:34:46 Fox Mulder wrote:
> >> Am 31.01.2016 um 16:19 schrieb Gene Heskett:
> >>> On Sunday 31 January 2016 07:48:43 Fox Mulder wrote:
>  Am 30.01.2016 um 02:10 schrieb Gene Heskett:
> > On Friday 29 January 2016 16:52:58 Gene Heskett wrote:
> >> On Friday 29 January 2016 15:01:16 Fox Mulder wrote:
> >>> Am 29.01.2016 um 04:49 schrieb Gene Heskett:
>  On Tuesday 26 January 2016 14:16:03 Gene Heskett wrote:
> > On Tuesday 26 January 2016 12:41:26 Fox Mulder wrote:
> >> Am 26.01.2016 um 18:00 schrieb Gene Heskett:
> >>> On Tuesday 26 January 2016 09:55:33 Fox Mulder wrote:
>  Am 26.01.2016 um 13:20 schrieb Gene Heskett:
> 
>  Here is the new script which needs a few new python packages
>  installed. For me in debian it was python3-pil,
>  python3-pil.imagetk, python3-tk.
> >>>
> >>> I hope they are available in wheezy.  Checking now.  The first 2
> >>> are not. 3.2.3 Compatible deb's?  URL IOW. python3-tk now
> >>> installed.
> >>
> >> Best way for you would be to use python2 where these packages would
> >> be called python-imaging and python-imaging-tk. I think wheezy
> >> doesn't have these packages for python3 included.
> >>
> >> Alternatively you could try and use python pip to install these
> >> packages for python3.
> >>
> >>From the pypi sites web server, pillow (a fork of PIL) is
> >> recommended to
> >
> > replace PIL.
>
> I replaced PIL with latest pillow 3.1.0 with pip3 and it works without
> changing anything in the code.
>
> > So I have installed that and now get to line 6 with python2, can't
> > find tkinter *.  It is not installed & not available.
> >
> > Uppercased the name to Tkinter, and I did get it to run, and it
> > opens a white screen with the menu stuff but no video.
>
> That's a problem with package renaming (Tkinter to tkinter) between
> some older and newer packages. Don't know who thought that would be a
> good idea. :/
>
> > Trace from the launching screen:
> >
> > gene@GO704:~/linuxcnc$ python
> > python_opencv_camera_example_with_gui.py
> >
> > Exception in Tkinter callback
> > Traceback (most recent call last):
> >   File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1437, in
> > __call__ return self.func(*args)
> >   File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 498, in callit
> > func(*args)
> >   File "python_opencv_camera_example_with_gui.py", line 92, in
> > show_video imgtk = ImageTk.PhotoImage(image=img)
> >   File "/usr/local/lib/python2.7/dist-packages/PIL/ImageTk.py", line
> > 115, in __init__
> > self.paste(image)
> >   File "/usr/local/lib/python2.7/dist-packages/PIL/ImageTk.py", line
> > 180, in paste
> > from PIL import _imagingtk
> > ImportError: cannot import name _imagingtk
>
> You can try the relevant lines in an interactive python shell to see
> if they work. Just start "python" (for python 2) or "python3" and try
> the following lines (change the picture and path to an existing one):
>
> from PIL import Image as pilimg
> from PIL import ImageTk
> from tkinter import *
Fails here
gene@GO704:~/linuxcnc/configs/GO704fast$ python
Python 2.7.3 (default, Mar 14 2014, 11:57:14) 
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from PIL import Image as pilimg
>>> from PIL import ImageTk
>>> from tkinter import *
Traceback (most recent call last):
  File "", line 1, in 
ImportError: No module named tkinter

But 
from Tkinter import *
works



> root = Tk()
But fails here:
>>> root Tk()
  File "", line 1
root Tk()
  ^
SyntaxError: invalid syntax
No use continueing, try python3
> img = pilimg.open('/temp/picture.png')
> imgtk = ImageTk.PhotoImage(img)

When running python3 shell:
gene@GO704:~/linuxcnc/configs/GO704fast$ python3
Python 3.2.3 (default, Feb 20 2013, 17:02:41) 
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from PIL import Image as pilimg
Traceback (most recent call last):
  File "", line 1, in 
ImportError: No module named PIL

I THOUGHT pillow built and installed itself in both paths.  But from 
locates response, only for 2.6 and 2.7.  I'll google for it again, and 
see if there is a pip3 utility.  Humm, but first, need pip3. But its 
pip-3.2, not pip3, so its munching its way thru a python3 install of 
pillow.

Now it should be there, but again the install bitched about a missing 
tkinter, needs Tcl/Tk-8.5 libraries and wheezy only has 8.4. This is 
wearing thin... 

> If you got an error you can see after which line it comes. This maybe
> help to find the problem.
>
> > And with my lack of python knowledge, no clue how it got renamed
> > with the leading _.
> >
> > With pillow installed, locate says:
> >
> > gene@GO704:~/linuxcnc$ locate imagingtk
> > /usr/lib/pyshared/python2.6/PIL/_imagingtk.so
> > /usr/lib/pyshared/pytho

Re: [Emc-users] Camview-emc workalike?

2016-02-01 Thread Fox Mulder
Am 31.01.2016 um 23:49 schrieb Gene Heskett:
> On Sunday 31 January 2016 11:34:46 Fox Mulder wrote:
> 
>> Am 31.01.2016 um 16:19 schrieb Gene Heskett:
>>> On Sunday 31 January 2016 07:48:43 Fox Mulder wrote:
 Am 30.01.2016 um 02:10 schrieb Gene Heskett:
> On Friday 29 January 2016 16:52:58 Gene Heskett wrote:
>> On Friday 29 January 2016 15:01:16 Fox Mulder wrote:
>>> Am 29.01.2016 um 04:49 schrieb Gene Heskett:
 On Tuesday 26 January 2016 14:16:03 Gene Heskett wrote:
> On Tuesday 26 January 2016 12:41:26 Fox Mulder wrote:
>> Am 26.01.2016 um 18:00 schrieb Gene Heskett:
>>> On Tuesday 26 January 2016 09:55:33 Fox Mulder wrote:
 Am 26.01.2016 um 13:20 schrieb Gene Heskett:

 Here is the new script which needs a few new python packages
 installed. For me in debian it was python3-pil,
 python3-pil.imagetk, python3-tk.
>>>
>>> I hope they are available in wheezy.  Checking now.  The first 2 are
>>> not. 3.2.3 Compatible deb's?  URL IOW. python3-tk now installed.
>>
>> Best way for you would be to use python2 where these packages would be
>> called python-imaging and python-imaging-tk. I think wheezy doesn't
>> have these packages for python3 included.
>>
>> Alternatively you could try and use python pip to install these
>> packages for python3.
>>
>>From the pypi sites web server, pillow (a fork of PIL) is recommended to 
> replace PIL.
I replaced PIL with latest pillow 3.1.0 with pip3 and it works without
changing anything in the code.

> So I have installed that and now get to line 6 with python2, can't find 
> tkinter *.  It is not installed & not available.
> 
> Uppercased the name to Tkinter, and I did get it to run, and it opens a 
> white screen with the menu stuff but no video.
That's a problem with package renaming (Tkinter to tkinter) between some
older and newer packages. Don't know who thought that would be a good
idea. :/

> Trace from the launching screen:
> 
> gene@GO704:~/linuxcnc$ python python_opencv_camera_example_with_gui.py
> 
> Exception in Tkinter callback
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1437, in __call__
> return self.func(*args)
>   File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 498, in callit
> func(*args)
>   File "python_opencv_camera_example_with_gui.py", line 92, in show_video
> imgtk = ImageTk.PhotoImage(image=img)
>   File "/usr/local/lib/python2.7/dist-packages/PIL/ImageTk.py", line 115, 
> in __init__
> self.paste(image)
>   File "/usr/local/lib/python2.7/dist-packages/PIL/ImageTk.py", line 180, 
> in paste
> from PIL import _imagingtk
> ImportError: cannot import name _imagingtk
You can try the relevant lines in an interactive python shell to see if
they work. Just start "python" (for python 2) or "python3" and try the
following lines (change the picture and path to an existing one):

from PIL import Image as pilimg
from PIL import ImageTk
from tkinter import *
root = Tk()
img = pilimg.open('/temp/picture.png')
imgtk = ImageTk.PhotoImage(img)

If you got an error you can see after which line it comes. This maybe
help to find the problem.

> And with my lack of python knowledge, no clue how it got renamed with the 
> leading _.
> 
> With pillow installed, locate says:
> 
> gene@GO704:~/linuxcnc$ locate imagingtk
> /usr/lib/pyshared/python2.6/PIL/_imagingtk.so
> /usr/lib/pyshared/python2.7/PIL/_imagingtk.so
> /usr/lib/python2.6/dist-packages/PIL/_imagingtk.so
> /usr/lib/python2.7/dist-packages/PIL/_imagingtk.so
> 
> Subtle syntax error? ENV path? Obviously IDK.
The names of the .so libraries on the harddisk doesn't matter. It's
normal that they have an underscore in front, same here on my installation.

Ciao,
 Rainer

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc workalike?

2016-01-31 Thread Gene Heskett
On Sunday 31 January 2016 11:34:46 Fox Mulder wrote:

> Am 31.01.2016 um 16:19 schrieb Gene Heskett:
> > On Sunday 31 January 2016 07:48:43 Fox Mulder wrote:
> >> Am 30.01.2016 um 02:10 schrieb Gene Heskett:
> >>> On Friday 29 January 2016 16:52:58 Gene Heskett wrote:
>  On Friday 29 January 2016 15:01:16 Fox Mulder wrote:
> > Am 29.01.2016 um 04:49 schrieb Gene Heskett:
> >> On Tuesday 26 January 2016 14:16:03 Gene Heskett wrote:
> >>> On Tuesday 26 January 2016 12:41:26 Fox Mulder wrote:
>  Am 26.01.2016 um 18:00 schrieb Gene Heskett:
> > On Tuesday 26 January 2016 09:55:33 Fox Mulder wrote:
> >> Am 26.01.2016 um 13:20 schrieb Gene Heskett:
> >>
> >> Here is the new script which needs a few new python packages
> >> installed. For me in debian it was python3-pil,
> >> python3-pil.imagetk, python3-tk.
> >
> > I hope they are available in wheezy.  Checking now.  The first 2 are
> > not. 3.2.3 Compatible deb's?  URL IOW. python3-tk now installed.
>
> Best way for you would be to use python2 where these packages would be
> called python-imaging and python-imaging-tk. I think wheezy doesn't
> have these packages for python3 included.
>
> Alternatively you could try and use python pip to install these
> packages for python3.
>
>From the pypi sites web server, pillow (a fork of PIL) is recommended to 
replace PIL.

So I have installed that and now get to line 6 with python2, can't find 
tkinter *.  It is not installed & not available.

Uppercased the name to Tkinter, and I did get it to run, and it opens a 
white screen with the menu stuff but no video.

Trace from the launching screen:

gene@GO704:~/linuxcnc$ python python_opencv_camera_example_with_gui.py

Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1437, in __call__
return self.func(*args)
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 498, in callit
func(*args)
  File "python_opencv_camera_example_with_gui.py", line 92, in show_video
imgtk = ImageTk.PhotoImage(image=img)
  File "/usr/local/lib/python2.7/dist-packages/PIL/ImageTk.py", line 115, 
in __init__
self.paste(image)
  File "/usr/local/lib/python2.7/dist-packages/PIL/ImageTk.py", line 180, 
in paste
from PIL import _imagingtk
ImportError: cannot import name _imagingtk

And with my lack of python knowledge, no clue how it got renamed with the 
leading _.

With pillow installed, locate says:

gene@GO704:~/linuxcnc$ locate imagingtk
/usr/lib/pyshared/python2.6/PIL/_imagingtk.so
/usr/lib/pyshared/python2.7/PIL/_imagingtk.so
/usr/lib/python2.6/dist-packages/PIL/_imagingtk.so
/usr/lib/python2.7/dist-packages/PIL/_imagingtk.so

Subtle syntax error? ENV path? Obviously IDK.

I also ran the old script, still works fine.

> >> http://pastebin.com/YaCqLNzz
> >
> > Got it, thank you. In the previous script this new camera does
> > 1280x1024 natively so I updated that in the two places shown as 960.
> >  That worked well except the bottom of the display was clipped off.
> > So I need to find where I can expand the display window for that
> > setting.
>
> Normally the size of the tk window should resize to the given
> resolution. The window itself is larger than the video resolution
> because of the toolbar and the menu around it.
> This is around ~86 pixels more in height which gives 1024 + 86 = 1110
> pixels in height. So if your monitor doesn't have a high resolution
> the window is at it's maximum and the lower end of the video get's
> cropped off. Even Full-HD isn't enough for that resolution because 30
> pixels are missing in height (1110 - 1080 = 30 pixels too large). I
> didn't implement any video resizing to get around this problem.
>
> Ciao,
>  Rainer

Thank you Rainer.

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)
Genes Web page 

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc workalike?

2016-01-31 Thread Gene Heskett
On Sunday 31 January 2016 11:34:46 Fox Mulder wrote:

> Am 31.01.2016 um 16:19 schrieb Gene Heskett:
> > On Sunday 31 January 2016 07:48:43 Fox Mulder wrote:
> >> Am 30.01.2016 um 02:10 schrieb Gene Heskett:
> >>> On Friday 29 January 2016 16:52:58 Gene Heskett wrote:
>  On Friday 29 January 2016 15:01:16 Fox Mulder wrote:
> > Am 29.01.2016 um 04:49 schrieb Gene Heskett:
> >> On Tuesday 26 January 2016 14:16:03 Gene Heskett wrote:
> >>> On Tuesday 26 January 2016 12:41:26 Fox Mulder wrote:
>  Am 26.01.2016 um 18:00 schrieb Gene Heskett:
> > On Tuesday 26 January 2016 09:55:33 Fox Mulder wrote:
> >> Am 26.01.2016 um 13:20 schrieb Gene Heskett:
> >>
> >> Here is the new script which needs a few new python packages
> >> installed. For me in debian it was python3-pil,
> >> python3-pil.imagetk, python3-tk.
> >
> > I hope they are available in wheezy.  Checking now.  The first 2 are
> > not. 3.2.3 Compatible deb's?  URL IOW. python3-tk now installed.
>
> Best way for you would be to use python2 where these packages would be
> called python-imaging and python-imaging-tk. I think wheezy doesn't
> have these packages for python3 included.
>
Got those already.

> Alternatively you could try and use python pip to install these
> packages for python3.
>
I tried both pips. The 4 modules named are not available.

gene@GO704:~/linuxcnc$ sudo /usr/bin/pip-3.2 install python3-pil 
python3-pil.imagetk
[sudo] password for gene: 
Downloading/unpacking python3-pil
  Could not find any downloads that satisfy the requirement python3-pil
No distributions at all found for python3-pil
Storing complete log in /root/.pip/pip.log
gene@GO704:~/linuxcnc$ sudo /usr/bin/pip install python-imaging 
python-imageing-tk
Downloading/unpacking python-imaging
  Could not find any downloads that satisfy the requirement 
python-imaging
No distributions at all found for python-imaging
Storing complete log in /root/.pip/pip.log

>From that log:

/usr/bin/pip run on Sun Jan 31 16:19:17 2016
Downloading/unpacking python-imaging

  Getting page http://pypi.python.org/simple/python-imaging
  Could not fetch URL http://pypi.python.org/simple/python-imaging: HTTP 
Error 404: Not Found
  Will skip URL http://pypi.python.org/simple/python-imaging when looking 
for download links for python-imaging
  Getting page http://pypi.python.org/simple/
  URLs to search for versions for python-imaging:
  * http://pypi.python.org/simple/python-imaging/
  Getting page http://pypi.python.org/simple/python-imaging/
  Could not fetch URL http://pypi.python.org/simple/python-imaging/: HTTP 
Error 404: Not Found
  Will skip URL http://pypi.python.org/simple/python-imaging/ when 
looking for download links for python-imaging
  Could not find any downloads that satisfy the requirement 
python-imaging

No distributions at all found for python-imaging

Is pypi.python.org down?> >> http://pastebin.com/YaCqLNzz

Very very slow ping, perhaps >5 seconds per ping response coming back.

The pip request may be timing out.  So I added 60 seconds, but the 
failure is in just 3 seconds.  I'll ask on the python list.

> > Got it, thank you. In the previous script this new camera does
> > 1280x1024 natively so I updated that in the two places shown as 960.
> >  That worked well except the bottom of the display was clipped off.
> > So I need to find where I can expand the display window for that
> > setting.
>
> Normally the size of the tk window should resize to the given
> resolution. The window itself is larger than the video resolution
> because of the toolbar and the menu around it.
> This is around ~86 pixels more in height which gives 1024 + 86 = 1110
> pixels in height. So if your monitor doesn't have a high resolution
> the window is at it's maximum and the lower end of the video get's
> cropped off. Even Full-HD isn't enough for that resolution because 30
> pixels are missing in height (1110 - 1080 = 30 pixels too large). I
> didn't implement any video resizing to get around this problem.
>
The monitor is a 16x9 ratio of 1920x 1080 IIRC, its a Samsung hidef 23" 
tv with a failed tuner.

The window opens in the lower right corner, with the upper left corner 
nominally centered on the screen, so if it was better centered (raised) 
vertically, it might not be clipped off. Where do I adjust that? In the 
original script or in this one if I can get it to run.

> Ciao,
>  Rainer
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application
> Performance APM + Mobile APM + RUM: Monitor 3 App instances at just
> $35/Month Monitor end-to-end web transactions and take corrective
> actions now Troubleshoot faster and improve end-user experience.
> Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists

Re: [Emc-users] Camview-emc workalike?

2016-01-31 Thread Fox Mulder
Am 31.01.2016 um 16:19 schrieb Gene Heskett:
> On Sunday 31 January 2016 07:48:43 Fox Mulder wrote:
> 
>> Am 30.01.2016 um 02:10 schrieb Gene Heskett:
>>> On Friday 29 January 2016 16:52:58 Gene Heskett wrote:
 On Friday 29 January 2016 15:01:16 Fox Mulder wrote:
> Am 29.01.2016 um 04:49 schrieb Gene Heskett:
>> On Tuesday 26 January 2016 14:16:03 Gene Heskett wrote:
>>> On Tuesday 26 January 2016 12:41:26 Fox Mulder wrote:
 Am 26.01.2016 um 18:00 schrieb Gene Heskett:
> On Tuesday 26 January 2016 09:55:33 Fox Mulder wrote:
>> Am 26.01.2016 um 13:20 schrieb Gene Heskett:
>> Here is the new script which needs a few new python packages
>> installed. For me in debian it was python3-pil, python3-pil.imagetk,
>> python3-tk.
> 
> I hope they are available in wheezy.  Checking now.  The first 2 are not. 
> 3.2.3 Compatible deb's?  URL IOW. python3-tk now installed.

Best way for you would be to use python2 where these packages would be
called python-imaging and python-imaging-tk. I think wheezy doesn't have
these packages for python3 included.

Alternatively you could try and use python pip to install these packages
for python3.

>> http://pastebin.com/YaCqLNzz
> 
> Got it, thank you. In the previous script this new camera does 1280x1024 
> natively so I updated that in the two places shown as 960.  That worked 
> well except the bottom of the display was clipped off. So I need to find 
> where I can expand the display window for that setting.

Normally the size of the tk window should resize to the given
resolution. The window itself is larger than the video resolution
because of the toolbar and the menu around it.
This is around ~86 pixels more in height which gives 1024 + 86 = 1110
pixels in height. So if your monitor doesn't have a high resolution the
window is at it's maximum and the lower end of the video get's cropped
off. Even Full-HD isn't enough for that resolution because 30 pixels are
missing in height (1110 - 1080 = 30 pixels too large). I didn't
implement any video resizing to get around this problem.

Ciao,
 Rainer

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc workalike?

2016-01-31 Thread Gene Heskett
On Sunday 31 January 2016 07:48:43 Fox Mulder wrote:

> Am 30.01.2016 um 02:10 schrieb Gene Heskett:
> > On Friday 29 January 2016 16:52:58 Gene Heskett wrote:
> >> On Friday 29 January 2016 15:01:16 Fox Mulder wrote:
> >>> Am 29.01.2016 um 04:49 schrieb Gene Heskett:
>  On Tuesday 26 January 2016 14:16:03 Gene Heskett wrote:
> > On Tuesday 26 January 2016 12:41:26 Fox Mulder wrote:
> >> Am 26.01.2016 um 18:00 schrieb Gene Heskett:
> >>> On Tuesday 26 January 2016 09:55:33 Fox Mulder wrote:
>  Am 26.01.2016 um 13:20 schrieb Gene Heskett:
> >
> > Now I have, and I believe it will do.  Best native resolution is
> > 1280x1024, and while the lens isn't focusable, and an lsusb -vv
> > shows anything that includes focus a 0, it appears its best focus is
> > at about 54mm's, not too bad a distance for this sort of machine
> > vision duties.
> >
> > I turned off the lights and came in here, which means it was running
> > on its teeny little led ring around the lens for 99% of its light,
> > and took this screen snapshot attached (if it passes the server). 
> > That line at an angle in the lower right half of the pix, is the
> > edge on view of a .0015" feeler blade.  Better than I recall the
> > older one doing, and more than adequate for most of what I do.
> >
> > It does I believe, need a power switch, its getting rather warm, too
> > warm IMO so I'd better put it close contact with the bore of a
> > couple cubic inchs of alu.

That heat, FWIW was coming from its illumination LED's, turned down to 
about half, its as cool as can be the next morning.

> > With that dim a light, thermal noise 
> > shows, and the frame rate looks to be 3 or 4 fps.  With the overhead
> > lights on, it is making about 26 fps in that resolution.  No
> > compression in the camera at that raw resolution, so the usb port is
> > moving data well.
> >
> > Next question:  Do we have in the linux toolbox, a utility that can
> > show the camera output, and give me a bunch of buttons to configure
> > a camera in real time?
>
> I updated my script a bit to use the python TKinter gui framework with
> opencv. The result is a little gui with buttons and a menu to change
> settings on the fly. But the framerate is not as high as native opencv
> viewer. This script is also just a little example what could be done
> and by no means the best coding practice. ;)
>
> Here is the new script which needs a few new python packages
> installed. For me in debian it was python3-pil, python3-pil.imagetk,
> python3-tk.

I hope they are available in wheezy.  Checking now.  The first 2 are not. 
3.2.3 Compatible deb's?  URL IOW. python3-tk now installed.

> http://pastebin.com/YaCqLNzz

Got it, thank you. In the previous script this new camera does 1280x1024 
natively so I updated that in the two places shown as 960.  That worked 
well except the bottom of the display was clipped off. So I need to find 
where I can expand the display window for that setting.
>
> Don't know if it is possible to integrate TKinter guis into LinuxCNC
> or if another gui framework would be the better choice.

AIUI, much of axis is tkinter grfx. So I expect it can be done, but I 
don't know how.

> Ciao,
>  Rainer

The attached .jpg looks very impressive. If I can get it to run on 
wheezy, I am thinking the separate display screen might not be a huge 
show-stopper as I believe I can setup all the HAL-MDI stuff to make it 
work even if its screen isn't bound to the axis gui, the gui buttons 
driving the usage are or can be, and that is the bottom line. I wasn't 
in love with the shrunken images I got by its being shrunk to fit in the 
backplot window of axis, so we'll see how this works once I locate the 
missing python stuff.

Thank you very much Rainer.

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)
Genes Web page 

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc workalike?

2016-01-29 Thread Gene Heskett
On Friday 29 January 2016 16:52:58 Gene Heskett wrote:

> On Friday 29 January 2016 15:01:16 Fox Mulder wrote:
> > Am 29.01.2016 um 04:49 schrieb Gene Heskett:
> > > On Tuesday 26 January 2016 14:16:03 Gene Heskett wrote:
> > >> On Tuesday 26 January 2016 12:41:26 Fox Mulder wrote:
> > >>> Am 26.01.2016 um 18:00 schrieb Gene Heskett:
> >  On Tuesday 26 January 2016 09:55:33 Fox Mulder wrote:
> > > Am 26.01.2016 um 13:20 schrieb Gene Heskett:
> > >
> > > Rainer:  Any progress on a camview-emc workalike?  I should know
> > > by tomorrow late if the camera I bought will work with v4l2 & the
> > > opencv script I have.
> >
> > I don't have much time at the moment to get the script working
> > together with linuxcnc. For me it only was a simple experiment if it
> > was possible to overlay an image on a live camera stream with means
> > of simple programming.
> >
> > > In the FWIW category, good lighting jumps the frame rate on this
> > > el-cheapo camera to something around 35 FPS.  Totally realtime,
> > > but slightly overexposed.  See's a piece of pcb copper just fine
> > > though. Blob detection works but slows the frame rate to half. 
> > > That is to be expected with the frame comparison method chosen.
> >
> > Most cameras only have their maximum frame rate with enough
> > lighting. Else they have longer exposure times to get a working
> > picture which limits the fps. But the limiting factor for the fps in
> > this case is the processing of the video. The more complex it is the
> > lower the fps will get. Blob detection is a simple example which
> > shows how much the processing power decides the final frame rate.
> >
> > Ciao,
> >  Rainer
>
> The other camera is here, but I've not had a chance to plug it in yet.
> Thanks for the update Rainer.
>
> Cheers, Gene Heskett

Now I have, and I believe it will do.  Best native resolution is 
1280x1024, and while the lens isn't focusable, and an lsusb -vv shows 
anything that includes focus a 0, it appears its best focus is at about 
54mm's, not too bad a distance for this sort of machine vision duties.

I turned off the lights and came in here, which means it was running on 
its teeny little led ring around the lens for 99% of its light, and took 
this screen snapshot attached (if it passes the server).  That line at 
an angle in the lower right half of the pix, is the edge on view of 
a .0015" feeler blade.  Better than I recall the older one doing, and 
more than adequate for most of what I do.

It does I believe, need a power switch, its getting rather warm, too warm 
IMO so I'd better put it close contact with the bore of a couple cubic 
inchs of alu.  With that dim a light, thermal noise shows, and the frame 
rate looks to be 3 or 4 fps.  With the overhead lights on, it is making 
about 26 fps in that resolution.  No compression in the camera at that 
raw resolution, so the usb port is moving data well.

Next question:  Do we have in the linux toolbox, a utility that can show 
the camera output, and give me a bunch of buttons to configure a camera 
in real time?

camview-emc, when it worked 3 or 4 years ago, had all that stuff as 
expandable trees of sliders etc, overlaid over the bottom 1/3rd of the 
middle view window in axis, switch around from module to module as you 
highlighted the module.  Lots and lots of things to "play with" 

We will need some of that again, and those buttons that were used to 
calibrate the offsets for the "align" utility. They each, by MDI action, 
ran a subroutine to let you drive the mill to a zero X point, record 
that, then drive the camera to the same X point, record that, repeat for 
Y so that all 4 points were know, then subtract the two X's and the 2 
Y's and store those as the camera-on, and camera-off positions.

That, combined with align's ability to rotate the co-ordinate, meant you 
could drill a couple holes all the way thru the workpiece, measure those 
holes, and with that, make a 2 sided pcb that was in perfect 
registration even if the bottom, when it was turned over, had been 
rotated by some arbitrary amount.  Otherwise you are stuck making a very 
precise pallet to hold the board, and a boatload of G38.2's locating the 
pallet & fiddling with the co-ords by hand until it works.  With all 
that working with a camera, once calibrated, it should Just Work the 
first time everytime.

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)
Genes Web page 
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/41

Re: [Emc-users] Camview-emc workalike?

2016-01-29 Thread Gene Heskett
On Friday 29 January 2016 15:01:16 Fox Mulder wrote:

> Am 29.01.2016 um 04:49 schrieb Gene Heskett:
> > On Tuesday 26 January 2016 14:16:03 Gene Heskett wrote:
> >> On Tuesday 26 January 2016 12:41:26 Fox Mulder wrote:
> >>> Am 26.01.2016 um 18:00 schrieb Gene Heskett:
>  On Tuesday 26 January 2016 09:55:33 Fox Mulder wrote:
> > Am 26.01.2016 um 13:20 schrieb Gene Heskett:
> >
> > Rainer:  Any progress on a camview-emc workalike?  I should know by
> > tomorrow late if the camera I bought will work with v4l2 & the
> > opencv script I have.
>
> I don't have much time at the moment to get the script working
> together with linuxcnc. For me it only was a simple experiment if it
> was possible to overlay an image on a live camera stream with means of
> simple programming.
>
> > In the FWIW category, good lighting jumps the frame rate on this
> > el-cheapo camera to something around 35 FPS.  Totally realtime, but
> > slightly overexposed.  See's a piece of pcb copper just fine though.
> > Blob detection works but slows the frame rate to half.  That is to
> > be expected with the frame comparison method chosen.
>
> Most cameras only have their maximum frame rate with enough lighting.
> Else they have longer exposure times to get a working picture which
> limits the fps. But the limiting factor for the fps in this case is
> the processing of the video. The more complex it is the lower the fps
> will get. Blob detection is a simple example which shows how much the
> processing power decides the final frame rate.
>
> Ciao,
>  Rainer

The other camera is here, but I've not had a chance to plug it in yet.
Thanks for the update Rainer.

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)
Genes Web page 

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc workalike?

2016-01-29 Thread Fox Mulder
Am 29.01.2016 um 04:49 schrieb Gene Heskett:
> On Tuesday 26 January 2016 14:16:03 Gene Heskett wrote:
> 
>> On Tuesday 26 January 2016 12:41:26 Fox Mulder wrote:
>>> Am 26.01.2016 um 18:00 schrieb Gene Heskett:
 On Tuesday 26 January 2016 09:55:33 Fox Mulder wrote:
> Am 26.01.2016 um 13:20 schrieb Gene Heskett:
> Rainer:  Any progress on a camview-emc workalike?  I should know by 
> tomorrow late if the camera I bought will work with v4l2 & the opencv 
> script I have.
I don't have much time at the moment to get the script working together
with linuxcnc. For me it only was a simple experiment if it was possible
to overlay an image on a live camera stream with means of simple
programming.

> In the FWIW category, good lighting jumps the frame rate on this 
> el-cheapo camera to something around 35 FPS.  Totally realtime, but 
> slightly overexposed.  See's a piece of pcb copper just fine though.
> Blob detection works but slows the frame rate to half.  That is to be 
> expected with the frame comparison method chosen.
Most cameras only have their maximum frame rate with enough lighting.
Else they have longer exposure times to get a working picture which
limits the fps. But the limiting factor for the fps in this case is the
processing of the video. The more complex it is the lower the fps will
get. Blob detection is a simple example which shows how much the
processing power decides the final frame rate.

Ciao,
 Rainer

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc workalike?

2016-01-28 Thread Gene Heskett
On Tuesday 26 January 2016 14:16:03 Gene Heskett wrote:

> On Tuesday 26 January 2016 12:41:26 Fox Mulder wrote:
> > Am 26.01.2016 um 18:00 schrieb Gene Heskett:
> > > On Tuesday 26 January 2016 09:55:33 Fox Mulder wrote:
> > >> Am 26.01.2016 um 13:20 schrieb Gene Heskett:

Ping?  and update:  I bought another camera that I hope will be even 
better, and it should be here tomorrow according to amazon.  The motor 
arrived today, and is every bit the monster I was afraid it was going to 
be. Somewhere between 10 and 20 lbs.

About the only way I could use it on the G0704 would be to buy another 
head casting and machine it to take this motor in about the same 
location as the existing spindle occupies.  A 4 bolt and 2 cable 
changeout.  And with my back, an overhead hoist of sorts on a section of 
barn door track to hold the weight while making the switch.  And a 
removable pin scheme of some sort to restore the tram.

I made a trip to Lowes to get the 250 volt wiring hardware but apparently 
bought the wrong 2 pole 15 amp breaker for the VFD.  SquareD has two 
styles of breakers so of course Murphy was working and I bought the 
commercial version instead of the Homeline version.  They do not fit in 
each others boxes.  But I am wondering if, since the line currents are 
about 7 amps at full song, if I should trade it for a 2 pole 10 amp.  
But everything else is rated at 15.  Descisions decisions.  The booklet 
with the VFD makes zero recommendations.  Gotta luv the lawyers that 
write this stuff.

Rainer:  Any progress on a camview-emc workalike?  I should know by 
tomorrow late if the camera I bought will work with v4l2 & the opencv 
script I have.

In the FWIW category, good lighting jumps the frame rate on this 
el-cheapo camera to something around 35 FPS.  Totally realtime, but 
slightly overexposed.  See's a piece of pcb copper just fine though.
Blob detection works but slows the frame rate to half.  That is to be 
expected with the frame comparison method chosen.

The image is sharp, looks better than 640x480 but despite the imprints on 
the lens face stating it has a 10x zoom, I can find no such capability 
even if I take it apart. Its a $6 dollar camera so I didn't expect much, 
and I didn't get much.  No surprise there. :)

And that motor seems to have come with a 5mm ER16 collet, so I'll have to 
find some 1/8" and 1/4" collets.  No surprise there either since it 
didn't state on the ebay listing I bought it from.

Thank you all.

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)
Genes Web page 

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc update

2016-01-26 Thread Gene Heskett
On Tuesday 26 January 2016 12:41:26 Fox Mulder wrote:

> Am 26.01.2016 um 18:00 schrieb Gene Heskett:
> > On Tuesday 26 January 2016 09:55:33 Fox Mulder wrote:
> >> Am 26.01.2016 um 13:20 schrieb Gene Heskett:
[...]
> There are not much control options because it is only a quick test
> script for opencv with a camera i hacked in a few hours. ;)
>
> I updated the script on pastebin with english help for the key
> bindings. You could just select the color of the grid, some additional
> grid lines and the blob detection.
>
> The scaling just doesn't show the 0 in the left down corner. Also a
> quick hack and it doesn't work very well with different resolutions.
> The hard coded resolutions on keys 1,2,3,4 are for my camera model.
> Maybe you have to change them for yours in the code.
>
> Because my usb microscope camera has a manual focus ring i didn't care
> about controlling the focus. So i think if the camera doesn't do it
> natively the program will not change it at all. ;)
>
> Ciao,
>  Rainer

That is the case with this camera too. But the colonoscopy camera I had 
on the toy mill does have internal focus. If I could get to the shop 
building and retrieve the remains of that camera, I'll have to see if 
its worth being fixable, the whole innards was pulled out the rear of 
the tubing  about 3/8" by an accidental tug on the cable. Shoved back in 
but not cemented it still works just fine the last time I checked it 
with cheese.  I had made a block with a hole in it to mount that one, 
with a couple pieces of ball point pen spring and some set-screws to 
adjust the parallax with. With long enough 3x.5mm screws, I could fit 
that to the bottom of the spindle brake band and still be 1.5 to 2" away 
from the workpiece. 

But its both wet out, and 40 feet of foot+ of soggy snow to get thru to 
do that, but its only uphill one way. :)  It can wait...  The snow is 
leaving slowly as its 45F locally.

Thanks Rainer.

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)
Genes Web page 

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc update

2016-01-26 Thread Fox Mulder
Am 26.01.2016 um 18:00 schrieb Gene Heskett:
> On Tuesday 26 January 2016 09:55:33 Fox Mulder wrote:
> 
>> Am 26.01.2016 um 13:20 schrieb Gene Heskett:
>>> All my machines are on the wheezy based install. Latest installed
>>> python is 2.7.3.  But I do see that 3.2.3 is available.  Can they
>>> co-exist?
>>
>> Pyhton3 and Python2 can coexist on the same machine for a long time
>> since many programs still use Python2.
>> My examples should also work with Python2 and there is no real need
>> for Python3. I only wanted to use newer Python because i program
>> mostly with it.
>>
>> Ciao,
>> Rainer
> 
> Ahh, so. That works, but is there a menu to control options?  All I see 
> is the out of focus camera output, noisy enough that the frame rate 
> might be usable.  With what looks like a 10 cm scale overlaid on the 
> left but it doesn't start at 0, like the bottom of the image is clipped 
> of by the fixed size window border.  The scale starts at 1.4 at the 
> bottom of the image.  Is that what I should be seeing?
> 
> I enabled the help, but I can't read your native language. :-[  A 
> translation I can edit in would be super. But I figured that out I 
> think.
> 
> One thing I note is that this camera can do 640x480 natively, a entering 
> a 1 for that is the only mode that shows the frame rate.
> 
> Making 5.8 FPS but low light slows that camera, its a $6 camera. I need 
> to locate something with a much longer lens as the min distance where I 
> have it mounted is about 4" from the workpiece unless I remove the tool.  
> With its fairly wide angle utility lens, the FOV at that range is 
> measured in multiple inches.

There are not much control options because it is only a quick test
script for opencv with a camera i hacked in a few hours. ;)

I updated the script on pastebin with english help for the key bindings.
You could just select the color of the grid, some additional grid lines
and the blob detection.

The scaling just doesn't show the 0 in the left down corner. Also a
quick hack and it doesn't work very well with different resolutions. The
hard coded resolutions on keys 1,2,3,4 are for my camera model. Maybe
you have to change them for yours in the code.

Because my usb microscope camera has a manual focus ring i didn't care
about controlling the focus. So i think if the camera doesn't do it
natively the program will not change it at all. ;)

Ciao,
 Rainer

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc update

2016-01-26 Thread sam sokolik
uh - wow.  sorry about that.  Move along.  nothing to see here...

On 1/26/2016 11:31 AM, sam sokolik wrote:
> I have some questions...  (time posting journal batches are acting goofy)
>
> sam
>
> On 1/26/2016 11:09 AM, Gene Heskett wrote:
>> On Tuesday 26 January 2016 11:12:00 Fox Mulder wrote:
>>
>>> Am 26.01.2016 um 16:49 schrieb Gene Heskett:
 On Tuesday 26 January 2016 06:44:48 Fox Mulder wrote:
> Am 26.01.2016 um 08:16 schrieb Gene Heskett:
>>> All the cool kids are using OpenCV
>>> http://opencv.org/
>> [...]
>>> Python3 bindings only exist in latest opencv 3.x version. Therefor i
>>> had to compile the git version myself because the repository only had
>>> opencv 2.x available. For Python3 support you have to install the
>>> python3-dev package before compiling opencv.
>> So when I followed the build/install from the web page with only python
>> 2.7.3 installed, I actually got a python2 compatible install.  Cool!
>>
>>> But the simpler solution is to use python2 with opencv like i
>>> mentioned in my last email. It gives the same functionality and should
>>> also work with my example. I tested it and the example script needs no
>>> changes to work with python2 out of the box with opencv 3.x.
>>>
>>> I haven't installed opencv 2.4 from the repository to try this version
>>> but i think the python API hasn't changed since then.
>> Sounds good , and python2 works.  Now, if I can put some hal pins in it,
>> the rest of the intergration might not be that big a deal.  But I need a
>> better camera, one with a longer lens.
>>
>> Thanks Rainer.
>>> Ciao,
>>>Rainer
>>>
>>>
>>> --
>>>  Site24x7 APM Insight: Get Deep Visibility into Application
>>> Performance APM + Mobile APM + RUM: Monitor 3 App instances at just
>>> $35/Month Monitor end-to-end web transactions and take corrective
>>> actions now Troubleshoot faster and improve end-user experience.
>>> Signup Now!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
>>> ___
>>> Emc-users mailing list
>>> Emc-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>> Cheers, Gene Heskett
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc update

2016-01-26 Thread sam sokolik
I have some questions...  (time posting journal batches are acting goofy)

sam

On 1/26/2016 11:09 AM, Gene Heskett wrote:
> On Tuesday 26 January 2016 11:12:00 Fox Mulder wrote:
>
>> Am 26.01.2016 um 16:49 schrieb Gene Heskett:
>>> On Tuesday 26 January 2016 06:44:48 Fox Mulder wrote:
 Am 26.01.2016 um 08:16 schrieb Gene Heskett:
>> All the cool kids are using OpenCV
>> http://opencv.org/
> [...]
>> Python3 bindings only exist in latest opencv 3.x version. Therefor i
>> had to compile the git version myself because the repository only had
>> opencv 2.x available. For Python3 support you have to install the
>> python3-dev package before compiling opencv.
> So when I followed the build/install from the web page with only python
> 2.7.3 installed, I actually got a python2 compatible install.  Cool!
>
>> But the simpler solution is to use python2 with opencv like i
>> mentioned in my last email. It gives the same functionality and should
>> also work with my example. I tested it and the example script needs no
>> changes to work with python2 out of the box with opencv 3.x.
>>
>> I haven't installed opencv 2.4 from the repository to try this version
>> but i think the python API hasn't changed since then.
> Sounds good , and python2 works.  Now, if I can put some hal pins in it,
> the rest of the intergration might not be that big a deal.  But I need a
> better camera, one with a longer lens.
>
> Thanks Rainer.
>> Ciao,
>>   Rainer
>>
>>
>> --
>>  Site24x7 APM Insight: Get Deep Visibility into Application
>> Performance APM + Mobile APM + RUM: Monitor 3 App instances at just
>> $35/Month Monitor end-to-end web transactions and take corrective
>> actions now Troubleshoot faster and improve end-user experience.
>> Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>
> Cheers, Gene Heskett


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc update

2016-01-26 Thread Gene Heskett
On Tuesday 26 January 2016 11:12:00 Fox Mulder wrote:

> Am 26.01.2016 um 16:49 schrieb Gene Heskett:
> > On Tuesday 26 January 2016 06:44:48 Fox Mulder wrote:
> >> Am 26.01.2016 um 08:16 schrieb Gene Heskett:
>  All the cool kids are using OpenCV
>  http://opencv.org/

[...]
> Python3 bindings only exist in latest opencv 3.x version. Therefor i
> had to compile the git version myself because the repository only had
> opencv 2.x available. For Python3 support you have to install the
> python3-dev package before compiling opencv.

So when I followed the build/install from the web page with only python 
2.7.3 installed, I actually got a python2 compatible install.  Cool!

> But the simpler solution is to use python2 with opencv like i
> mentioned in my last email. It gives the same functionality and should
> also work with my example. I tested it and the example script needs no
> changes to work with python2 out of the box with opencv 3.x.
>
> I haven't installed opencv 2.4 from the repository to try this version
> but i think the python API hasn't changed since then.

Sounds good , and python2 works.  Now, if I can put some hal pins in it, 
the rest of the intergration might not be that big a deal.  But I need a 
better camera, one with a longer lens.

Thanks Rainer.
> Ciao,
>  Rainer
>
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application
> Performance APM + Mobile APM + RUM: Monitor 3 App instances at just
> $35/Month Monitor end-to-end web transactions and take corrective
> actions now Troubleshoot faster and improve end-user experience.
> Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> ___
> 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)
Genes Web page 

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc update

2016-01-26 Thread Gene Heskett
On Tuesday 26 January 2016 09:55:33 Fox Mulder wrote:

> Am 26.01.2016 um 13:20 schrieb Gene Heskett:
> > All my machines are on the wheezy based install. Latest installed
> > python is 2.7.3.  But I do see that 3.2.3 is available.  Can they
> > co-exist?
>
> Pyhton3 and Python2 can coexist on the same machine for a long time
> since many programs still use Python2.
> My examples should also work with Python2 and there is no real need
> for Python3. I only wanted to use newer Python because i program
> mostly with it.
>
> Ciao,
> Rainer

Ahh, so. That works, but is there a menu to control options?  All I see 
is the out of focus camera output, noisy enough that the frame rate 
might be usable.  With what looks like a 10 cm scale overlaid on the 
left but it doesn't start at 0, like the bottom of the image is clipped 
of by the fixed size window border.  The scale starts at 1.4 at the 
bottom of the image.  Is that what I should be seeing?

I enabled the help, but I can't read your native language. :-[  A 
translation I can edit in would be super. But I figured that out I 
think.

One thing I note is that this camera can do 640x480 natively, a entering 
a 1 for that is the only mode that shows the frame rate.

Making 5.8 FPS but low light slows that camera, its a $6 camera. I need 
to locate something with a much longer lens as the min distance where I 
have it mounted is about 4" from the workpiece unless I remove the tool.  
With its fairly wide angle utility lens, the FOV at that range is 
measured in multiple inches.

It can focus to less than 10mm however but that close it gets in its own 
light.  But obviously I can't make a fixed mount that low since fixture 
bolts will wipe it out which is what happened to the one I had on the HF 
toy mill.  It also appears that since I rx'd the motor bracket for the 
high speed (24k rpms) spindle motor yesterday, that the only way I can 
use the new spindle motor I bought is to buy another head casting and 
machine it off to put the new spindle motor approximately where the 
existing quill is.  That would make the changeover a 4 bolt proposition, 
and a long session re-tramming the head each time unless I can make 
locking pins.  Major surgery on the second head casting IOW. I may yet 
go looking for a smaller motor, 80mm in diameter is huge.  Changing it 
out also removes the spindle encoder, limiting what the new motor can be 
asked to do.  And I am in love with rigid tapping. :)  One with a rear 
fan might allow an encoder disk to be mounted, I should limit my motor 
choices to such a critter.

I'll go bring it into focus with the lights on, but this looks as usable 
as camview-emc in terms of the video I see from the camera I have.  Must 
get better camera...  And fleabay doesn't have any. 12x telephoto lenses 
for cell phone back cameras, but that will be a quite rigid mounting to 
be useable for this. Parallax error will be a bear.

Thanks Rainer.

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)
Genes Web page 

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc update

2016-01-26 Thread Fox Mulder
Am 26.01.2016 um 16:49 schrieb Gene Heskett:
> On Tuesday 26 January 2016 06:44:48 Fox Mulder wrote:
> 
>> Am 26.01.2016 um 08:16 schrieb Gene Heskett:
 All the cool kids are using OpenCV
 http://opencv.org/
>>>
>>> Yee gawds, the git clone is north of 400 MiB!
>>> Nevertheless, it has been built and installed according to the web
>>> page directions, and I have scanned thru all the tuts, but haven't
>>> found any tuts on integrating it with LCNC. And 98% of the tuts
>>> discuss fixed still images. Not moving video which this LCNC
>>> scenario is. I have executed the 3 files it installed in
>>> /usr/local/bin, getting the help screens, none of which mention a
>>> v4l2 video source.
>>
>> Just a few days ago i needed a little program which could overlay a
>> grid over my cheap usb microscope camera. Because i couldn't find any
>> simple program i tried opencv for that purpose.
>>
>> And to be honest it is quite simple to do. Therefor i cloned the
>> latest opencv 3.1.0 git repo and compiled it to use the newly python3
>> bindings. It works nicely with v4l2 camera devices (like my usb
>> camera) and can process the video.
>>
>> But first i had to realize that opencv works with video like with all
>> other normal picture formats. It gets one frame, processes it and
>> shows the result. Than in a loop it goes to the next frame and so on.
>> So the resulting framerate depends on the processing power of the cpu.
>>
>> My simple test Script for Python 3.x is available at pastebin
>> (http://pastebin.com/jfnpDs72) which should work with most usb
>> cameras.
>>
> I got the script, installed some python3, but it dies on the import cv2 
> line.  The only cv2 is cv2.so in the 2.7 chain.
> 
> /usr/local/lib/python2.7/dist-packages/cv2.so
> 
> And I cannot find a python3 equivalent. So what package is it in?  Or is 
> it something that could be handled by python-six? But it claims to be 
> the python2 interface.
> 
> So I need some guidance.
> 
> Thanks Rainer.

Python3 bindings only exist in latest opencv 3.x version. Therefor i had
to compile the git version myself because the repository only had opencv
2.x available. For Python3 support you have to install the python3-dev
package before compiling opencv.

But the simpler solution is to use python2 with opencv like i mentioned
in my last email. It gives the same functionality and should also work
with my example. I tested it and the example script needs no changes to
work with python2 out of the box with opencv 3.x.

I haven't installed opencv 2.4 from the repository to try this version
but i think the python API hasn't changed since then.

Ciao,
 Rainer


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc update

2016-01-26 Thread Gene Heskett
On Tuesday 26 January 2016 06:44:48 Fox Mulder wrote:

> Am 26.01.2016 um 08:16 schrieb Gene Heskett:
> >> All the cool kids are using OpenCV
> >> http://opencv.org/
> >
> > Yee gawds, the git clone is north of 400 MiB!
> > Nevertheless, it has been built and installed according to the web
> > page directions, and I have scanned thru all the tuts, but haven't
> > found any tuts on integrating it with LCNC. And 98% of the tuts
> > discuss fixed still images. Not moving video which this LCNC
> > scenario is. I have executed the 3 files it installed in
> > /usr/local/bin, getting the help screens, none of which mention a
> > v4l2 video source.
>
> Just a few days ago i needed a little program which could overlay a
> grid over my cheap usb microscope camera. Because i couldn't find any
> simple program i tried opencv for that purpose.
>
> And to be honest it is quite simple to do. Therefor i cloned the
> latest opencv 3.1.0 git repo and compiled it to use the newly python3
> bindings. It works nicely with v4l2 camera devices (like my usb
> camera) and can process the video.
>
> But first i had to realize that opencv works with video like with all
> other normal picture formats. It gets one frame, processes it and
> shows the result. Than in a loop it goes to the next frame and so on.
> So the resulting framerate depends on the processing power of the cpu.
>
> My simple test Script for Python 3.x is available at pastebin
> (http://pastebin.com/jfnpDs72) which should work with most usb
> cameras.
>
I got the script, installed some python3, but it dies on the import cv2 
line.  The only cv2 is cv2.so in the 2.7 chain.

/usr/local/lib/python2.7/dist-packages/cv2.so

And I cannot find a python3 equivalent. So what package is it in?  Or is 
it something that could be handled by python-six? But it claims to be 
the python2 interface.

So I need some guidance.

Thanks Rainer.

> I implemented different things to try out. Even some simple blob
> detection filter could be de-/activated (see key bindings in code or
> press h in live video preview).
>
> About the integration into linuxcnc i have no clue but i think it
> shouldn't be too hard to do somehow.
>
> Ciao,
>  Rainer
>
> --
> Site24x7 APM Insight: Get Deep Visibility into Application
> Performance APM + Mobile APM + RUM: Monitor 3 App instances at just
> $35/Month Monitor end-to-end web transactions and take corrective
> actions now Troubleshoot faster and improve end-user experience.
> Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> ___
> 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)
Genes Web page 

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc update

2016-01-26 Thread Fox Mulder
Am 26.01.2016 um 13:20 schrieb Gene Heskett:
> All my machines are on the wheezy based install. Latest installed python 
> is 2.7.3.  But I do see that 3.2.3 is available.  Can they co-exist?

Pyhton3 and Python2 can coexist on the same machine for a long time
since many programs still use Python2.
My examples should also work with Python2 and there is no real need for
Python3. I only wanted to use newer Python because i program mostly with it.

Ciao,
Rainer


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc update

2016-01-26 Thread Gene Heskett
On Tuesday 26 January 2016 06:44:48 Fox Mulder wrote:

> Am 26.01.2016 um 08:16 schrieb Gene Heskett:
> >> All the cool kids are using OpenCV
> >> http://opencv.org/
> >
> > Yee gawds, the git clone is north of 400 MiB!
> > Nevertheless, it has been built and installed according to the web
> > page directions, and I have scanned thru all the tuts, but haven't
> > found any tuts on integrating it with LCNC. And 98% of the tuts
> > discuss fixed still images. Not moving video which this LCNC
> > scenario is. I have executed the 3 files it installed in
> > /usr/local/bin, getting the help screens, none of which mention a
> > v4l2 video source.
>
> Just a few days ago i needed a little program which could overlay a
> grid over my cheap usb microscope camera. Because i couldn't find any
> simple program i tried opencv for that purpose.
>
> And to be honest it is quite simple to do. Therefor i cloned the
> latest opencv 3.1.0 git repo and compiled it to use the newly python3
> bindings. It works nicely with v4l2 camera devices (like my usb
> camera) and can process the video.
>
> But first i had to realize that opencv works with video like with all
> other normal picture formats. It gets one frame, processes it and
> shows the result. Than in a loop it goes to the next frame and so on.
> So the resulting framerate depends on the processing power of the cpu.
>
> My simple test Script for Python 3.x is available at pastebin
> (http://pastebin.com/jfnpDs72) which should work with most usb
> cameras.
>
> I implemented different things to try out. Even some simple blob
> detection filter could be de-/activated (see key bindings in code or
> press h in live video preview).
>
> About the integration into linuxcnc i have no clue but i think it
> shouldn't be too hard to do somehow.
>
All my machines are on the wheezy based install. Latest installed python 
is 2.7.3.  But I do see that 3.2.3 is available.  Can they co-exist?

Thanks Rainer


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)
Genes Web page 

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc update

2016-01-26 Thread Fox Mulder
Am 26.01.2016 um 08:16 schrieb Gene Heskett:
>> All the cool kids are using OpenCV
>> http://opencv.org/
> 
> Yee gawds, the git clone is north of 400 MiB!
> Nevertheless, it has been built and installed according to the web page 
> directions, and I have scanned thru all the tuts, but haven't found any 
> tuts on integrating it with LCNC. And 98% of the tuts discuss fixed 
> still images. Not moving video which this LCNC scenario is.
> I have executed the 3 files it installed in /usr/local/bin, getting the 
> help screens, none of which mention a v4l2 video source.

Just a few days ago i needed a little program which could overlay a grid
over my cheap usb microscope camera. Because i couldn't find any simple
program i tried opencv for that purpose.

And to be honest it is quite simple to do. Therefor i cloned the latest
opencv 3.1.0 git repo and compiled it to use the newly python3 bindings.
It works nicely with v4l2 camera devices (like my usb camera) and can
process the video.

But first i had to realize that opencv works with video like with all
other normal picture formats. It gets one frame, processes it and shows
the result. Than in a loop it goes to the next frame and so on. So the
resulting framerate depends on the processing power of the cpu.

My simple test Script for Python 3.x is available at pastebin
(http://pastebin.com/jfnpDs72) which should work with most usb cameras.

I implemented different things to try out. Even some simple blob
detection filter could be de-/activated (see key bindings in code or
press h in live video preview).

About the integration into linuxcnc i have no clue but i think it
shouldn't be too hard to do somehow.

Ciao,
 Rainer

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc update

2016-01-25 Thread Gene Heskett
On Monday 25 January 2016 23:44:49 bari wrote:

> Camunits hasn't been touched in 6 years.
> https://code.google.com/archive/p/camunits/
>
So we have noticed.

> All the cool kids are using OpenCV
> http://opencv.org/

Yee gawds, the git clone is north of 400 MiB!
Nevertheless, it has been built and installed according to the web page 
directions, and I have scanned thru all the tuts, but haven't found any 
tuts on integrating it with LCNC. And 98% of the tuts discuss fixed 
still images. Not moving video which this LCNC scenario is.
I have executed the 3 files it installed in /usr/local/bin, getting the 
help screens, none of which mention a v4l2 video source.

> Circle recognition - opencv to linuxcnc
> https://www.youtube.com/watch?v=Pe2RACwiEbg

This looks like it was driving the tables to center the circle, which is 
something we will need to be able to do.

That code could well be made use of by the 'align.zip' kit.  No use 
re-inventing that particular wheel.  I have its gui showing, but the 
needed connections to halui have not been made so the buttons do nothing 
but depress when clicked on.

So how is it merged into LCNC?  I found zero mention of that on that 
site.  And it did not install any manpages.

Thanks bari.
>
> I've considered making new packages for Linuxcnc using OpenCV.

I just volunteered to be a tester...  Running the latest lcnc-2.8.0-pre 
stuff on 3 machines here, and a somewhat modified 2.7.3-sim on this 
machine.

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)
Genes Web page 

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc update

2016-01-25 Thread bari
Camunits hasn't been touched in 6 years.
https://code.google.com/archive/p/camunits/

All the cool kids are using OpenCV
http://opencv.org/

Circle recognition - opencv to linuxcnc
https://www.youtube.com/watch?v=Pe2RACwiEbg


I've considered making new packages for Linuxcnc using OpenCV.


On 01/25/2016 10:12 PM, Gene Heskett wrote:
> On Monday 25 January 2016 23:01:45 tom-...@bgp.nu wrote:
>
>> It was Pavel Sharmov.  His email address back in 2010 was:
>> shra...@mexmat.net -Tom
>>
> Or sharmov@?
>
> I'll see if I can send a pleading his way once that question is settled.
>
> Thanks Tom-emc.
>
> But, since its getting closer all the time for a new install.iso spin, is
> there a possilbility we should wait so he doesn't do it for wheezy and
> next month all over again for the new install, which will probably be
> Jessie based?
>
> Discussion welcomed.
>
> Cheers, Gene Heskett


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc update

2016-01-25 Thread tom-emc
Sorry, Pavel Shramov:  shra...@mexmat.net.
-Tom

> On Jan 25, 2016, at 11:12 PM, Gene Heskett  wrote:
> 
> On Monday 25 January 2016 23:01:45 tom-...@bgp.nu wrote:
> 
>> It was Pavel Sharmov.  His email address back in 2010 was:
>> shra...@mexmat.net -Tom
>> 
> Or sharmov@?
> 
> I'll see if I can send a pleading his way once that question is settled.
> 
> Thanks Tom-emc.
> 
> But, since its getting closer all the time for a new install.iso spin, is 
> there a possilbility we should wait so he doesn't do it for wheezy and 
> next month all over again for the new install, which will probably be 
> Jessie based?
> 
> Discussion welcomed.
> 
> 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)
> Genes Web page 
> 
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc update

2016-01-25 Thread Gene Heskett
On Monday 25 January 2016 23:01:45 tom-...@bgp.nu wrote:

> It was Pavel Sharmov.  His email address back in 2010 was:
> shra...@mexmat.net -Tom
>
Or sharmov@?

I'll see if I can send a pleading his way once that question is settled.

Thanks Tom-emc.

But, since its getting closer all the time for a new install.iso spin, is 
there a possilbility we should wait so he doesn't do it for wheezy and 
next month all over again for the new install, which will probably be 
Jessie based?

Discussion welcomed.

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)
Genes Web page 

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Camview-emc update

2016-01-25 Thread tom-emc
It was Pavel Sharmov.  His email address back in 2010 was: shra...@mexmat.net 
-Tom

> On Jan 25, 2016, at 10:52 PM, Gene Heskett  wrote:
> 
> Greetings;
> 
> I just now got the bounced message, the address in the camview web page 
> of deb...@psha.org.ru, is a bounce so no wonder I haven't heard back.  
> G.
> 
> Looks like we are well and truly on our own on this one.  Unless someone 
> can actually remember the persons name that did those packages.  From 
> what I have read, it wasn't Nic.
> 
> 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)
> Genes Web page 
> 
> --
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Camview-emc update

2016-01-25 Thread Gene Heskett
Greetings;

I just now got the bounced message, the address in the camview web page 
of deb...@psha.org.ru, is a bounce so no wonder I haven't heard back.  
G.

Looks like we are well and truly on our own on this one.  Unless someone 
can actually remember the persons name that did those packages.  From 
what I have read, it wasn't Nic.

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)
Genes Web page 

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] camview-emc first build fail

2016-01-20 Thread Gene Heskett
On Wednesday 20 January 2016 13:03:01 Gene Heskett wrote:

> On Wednesday 20 January 2016 12:22:24 Gene Heskett wrote:
>
> Third update:
>
> Nothing I can do will make it build the docs, in either .html or .pdf
> format, and no errors are being reported even if I run the Makefile in
> any of the three docs subdirs.  The Makefiles are being updated when I
> rerun ./configure, but make can't find anything to do in any of the
> subdirs of doc.
>
> This I think, should be the first problem I solve as that may enable
> solving the rest of it.
>
> But there aren't any errors being reported by make.
> There is a "make clean" immediately above this paste:
>
> gene@GO704:~/linuxcnc/camview-emc.src/docs$ make
> Making all in reference
> make[1]: Entering directory
> `/home/gene/linuxcnc/camview-emc.src/docs/reference'
> Making all in libcamunits
> make[2]: Entering directory
> `/home/gene/linuxcnc/camview-emc.src/docs/reference/libcamunits'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/home/gene/linuxcnc/camview-emc.src/docs/reference/libcamunits'
> Making all in libcamunits-gtk
> make[2]: Entering directory
> `/home/gene/linuxcnc/camview-emc.src/docs/reference/libcamunits-gtk'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/home/gene/linuxcnc/camview-emc.src/docs/reference/libcamunits-gtk'
> make[2]: Entering directory
> `/home/gene/linuxcnc/camview-emc.src/docs/reference'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory
> `/home/gene/linuxcnc/camview-emc.src/docs/reference'
> make[1]: Leaving directory
> `/home/gene/linuxcnc/camview-emc.src/docs/reference'
> Making all in tutorial
> make[1]: Entering directory
> `/home/gene/linuxcnc/camview-emc.src/docs/tutorial'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory
> `/home/gene/linuxcnc/camview-emc.src/docs/tutorial'
> Making all in plugins
> make[1]: Entering directory
> `/home/gene/linuxcnc/camview-emc.src/docs/plugins'
> Making all in build
> make[2]: Entering directory
> `/home/gene/linuxcnc/camview-emc.src/docs/plugins/build'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory
> `/home/gene/linuxcnc/camview-emc.src/docs/plugins/build'
> make[2]: Entering directory
> `/home/gene/linuxcnc/camview-emc.src/docs/plugins'
> make[2]: Nothing to be done for `all-am'.
> make[2]: Leaving directory
> `/home/gene/linuxcnc/camview-emc.src/docs/plugins'
> make[1]: Leaving directory
> `/home/gene/linuxcnc/camview-emc.src/docs/plugins'
> make[1]: Entering directory `/home/gene/linuxcnc/camview-emc.src/docs'
> make[1]: Nothing to be done for `all-am'.
> make[1]: Leaving directory `/home/gene/linuxcnc/camview-emc.src/docs'
>
> Puzzled is an understatement.  And I don't know enough about
> Makefile's to decode them.

If anyone wants to look at this do nothing Makefile, its attached.

Thanks.

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)
Genes Web page 
# Makefile.in generated by automake 1.11.1 from Makefile.am.
# docs/Makefile.  Generated from Makefile.in by configure.

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
# Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.



pkgdatadir = $(datadir)/camunits
pkgincludedir = $(includedir)/camunits
pkglibdir = $(libdir)/camunits
pkglibexecdir = $(libexecdir)/camunits
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = i686-pc-linux-gnu
host_triplet = i686-pc-linux-gnu
target_triplet = i686-pc-linux-gnu
subdir = docs
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
	$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/iconv.m4 \
	$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
	$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
	$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
	$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
	$(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
	$(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4

Re: [Emc-users] camview-emc?

2016-01-20 Thread Gene Heskett
On Wednesday 20 January 2016 12:55:44 Jon Elson wrote:

> On 01/20/2016 06:55 AM, Gene Heskett wrote:
> > I take it you've not made it work with our wheezy install
> > either?
>
> I tend to lag the pack quite a bit!  I think I'm still
> running 2.5.x here.
>
> Jon
>
>
Shame on you Jon. :) I am running 2.8.0pre-whatever is newest, and it is 
running better all the time.  Downright sweet IMO. 

2.7.x made me bleed from middle, or right at the end of the job, crashes 
consistently, well over 50% of the time. Maybe it didn't like atom 
boards? That has not occured even once with the 2.8.0pre's which I've 
been using for at least 6 months for everything. So when I built the 
G0704. I just automatically put it on that machine./

But go figure, sim-axis 2.7.3 runs just as sweet on this machine.

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)
Genes Web page 

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] camview-emc first build fail

2016-01-20 Thread Gene Heskett
On Wednesday 20 January 2016 12:22:24 Gene Heskett wrote:

Third update:

Nothing I can do will make it build the docs, in either .html or .pdf 
format, and no errors are being reported even if I run the Makefile in 
any of the three docs subdirs.  The Makefiles are being updated when I 
rerun ./configure, but make can't find anything to do in any of the 
subdirs of doc.

This I think, should be the first problem I solve as that may enable 
solving the rest of it.

But there aren't any errors being reported by make.
There is a "make clean" immediately above this paste:

gene@GO704:~/linuxcnc/camview-emc.src/docs$ make 
Making all in reference
make[1]: Entering directory 
`/home/gene/linuxcnc/camview-emc.src/docs/reference'
Making all in libcamunits
make[2]: Entering directory 
`/home/gene/linuxcnc/camview-emc.src/docs/reference/libcamunits'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/home/gene/linuxcnc/camview-emc.src/docs/reference/libcamunits'
Making all in libcamunits-gtk
make[2]: Entering directory 
`/home/gene/linuxcnc/camview-emc.src/docs/reference/libcamunits-gtk'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/home/gene/linuxcnc/camview-emc.src/docs/reference/libcamunits-gtk'
make[2]: Entering directory 
`/home/gene/linuxcnc/camview-emc.src/docs/reference'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory 
`/home/gene/linuxcnc/camview-emc.src/docs/reference'
make[1]: Leaving directory 
`/home/gene/linuxcnc/camview-emc.src/docs/reference'
Making all in tutorial
make[1]: Entering directory 
`/home/gene/linuxcnc/camview-emc.src/docs/tutorial'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/gene/linuxcnc/camview-emc.src/docs/tutorial'
Making all in plugins
make[1]: Entering directory 
`/home/gene/linuxcnc/camview-emc.src/docs/plugins'
Making all in build
make[2]: Entering directory 
`/home/gene/linuxcnc/camview-emc.src/docs/plugins/build'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/home/gene/linuxcnc/camview-emc.src/docs/plugins/build'
make[2]: Entering directory 
`/home/gene/linuxcnc/camview-emc.src/docs/plugins'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory 
`/home/gene/linuxcnc/camview-emc.src/docs/plugins'
make[1]: Leaving directory 
`/home/gene/linuxcnc/camview-emc.src/docs/plugins'
make[1]: Entering directory `/home/gene/linuxcnc/camview-emc.src/docs'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/gene/linuxcnc/camview-emc.src/docs'

Puzzled is an understatement.  And I don't know enough about Makefile's 
to decode them. 

> On Wednesday 20 January 2016 10:34:40 Gene Heskett wrote:
>
> Second update:
>
> Now linuxcnc runs again, but shows a white screen and none of the
> halui buttons, just the blank window.
>
> And on the screen that I launch it from a snapshot.png is attached.
> Taken with this same camera :)
>
> The invalid option -C, if removed but the following filename remains,
> gets me the same exact error from the next -g togle.ui option.  And if
> I remove that, the -H campins.hal, the -H is an error. Puzzling...
>
> Did I miss adding a build option?
>
> > On Wednesday 20 January 2016 09:44:27 Gene Heskett wrote:
> >
> > Update: ssh'd into the GO704 machine, I put a copy of the tarballs
> > contents in ~/linuxcnc/src directory. Configure failed, no libv4l2
> > stuffs.  Had synaptic install the -dev version.
> >
> > No clue if it will work, but
> > ./configure --with-v4l2-plugin; make
> > Worked, and so did a make install, which went to the default
> > /usr/local.
> >
> > Time to go add those two lines to the .ini file & see how many
> > complaints that generates for a "linuxcnc -l" launch.
> >
> > Having a heat wave, we started at about 3F, up to 10F now.  Stay
> > warm folks.
> >
> > > Greetings; fresh thread.
> > >
> > > I downloaded a tarball from psha.orh.ru, containing 0.2.0.7
> > > sources
> > >
> > > Unpacking it into a ~/src/camview-emc directory,
> > >
> > > "./configure --with-v4l2-plugin --with-v4l-plugin"
> > >
> > > appeared to work, but despite having v4l2.dev stuff installed,
> > > make exits a minute or so later with this:
> > >
> > > libtool: compile:
> > > gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread
> > > -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include
> > > -std=gnu99 -Wall -Wmissing-declarations -Wmissing-prototypes
> > > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -O2 -MT
> > > input_v4l2.lo -MD -MP -MF .deps/input_v4l2.Tpo -c input_v4l2.c 
> > > -fPIC -DPIC -o .libs/input_v4l2.o input_v4l2.c: In function
> > > ‘add_control’: input_v4l2.c:385:14: error: ‘V4L2_CID_HCENTER’
> > > undeclared (first use in this function) input_v4l2.c:385:14: note:
> > > each undeclared identifier is reported only once for each function
> > > it appears in input_v4l2.c:386:14: error: ‘V4L2_CID_VCENTER’
> > > undeclared (first use in this function) make[3]: ***
> > > [input_v4l2.lo] Error 1
> > >
>

Re: [Emc-users] camview-emc?

2016-01-20 Thread Jon Elson
On 01/20/2016 06:55 AM, Gene Heskett wrote:
> I take it you've not made it work with our wheezy install 
> either?
I tend to lag the pack quite a bit!  I think I'm still 
running 2.5.x here.

Jon


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] camview-emc first build fail

2016-01-20 Thread Gene Heskett
On Wednesday 20 January 2016 10:34:40 Gene Heskett wrote:

Second update:

Now linuxcnc runs again, but shows a white screen and none of the halui 
buttons, just the blank window.

And on the screen that I launch it from a snapshot.png is attached.  
Taken with this same camera :)

The invalid option -C, if removed but the following filename remains, 
gets me the same exact error from the next -g togle.ui option.  And if I 
remove that, the -H campins.hal, the -H is an error. Puzzling...

Did I miss adding a build option?


> On Wednesday 20 January 2016 09:44:27 Gene Heskett wrote:
>
> Update: ssh'd into the GO704 machine, I put a copy of the tarballs
> contents in ~/linuxcnc/src directory. Configure failed, no libv4l2
> stuffs.  Had synaptic install the -dev version.
>
> No clue if it will work, but
> ./configure --with-v4l2-plugin; make
> Worked, and so did a make install, which went to the default
> /usr/local.
>
> Time to go add those two lines to the .ini file & see how many
> complaints that generates for a "linuxcnc -l" launch.
>
> Having a heat wave, we started at about 3F, up to 10F now.  Stay warm
> folks.
>
> > Greetings; fresh thread.
> >
> > I downloaded a tarball from psha.orh.ru, containing 0.2.0.7 sources
> >
> > Unpacking it into a ~/src/camview-emc directory,
> >
> > "./configure --with-v4l2-plugin --with-v4l-plugin"
> >
> > appeared to work, but despite having v4l2.dev stuff installed,
> > make exits a minute or so later with this:
> >
> > libtool: compile:
> > gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread
> > -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include
> > -std=gnu99 -Wall -Wmissing-declarations -Wmissing-prototypes
> > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -O2 -MT input_v4l2.lo
> > -MD -MP -MF .deps/input_v4l2.Tpo -c input_v4l2.c  -fPIC -DPIC -o
> > .libs/input_v4l2.o input_v4l2.c: In function ‘add_control’:
> > input_v4l2.c:385:14: error: ‘V4L2_CID_HCENTER’ undeclared (first use
> > in this function) input_v4l2.c:385:14: note: each undeclared
> > identifier is reported only once for each function it appears in
> > input_v4l2.c:386:14: error: ‘V4L2_CID_VCENTER’ undeclared (first use
> > in this function) make[3]: *** [input_v4l2.lo] Error 1
> >
> > I would assume this might identify the crosshairs, but I've no clue
> > what header file is still missing.  Does this ring any bells, Jon? 
> > Or anyone else that has opened this can of worms on a wheezy based
> > system?
> >
> > Cheers, Gene Heskett
>
> Cheers, Gene Heskett


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)
Genes Web page 
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] camview-emc first build fail

2016-01-20 Thread Gene Heskett
On Wednesday 20 January 2016 09:44:27 Gene Heskett wrote:

Update: ssh'd into the GO704 machine, I put a copy of the tarballs 
contents in ~/linuxcnc/src directory. Configure failed, no libv4l2 
stuffs.  Had synaptic install the -dev version.

No clue if it will work, but 
./configure --with-v4l2-plugin; make
Worked, and so did a make install, which went to the default /usr/local.

Time to go add those two lines to the .ini file & see how many complaints 
that generates for a "linuxcnc -l" launch.

Having a heat wave, we started at about 3F, up to 10F now.  Stay warm 
folks.

> Greetings; fresh thread.
>
> I downloaded a tarball from psha.orh.ru, containing 0.2.0.7 sources
>
> Unpacking it into a ~/src/camview-emc directory,
>
> "./configure --with-v4l2-plugin --with-v4l-plugin"
>
> appeared to work, but despite having v4l2.dev stuff installed,
> make exits a minute or so later with this:
>
> libtool: compile:
> gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread
> -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include
> -std=gnu99 -Wall -Wmissing-declarations -Wmissing-prototypes
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -O2 -MT input_v4l2.lo
> -MD -MP -MF .deps/input_v4l2.Tpo -c input_v4l2.c  -fPIC -DPIC -o
> .libs/input_v4l2.o input_v4l2.c: In function ‘add_control’:
> input_v4l2.c:385:14: error: ‘V4L2_CID_HCENTER’ undeclared (first use
> in this function) input_v4l2.c:385:14: note: each undeclared
> identifier is reported only once for each function it appears in
> input_v4l2.c:386:14: error: ‘V4L2_CID_VCENTER’ undeclared (first use
> in this function) make[3]: *** [input_v4l2.lo] Error 1
>
> I would assume this might identify the crosshairs, but I've no clue
> what header file is still missing.  Does this ring any bells, Jon?  Or
> anyone else that has opened this can of worms on a wheezy based
> system?
>
> Cheers, Gene Heskett


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)
Genes Web page 

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] camview-emc first build fail

2016-01-20 Thread Gene Heskett
Greetings; fresh thread.

I downloaded a tarball from psha.orh.ru, containing 0.2.0.7 sources

Unpacking it into a ~/src/camview-emc directory, 

"./configure --with-v4l2-plugin --with-v4l-plugin" 

appeared to work, but despite having v4l2.dev stuff installed,
make exits a minute or so later with this:

libtool: compile:  
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -pthread -I/usr/include/glib-2.0 
-I/usr/lib/i386-linux-gnu/glib-2.0/include -std=gnu99 -Wall 
-Wmissing-declarations -Wmissing-prototypes -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -g -O2 -MT 
input_v4l2.lo -MD -MP -MF .deps/input_v4l2.Tpo -c input_v4l2.c  -fPIC -DPIC -o 
.libs/input_v4l2.o
input_v4l2.c: In function ‘add_control’:
input_v4l2.c:385:14: error: ‘V4L2_CID_HCENTER’ undeclared (first use in this 
function)
input_v4l2.c:385:14: note: each undeclared identifier is reported only once for 
each function it appears in
input_v4l2.c:386:14: error: ‘V4L2_CID_VCENTER’ undeclared (first use in this 
function)
make[3]: *** [input_v4l2.lo] Error 1

I would assume this might identify the crosshairs, but I've no clue what
header file is still missing.  Does this ring any bells, Jon?  Or anyone 
else that has opened this can of worms on a wheezy based system?

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)
Genes Web page 

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] camview-emc?

2016-01-20 Thread Gene Heskett
On Tuesday 19 January 2016 23:36:01 Jon Elson wrote:

> On 01/19/2016 09:30 PM, Gene Heskett wrote:
> > On Tuesday 19 January 2016 22:02:13 Jon Elson wrote:
> >> UGH!  Camview is a TOTAL can of worms.
> >
> > Burns a huge hunk of cpu time when its running, so you have to creep
> > up on the target at about 5 thou a minute because its so slow at
> > getting you an onscreen picture of where it was at least 5 seconds
> > back.  But it did work, as did the align functions in that extra kit
> > of utils.
>
> Well, I DID update my computer to one that had USB 2 ports
> on it. if you are using a camera on a USB 1.x port, that
> WILL be slow.  My camera is of relatively low resolution
> (maybe about 640 x 480 or so) and it is quite snappy, a
> total blur when jogging the table into position.  I think I
> CAN see the individual frames, but it must be at least 10-15
> frames a second.
>
On that old box I had 10-04 LTS on, it was more like 1 frame every 1.5 
seconds, and it was plugged into a USB2 port.

But this is now our wheezy based install on a Dell Dimesion 745, and a 
cheap web cam plugged in that near hidef performance, has a lag of a few 
hundred milliseconds in cheese.  Motion is smoother by far, I'd estimate 
15 fps or more.  Its a much sharper camera, laying on the desk 4" from 
my hand running the mouse, every hair on the back of my fingers is 
clearly shown. Mechanical focus by a ring around the lens, it can easily 
get to  1/2" from the lens rings face. Stripped to its cheap plastic 
case I can single hole mount it in a 1/8" sheet of alu, and the whole 
thing which is about an inch in diameter and 2.25" long, can be hid 
inside the Z casting beside the spindle as the casting is quite hollow.  
That s/b out of harms way.

> >> If you run into a specific problem, let me know, but the guy
> >> in France who wrote the crop and grafted it onto Axis is
> >> really the only person that understands it.
> >>
> >> Jon
> >
> > France?  I thought Nick (psha.org.ru) was a Russian...  The address
> > is an .ru.
>
> Well, many people may have worked on  it, but Frederic Rible
> is the guy I had in mind.  He posted some info a LONG time
> ago on the LinuxCNC forum.  Maybe I shouldn't post his email
> here, but if you send me a direct email I can give it to
> you.  Or, you can probably get it off the forum.
>
> > Ok, where to get the latest sources?  I am moderately familiar with
> > the various make's and auto-this and ./configure that's. I am
> > willing to give it a shot just to see what it reports as it dies. 
> > Maybe this time the error might be fixable if I face east as I do
> > the ./configure?
> >
> > I'll google for a git server in france tomorrow, but if you have a
> > url google doesn't, please share.

I found that blog.float.fr, but everything there seems to apply to 10-04 
LTS installs only.

And I still haven't heard back from deb...@psha.org.ru.

Once I have one eye open simultaneously, I'll see if I can find the srcs 
as thats the only place we can fix them. Nick had packages  but none for 
wheezy that I could find.

I take it you've not made it work with our wheezy install either?

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)
Genes Web page 

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] camview-emc?

2016-01-19 Thread Jon Elson
On 01/19/2016 09:30 PM, Gene Heskett wrote:
> On Tuesday 19 January 2016 22:02:13 Jon Elson wrote:
>
>>
>> UGH!  Camview is a TOTAL can of worms.
>
> Burns a huge hunk of cpu time when its running, so you have to creep up
> on the target at about 5 thou a minute because its so slow at getting
> you an onscreen picture of where it was at least 5 seconds back.  But it
> did work, as did the align functions in that extra kit of utils.
Well, I DID update my computer to one that had USB 2 ports 
on it. if you are using a camera on a USB 1.x port, that 
WILL be slow.  My camera is of relatively low resolution 
(maybe about 640 x 480 or so) and it is quite snappy, a 
total blur when jogging the table into position.  I think I 
CAN see the individual frames, but it must be at least 10-15 
frames a second.
>> If you run into a specific problem, let me know, but the guy
>> in France who wrote the crop and grafted it onto Axis is
>> really the only person that understands it.
>>
>> Jon
> France?  I thought Nick (psha.org.ru) was a Russian...  The address is
> an .ru.
Well, many people may have worked on  it, but Frederic Rible 
is the guy I had in mind.  He posted some info a LONG time 
ago on the LinuxCNC forum.  Maybe I shouldn't post his email 
here, but if you send me a direct email I can give it to 
you.  Or, you can probably get it off the forum.
> Ok, where to get the latest sources?  I am moderately familiar with the
> various make's and auto-this and ./configure that's. I am willing to
> give it a shot just to see what it reports as it dies.  Maybe this time
> the error might be fixable if I face east as I do the ./configure?
>
> I'll google for a git server in france tomorrow, but if you have a url
> google doesn't, please share.
>
> Cheers, Gene Heskett


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] camview-emc?

2016-01-19 Thread Jon Elson
On 01/19/2016 10:25 PM, Jon Elson wrote:
> On 01/19/2016 09:30 PM, Gene Heskett wrote:
>> On Tuesday 19 January 2016 22:02:13 Jon Elson wrote:
>>
>>>
>>> UGH!  Camview is a TOTAL can of worms.
>> Burns a huge hunk of cpu time when its running, so you have to creep up
>> on the target at about 5 thou a minute because its so slow at getting
>> you an onscreen picture of where it was at least 5 seconds back.  But it
>> did work, as did the align functions in that extra kit of utils.
> Well, I DID update my computer to one that had USB 2 ports 
> on it. if you are using a camera on a USB 1.x port, that 
> WILL be slow. My camera is of relatively low resolution 
> (maybe about 640 x 480 or so) and it is quite snappy, a 
> total blur when jogging the table into position.  I think 
> I CAN see the individual frames, but it must be at least 
> 10-15 frames a second.
>>> If you run into a specific problem, let me know, but the guy
>>> in France who wrote the crop and grafted it onto Axis is
>>> really the only person that understands it.
>>>
>>> Jon
>> France?  I thought Nick (psha.org.ru) was a Russian...  The address is
>> an .ru.
> Well, many people may have worked on  it, but Frederic 
> Rible is the guy I had in mind.  He posted some info a 
> LONG time ago on the LinuxCNC forum.  Maybe I shouldn't 
> post his email here, but if you send me a direct email I 
> can give it to you.  Or, you can probably get it off the 
> forum.
>> Ok, where to get the latest sources?  I am moderately familiar with the
>> various make's and auto-this and ./configure that's. I am willing to
>> give it a shot just to see what it reports as it dies.  Maybe this time
>> the error might be fixable if I face east as I do the ./configure?
>>
>> I'll google for a git server in france tomorrow, but if you have a url
>> google doesn't, please share.
>>
>> Cheers, Gene Heskett
>

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] camview-emc?

2016-01-19 Thread Gene Heskett
On Tuesday 19 January 2016 22:02:13 Jon Elson wrote:

> On 01/19/2016 06:37 PM, Gene Heskett wrote:
>
> (Darn, hit the wrong button again...)
>
> > the next step is to make camview-emc work
> > again as it stopped working when I update to the hybrid.iso, which
> > is mostly wheezy.
>
> UGH!  Camview is a TOTAL can of worms.

And quite lively too, should catch some hungry fish. :)

Burns a huge hunk of cpu time when its running, so you have to creep up 
on the target at about 5 thou a minute because its so slow at getting 
you an onscreen picture of where it was at least 5 seconds back.  But it 
did work, as did the align functions in that extra kit of utils.

> I DID manage to get 
> it working on two systems, but it was pure HELL!  It
> requires adding a crop function to camview to zoom in on the
> image, and then recompiling the whole works for your
> kernel.  And, that never goes right the first time, all
> sorts of library problems.
>
> If you run into a specific problem, let me know, but the guy
> in France who wrote the crop and grafted it onto Axis is
> really the only person that understands it.
>
> Jon

France?  I thought Nick (psha.org.ru) was a Russian...  The address is 
an .ru.

Ok, where to get the latest sources?  I am moderately familiar with the 
various make's and auto-this and ./configure that's. I am willing to 
give it a shot just to see what it reports as it dies.  Maybe this time 
the error might be fixable if I face east as I do the ./configure?

I'll google for a git server in france tomorrow, but if you have a url 
google doesn't, please share.

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)
Genes Web page 

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] camview-emc?

2016-01-19 Thread Jon Elson
On 01/19/2016 06:37 PM, Gene Heskett wrote:

(Darn, hit the wrong button again...)
> the next step is to make camview-emc work
> again as it stopped working when I update to the hybrid.iso, which is
> mostly wheezy.
>
UGH!  Camview is a TOTAL can of worms.  I DID manage to get 
it working on two systems, but it was pure HELL!  It 
requires adding a crop function to camview to zoom in on the 
image, and then recompiling the whole works for your 
kernel.  And, that never goes right the first time, all 
sorts of library problems.

If you run into a specific problem, let me know, but the guy 
in France who wrote the crop and grafted it onto Axis is 
really the only person that understands it.

Jon


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] camview-emc?

2016-01-19 Thread Jon Elson
On 01/19/2016 06:37 PM, Gene Heskett wrote:
> Greetings;
>
>
> I sent an email to the address in the README, asking if a fix for wheezy
> had been done, this about 24 hours ago, but no reply has been received
> yet.
>
> Is anybody else any smarter about this than I am?
>
> I have 2 ea 13watt daylight led lamps in the ceiling, but I feel like I
> an sitting here in the dark about camview-emc.
>
> That, and the "align" utility, make registering the two sides of a pcb an
> absolute piece of cake.
>
> Thanks for any info the rest of you have.
>
> Cheers, Gene Heskett


--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] camview-emc?

2016-01-19 Thread Gene Heskett
On Tuesday 19 January 2016 20:41:50 Chris Morley wrote:

> > From: ghesk...@wdtv.com
> > To: emc-users@lists.sourceforge.net
> > Date: Tue, 19 Jan 2016 19:37:01 -0500
> > Subject: [Emc-users] camview-emc?
> >
> > Greetings;
>
> Gene would this be any use to you?
> https://forum.linuxcnc.org/forum/show-your-stuff/30006-spindle-cam?lim
>itstart=0
>
> It may be easier to keep working as it uses a common library - CV
>
> Chris M

My back is about done for the day, so I'll hard copy this and go see if 
it will run on the mill tomorrow.

Thank you Chris Morely.

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)
Genes Web page <http://geneslinuxbox.net:6309/gene>

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] camview-emc?

2016-01-19 Thread Chris Morley


> From: ghesk...@wdtv.com
> To: emc-users@lists.sourceforge.net
> Date: Tue, 19 Jan 2016 19:37:01 -0500
> Subject: [Emc-users] camview-emc?
> 
> Greetings;
> 

Gene would this be any use to you?
https://forum.linuxcnc.org/forum/show-your-stuff/30006-spindle-cam?limitstart=0

It may be easier to keep working as it uses a common library - CV

Chris M
  
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] camview-emc?

2016-01-19 Thread Gene Heskett
Greetings;

Finally making the tach, Sp PWR (was the on-led), the fwd and reverse 
leds talling what going on, the next step is to make camview-emc work 
again as it stopped working when I update to the hybrid.iso, which is 
mostly wheezy.

I sent an email to the address in the README, asking if a fix for wheezy 
had been done, this about 24 hours ago, but no reply has been received 
yet.

Is anybody else any smarter about this than I am?

I have 2 ea 13watt daylight led lamps in the ceiling, but I feel like I 
an sitting here in the dark about camview-emc.

That, and the "align" utility, make registering the two sides of a pcb an 
absolute piece of cake.

Thanks for any info the rest of you have.

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)
Genes Web page 

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] camview-emc and 2.6.4 debian

2014-12-08 Thread rick
My hard disk went out, and now that I have replaced it, camview-emc isn't 
availible for the latest and greatest live+install image.

Anyone have camview-emc working on the latest 2.6.4 live and install Debian 
wheezy image of linuxcnc?

TIA,
rick


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Camview-emc

2013-05-30 Thread David Armstrong
has anyone packaged or compiled camview-emc under 12.04 with xenomai at all

looking at the excellent work done with the newer glade screens gscreen 
and gmoccapy
it appears at first glance that camview is over 2 years old , and could 
therefore probably do with a facelift . or to see if it is incompatable 
with newer releases .

Dave

--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users