Re: [Emc-users] Strange Sound from Motors when Home Latched

2012-03-14 Thread Frank Tkalcevic
I had a problem similar to this, including intermittent faulting, because I
didn't have HOME_FINAL_VEL set. It was moving from the index position, to 0
too fast.  I can't remember if it was because I hadn't set the maximums yet,
or if it was the bug in joint mode, where an axis can exceed its maximum
velocity.

 -Original Message-
 From: Sebastian Kuzminsky [mailto:s...@highlab.com]
 Sent: Wednesday, 14 March 2012 4:43 PM
 To: Enhanced Machine Controller (EMC)
 Subject: Re: [Emc-users] Strange Sound from Motors when Home Latched
 
 On 03/13/2012 09:53 PM, Shabbir Hussain wrote:
  I have set up a lathe machine with analog AC servos and Mesa 7i43 and
 7i33.
  The following error is 0.017 mm at start (acceleration) and then reduced
to
 0.008 mm at 6000 mm/min. Everything is just fine except:
 
  When the machine is homed the axis moves towards home switch, touches
 it and then moves away with latch velocity. As the index pulse is
encoutered
 the axis stops with a DHUCKK sound. The sound only comes in homing
 when the axis are away from home switch ( say 150 mm). The machine runs
 fine rest of the moves. I can jog it at 7200 mm/min, stop it then move it
in
 reverse direction without any sound. The setting for HOME_SEARCH_VEL is
 20 mm/sec and HOME_LATCH_VEL is set at -1.0 mm/sec. The hal scope trace
 of the f-error signal shows an error of 0.06 mm and pid output saturated
for
 very small time.
 
  I am using 2.4.7 on ubuntu 10.04.
 
  Kindly advise?
 
 We used to call this the index homing THUMP problem  ;-)
 
 Chris Radek fixed it back in 2009; the fix is in 2.4.7 but you need to
enable it in
 hal.
 
 The pid component has a pin named index-enable, you should hook it to
 the encoder's index-enable pin to get rid of the thump.  See the pid(9)
 manpage for more details.
 
 
 --
 Sebastian Kuzminsky
 
 


--
 Virtualization  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Q re lathe vs axis

2012-03-14 Thread gene heskett
On Wednesday, March 14, 2012 03:07:04 AM Jon Elson did opine:

 gene heskett wrote:
  [gene@coyote cmds]$ ssh -Y lathe
  Warning: Permanently added 'lathe,192.168.71.5' (RSA) to the list of
  known hosts.
  gene@lathe's password:
  X11 forwarding request failed on channel 0
 
 Did you try ssh -X?  That's what I use.  Not sure it can export the open
 GL window
 from Axis, however.
 
 Then, of course, you need the computer you are on to ALLOW an X session
 to be opened on it from the remote (EMC) node.  On linux, xhost
 +nodename is what I use.
 
 I usually use something like xclock to check that the X session stuff
 works before
 trying anything like EMC.
 
 Jon
 
I'm not sure what is going on here Jon.

First, from the ssh man page:
−Y  Enables trusted X11 forwarding.  Trusted X11 forwardings are 
not subjected to the X11 SECURITY extension controls.

So I have always used the -Y login option.

I have executed 'xhost +' which turns off all access controls on this box, 
enabling anyone to use the X facilities.

2 identical machines, installed from the same cd, one works, one does not.  
The one that works uses display:10, the newer one that doesn't, tries to 
use display:0.  Someplace on that box, or on this one, is a place to set 
that, but damnedifIknowwhere.  Extensive reading of man pages in the last 
hour or more haven't even turned on a night light.

I'm sure it will be a forehead slapper when I find it.

 
 -- Virtualization  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene
-- 
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
My web page: http://coyoteden.dyndns-free.com:85/gene
Earth is a beta site.

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Q re lathe vs axis

2012-03-14 Thread Frank Tkalcevic
 2 identical machines, installed from the same cd, one works, one does not.
 The one that works uses display:10, the newer one that doesn't, tries to use
 display:0.  

display:10 is normally what I see when I ssh to a remote box.  Display:0 is the 
local machine's monitor/video card.

From memory, xhost is the old style security.  You need to look at xauth if 
you are having problems.




--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Compiling Gotcha

2012-03-14 Thread Mark Wendt
On 03/14/2012 02:01 AM, gene heskett wrote:
 On Wednesday, March 14, 2012 01:58:58 AM Kirk Wallace did opine:


 In case anyone might want to know. I've been on IRC lately with AVR
 software problems. I wanted to get an RTS signal feature activated. The
 feature gets turned on by #ifdef's in the source, so I found out I can
 do this by adding the define option, -DRTS_ENABLE, to the Makefile, but
 it didn't work. After much fiddling, I found that make doesn't look at
 source files that don't change since the last make. Since none of the
 source files ever changed, none of the #ifdef RTS_ENABLE's got done. I
 started adding LED toggles in the source to track where the RTS code
 flows and when I got to the serial port file, RTS started working
 because the file got recompiled from the LED toggle change. I removed
 all of the toggles and now have RTS and RS485. Wah Hooo.
  
 One of the reasons I am fond of a 'make clean; make'. :)

 Cheers, Gene

Even better is 'make distclean; make'.  ;-)

Mark


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] (no subject)

2012-03-14 Thread charles green
what do you suppose the laser wattage is?

--- On Tue, 3/13/12, dave dengv...@charter.net wrote:

 From: dave dengv...@charter.net
 Subject: [Emc-users] (no subject)
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Date: Tuesday, March 13, 2012, 11:38 AM
 This was sent to me by a guy at
 Boeing. Thought a few of you would
 appreciate the concept even tho the technology is a bit
 spendy. ;-)
 
 Dave
 
 
 http://www.youtube.com/watch?v=1YgEOsZ8iJgfeature=g-all-ucontext=G2fe384fFWAA
 
 
 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft
 developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5,
 CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you
 subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] (no subject)

2012-03-14 Thread Anders Wallin
Renishaw website seems to indicate between 100 and 400 W.
The description ytterbium fibre laser would suggest a wavelength
around 1064nm (not the CO2 10um usually  used for laser-cutters)

On Wed, Mar 14, 2012 at 12:19 PM, charles green xxzzb...@yahoo.com wrote:
 what do you suppose the laser wattage is?

 This was sent to me by a guy at
 Boeing. Thought a few of you would
 appreciate the concept even tho the technology is a bit
 spendy. ;-)

 Dave


 http://www.youtube.com/watch?v=1YgEOsZ8iJgfeature=g-all-ucontext=G2fe384fFWAA

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Q re lathe vs axis

2012-03-14 Thread gene heskett
On Wednesday, March 14, 2012 10:22:45 AM Frank Tkalcevic did opine:

  2 identical machines, installed from the same cd, one works, one does
  not. The one that works uses display:10, the newer one that doesn't,
  tries to use display:0.
 
 display:10 is normally what I see when I ssh to a remote box.  Display:0
 is the local machine's monitor/video card.
 
 From memory, xhost is the old style security.  You need to look at xauth
 if you are having problems.

And that man page is as obtuse as any I've seen.  I have succeeded in 
getting it to list whats in the .Xauthority file, but the syntax to 'add' 
seems beyond the man page writers ability to explain or define. The 
output of the list command locally would appear to be a 3 line format, with 
an ipv6 address leading off the middle line in the local file, and the same . 
generated MIT-MAGIC-COOKIE completing each line.  Apparently I have 
blacklisted enough ipv6 on that machine that only the MAC address is 
being shown by an ifconfig.

Here, an xauth list spits out:
[gene@coyote ~]$ xauth list
coyote.coyote.den:0  MIT-MAGIC-COOKIE-1  4a42e1926ce6b188504f8b037d05d216
[fe80::21f:c6ff:fe62:fcbb]:0  MIT-MAGIC-COOKIE-1  
4a42e1926ce6b188504f8b037d05d216
coyote.coyote.den/unix:0  MIT-MAGIC-COOKIE-1  4a42e1926ce6b188504f8b037d05d216

The ipv6 address is what an ifconfig spits out for this machine.  Its there
but I have no clue if it works.  The 'shop' box doesn't have ipv6 disabled,
and it shows inet6 addr: fe80::3a60:77ff:fe4e:381b/64 Scope:Link in the
ifconfig output.  A ping6 fe80::3a60:77ff:fe4e:381b doesn't work, acts like
a syntax error, and of course there is no man page for ping6.  Figures...
According to 'man ping' there are switches to make it use ipv6 stuff, but 
when you try them, its all unk host errors.  If they want this ipv6 crap 
to go live about 100 days from now, there is going to be a lot of gored
oxen around with the its all a big secret manpages we have now.

I have a help request posted to the xorg list, we'll see what they say. 

In the meantime:

Logged into lathe, an xauth list:
gene@lathe:~$ xauth list
xauth:  creating new authority file /home/gene/.Xauthority

repeat add infinitum

Logged into shop:
gene@shop:~$ xauth list
coyote.coyote.den/unix:0  MIT-MAGIC-COOKIE-1  b64d0542f0d05ae2e20ce5a7e681aa62
shop/unix:12  MIT-MAGIC-COOKIE-1  5291c89d9bdd54e02883c1d3da2b9f6a
shop/unix:11  MIT-MAGIC-COOKIE-1  371064acbe7290755dc6d65fcd0879a6
shop/unix:10  MIT-MAGIC-COOKIE-1  2bed8f9e22ee31afb8da68b713916518

Is there a better tut somewhere than this man page where only Sid Dabster 
would know how to read?

Cheers, Gene
-- 
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
My web page: http://coyoteden.dyndns-free.com:85/gene
I found Rome a city of bricks and left it a city of marble.
-- Augustus Caesar

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Q re lathe vs axis

2012-03-14 Thread Mark Wendt
On 03/14/2012 11:09 AM, gene heskett wrote:
 On Wednesday, March 14, 2012 11:07:29 AM Mark Wendt did opine:


 On 03/14/2012 05:19 AM, Frank Tkalcevic wrote:
  
 2 identical machines, installed from the same cd, one works, one does
 not. The one that works uses display:10, the newer one that doesn't,
 tries to use display:0.
  
 display:10 is normally what I see when I ssh to a remote box.
 Display:0 is the local machine's monitor/video card.


  From memory, xhost is the old style security.  You need to look at
 xauth if you are having problems.
  
 Also make sure X11Forwarding is set to yes in the /etc/ssh/sshd_config
 file.

 Mark

  
 It is Mark, apparently the default. From that file:

 X11Forwarding yes
 X11DisplayOffset 10

 Looks legit to me.

 Cheers, Gene

Okay, then does ssh -X hostname work?  I know you like the -Y 
qualifier, but...  ;-)

Mark

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Q re lathe vs axis

2012-03-14 Thread gene heskett
On Wednesday, March 14, 2012 11:33:06 AM Mark Wendt did opine:

 On 03/14/2012 11:09 AM, gene heskett wrote:
  On Wednesday, March 14, 2012 11:07:29 AM Mark Wendt did opine:
  On 03/14/2012 05:19 AM, Frank Tkalcevic wrote:
  2 identical machines, installed from the same cd, one works, one
  does not. The one that works uses display:10, the newer one that
  doesn't, tries to use display:0.
  
  display:10 is normally what I see when I ssh to a remote box.
  Display:0 is the local machine's monitor/video card.
  
   From memory, xhost is the old style security.  You need to look at
  
  xauth if you are having problems.
  
  Also make sure X11Forwarding is set to yes in the
  /etc/ssh/sshd_config file.
  
  Mark
  
  It is Mark, apparently the default. From that file:
  
  X11Forwarding yes
  X11DisplayOffset 10
  
  Looks legit to me.
  
  Cheers, Gene
 
 Okay, then does ssh -X hostname work?  I know you like the -Y
 qualifier, but...  ;-)
 
 Mark
 
No.  Same error:
[gene@coyote ~]$ ssh -X lathe
gene@lathe's password:
X11 forwarding request failed on channel 0

I need to get to it, a phone call managed to dislodge a dipstick tube from 
the bowels of fedex just now, that was shipped overnight monday.

Cheers, Gene
-- 
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
My web page: http://coyoteden.dyndns-free.com:85/gene
The Ancient Doctrine of Mind Over Matter:
I don't mind... and you don't matter.
-- As revealed to reporter G. Rivera by Swami Havabanana

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Compiling Gotcha

2012-03-14 Thread Kirk Wallace
On Wed, 2012-03-14 at 11:11 -0400, Mark Wendt wrote:
... snip 
  I tried that 2 or 3 times, ate my lunch every time. Deletes too much.
 
  Cheers, Gene
 
 I forgot one thing - 'make distclean, ./configure;  make'.  The 
 distclean usually deletes the Makefile created by './configure'.
 
 Mark

If I'm not mistaken, this all presumes that ./configure and make 'any
function here' exist.

To get this straight, if make clean does exist and it deletes all of
the .o files (and usually bins and other user files?), gcc will notice
on the next make that the .o's need to be compiled and will compile
all of the .c's and .h's even though none of the files have changed?

Also, in one library, the author uses data type prefixes, such as
ucMycounter instead of mycounter, then look for where it is defined to
see what type it is, such as unsigned char. Is this preferred practice?

Is there a good (modern) reference to use as C and Linux development
how-to and best practices?
-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Q re lathe vs axis

2012-03-14 Thread Kent A. Reed
On 3/14/2012 11:04 AM, gene heskett wrote:
 The ipv6 address is what an ifconfig spits out for this machine.  Its there
 but I have no clue if it works.  The 'shop' box doesn't have ipv6 disabled,
 and it shows inet6 addr: fe80::3a60:77ff:fe4e:381b/64 Scope:Link in the
 ifconfig output.  A ping6 fe80::3a60:77ff:fe4e:381b doesn't work, acts like
 a syntax error, and of course there is no man page for ping6.  Figures...
 According to 'man ping' there are switches to make it use ipv6 stuff, but
 when you try them, its all unk host errors.  If they want this ipv6 crap
 to go live about 100 days from now, there is going to be a lot of gored
 oxen around with the its all a big secret manpages we have now.
Gene:

I truly sympathize because I've also been in situations where everything 
I did seemed to make things worse, but I think this is overreacting to 
IPv6.

My recent Linux/Windows installs have all added IPv6 interfaces as shown 
by ifconfig (renamed ipconfig in Windows, thanks to some MS-dweb) even 
though I'm not setting up IPv6 intentionally. I agree the documentation 
is sorry but when was that not the case with Unix/Linux? Let the 
LinuxCNC author without sin cast the first stone regarding documentation.

Still, my hosts all just work. As a latest for instance: I just 
installed LinHES (MythTV on ArchLinux) on a host in the basement on the 
wired-LAN side of a wireless client bridge I created from a Linksys AP 
running DD-WRT. Running Ubuntu 11.10 inside VirtualBox on a Windows 7 
host on the wired-LAN side of a stock wireless AP upstairs, I was 
immediately able to ssh -Y into the LinHES box without my fingers 
leaving my hands. (Most of those details are irrelevant other than to 
show that mixing and matching a bunch of stuff using default settings 
has worked well enough for me.)

Speaking figuratively, I can't help but think that in the process of 
fixing (in the veterinarian sense) the IPv6 issues on your new host 
some wires have gotten crossed. My first car (it had fins!) didn't run 
too well either after I managed to cross several spark plug wires.

As soon as Comcast offers IPv6-service to me here in Gaithersburg I 
expect to test their connectivity. My grandmother liked to say there's 
many a slip twixt the fork and the lip. I think most of the slips with 
IPv6 are going to take place twixt us end users and the world.

Have you tried running from a LiveCD/LiveUSBStick on whichever host 
isn't cooperating (coyote, is it?)  to see if at least the basic 
distribution works?

Truth in advertising: Sometimes I'm brilliantly correct. Sometimes I'm 
spectacularly incorrect. Mostly I just muddle through, but I always 
sound like I know what I'm talking about.

Regards,
Kent

PS - whenever I get an error message I slap it into my search engine du 
jour. Surprise---X11 forwarding request failed on channel 0 gets a lot 
of play.


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Compiling Gotcha

2012-03-14 Thread Kent A. Reed
On 3/14/2012 11:11 AM, Mark Wendt wrote:
 On 03/14/2012 11:05 AM, gene heskett wrote:
 On Wednesday, March 14, 2012 11:04:37 AM Mark Wendt did opine:

 On 03/14/2012 02:01 AM, gene heskett wrote:

 On Wednesday, March 14, 2012 01:58:58 AM Kirk Wallace did opine:

 ...

 One of the reasons I am fond of a 'make clean; make'. :)

 Cheers, Gene

 Even better is 'make distclean; make'.  ;-)

 Mark

 I tried that 2 or 3 times, ate my lunch every time. Deletes too much.

 Cheers, Gene

 I forgot one thing - 'make distclean, ./configure;  make'.  The
 distclean usually deletes the Makefile created by './configure'.

 Mark

All well and good, boys and girls, but let's not forget that clean and 
distclean are not intrinsic functions of make. They are merely targets 
in the Makefile like any other.

It's become a convention to name certain targets clean, etc., but only 
the Makefile writer can give them the semantics you expect. When in 
doubt, read the file.

Regards,
Kent


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] OT: on the universal connectedness of not-so smart devices

2012-03-14 Thread Kent A. Reed
Gentle persons:

A sideshoot of the discussion of Gene's IPv6 issues was the commenting 
on smart appliances.

That was fun but a little off the mark since the dumbness of smart 
appliances isn't caused by universal connectivity, it's caused by 
programmers. Still, the Internet has the same multiplier effect that jet 
planes have on communicable diseases.

I just received from a friend this link to a TED talk that some may find 
relevant

 http://www.ted.com/talks/avi_rubin_all_your_devices_can_be_hacked.html

Regards,
Kent


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Q re lathe vs axis

2012-03-14 Thread Ed Nisley
On Wed, 2012-03-14 at 11:04 -0400, gene heskett wrote:
 And that man page is as obtuse as any I've seen.

Rather than hammering that out by hand, use the remote desktop built
right into Ubuntu?

On the Ubuntu machine attached to the mill, clicky:

System - Preferences - Remote Desktop

Then select:

Allow other users to view your desktop
Allow other users to control your desktop

Set up the Security section to suit your paranoia.

On the Ubuntu machine attached to your Comfy Chair, clicky:

Applications - Internet - Remote Desktop Viewer

It'll show you a list of what's available on your network, which should
include the milling machine. Clicky to select, feed in a password if you
set it up that way, blow that window up to full screen, and you're
there...

Works for me, anyhow. I do pretty nearly all the setup  fiddling from
the Comfy Chair for both the Sherline  Thing-O-Matic, then drop down to
the Basement Lab to actually start building things.

Not quite so manly as mud-wrestling with X, but ...

-- 
Ed
http://softsolder.com



--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] LinuxCNC 2.5.0 release date

2012-03-14 Thread Chris Radek

I'm planning to make the release on or around March 31.

If you know of any reason not to do this, please say so now!

Chris


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Q re lathe vs axis

2012-03-14 Thread gene heskett
On Wednesday, March 14, 2012 06:17:51 PM Mark Wendt did opine:

 On 03/14/2012 11:36 AM, gene heskett wrote:
  On Wednesday, March 14, 2012 11:33:06 AM Mark Wendt did opine:
  On 03/14/2012 11:09 AM, gene heskett wrote:
  On Wednesday, March 14, 2012 11:07:29 AM Mark Wendt did opine:
  On 03/14/2012 05:19 AM, Frank Tkalcevic wrote:
  2 identical machines, installed from the same cd, one works, one
  does not. The one that works uses display:10, the newer one that
  doesn't, tries to use display:0.
  
  display:10 is normally what I see when I ssh to a remote box.
  Display:0 is the local machine's monitor/video card.
  
 From memory, xhost is the old style security.  You need to
 look at
  
  xauth if you are having problems.
  
  Also make sure X11Forwarding is set to yes in the
  /etc/ssh/sshd_config file.
  
  Mark
  
  It is Mark, apparently the default. From that file:
  
  X11Forwarding yes
  X11DisplayOffset 10
  
  Looks legit to me.
  
  Cheers, Gene
  
  Okay, then does ssh -Xhostname  work?  I know you like the -Y
  qualifier, but...  ;-)
  
  Mark
  
  No.  Same error:
  [gene@coyote ~]$ ssh -X lathe
  gene@lathe's password:
  X11 forwarding request failed on channel 0
  
  I need to get to it, a phone call managed to dislodge a dipstick tube
  from the bowels of fedex just now, that was shipped overnight monday.
  
  Cheers, Gene
 
 Anything in the logs on either machine regarding the failure?
 
 Mark
 
Doesn't seem to be, Mark.


Cheers, Gene
-- 
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
My web page: http://coyoteden.dyndns-free.com:85/gene
The sweeter the apple, the blacker the core --
Scratch a lover and find a foe!
-- Dorothy Parker, Ballad of a Great Weariness

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Q re lathe vs axis

2012-03-14 Thread gene heskett
On Wednesday, March 14, 2012 07:27:40 PM Kent A. Reed did opine:

 On 3/14/2012 11:04 AM, gene heskett wrote:
  The ipv6 address is what an ifconfig spits out for this machine.  Its
  there but I have no clue if it works.  The 'shop' box doesn't have
  ipv6 disabled, and it shows inet6 addr: fe80::3a60:77ff:fe4e:381b/64
  Scope:Link in the ifconfig output.  A ping6 fe80::3a60:77ff:fe4e:381b
  doesn't work, acts like a syntax error, and of course there is no man
  page for ping6.  Figures... According to 'man ping' there are
  switches to make it use ipv6 stuff, but when you try them, its all
  unk host errors.  If they want this ipv6 crap to go live about 100
  days from now, there is going to be a lot of gored oxen around with
  the its all a big secret manpages we have now.
 
 Gene:
 
 I truly sympathize because I've also been in situations where everything
 I did seemed to make things worse, but I think this is overreacting to
 IPv6.
 
 My recent Linux/Windows installs have all added IPv6 interfaces as shown
 by ifconfig (renamed ipconfig in Windows, thanks to some MS-dweb) even
 though I'm not setting up IPv6 intentionally. I agree the documentation
 is sorry but when was that not the case with Unix/Linux? Let the
 LinuxCNC author without sin cast the first stone regarding
 documentation.
 
 Still, my hosts all just work. As a latest for instance: I just
 installed LinHES (MythTV on ArchLinux) on a host in the basement on the
 wired-LAN side of a wireless client bridge I created from a Linksys AP
 running DD-WRT. Running Ubuntu 11.10 inside VirtualBox on a Windows 7
 host on the wired-LAN side of a stock wireless AP upstairs, I was
 immediately able to ssh -Y into the LinHES box without my fingers
 leaving my hands. (Most of those details are irrelevant other than to
 show that mixing and matching a bunch of stuff using default settings
 has worked well enough for me.)
 
 Speaking figuratively, I can't help but think that in the process of
 fixing (in the veterinarian sense) the IPv6 issues on your new host
 some wires have gotten crossed. My first car (it had fins!) didn't run
 too well either after I managed to cross several spark plug wires.
 
 As soon as Comcast offers IPv6-service to me here in Gaithersburg I
 expect to test their connectivity. My grandmother liked to say there's
 many a slip twixt the fork and the lip. I think most of the slips with
 IPv6 are going to take place twixt us end users and the world.
 
 Have you tried running from a LiveCD/LiveUSBStick on whichever host
 isn't cooperating (coyote, is it?)  to see if at least the basic
 distribution works?
 
 Truth in advertising: Sometimes I'm brilliantly correct. Sometimes I'm
 spectacularly incorrect. Mostly I just muddle through, but I always
 sound like I know what I'm talking about.
 
 Regards,
 Kent
 
 PS - whenever I get an error message I slap it into my search engine du
 jour. Surprise---X11 forwarding request failed on channel 0 gets a lot
 of play.

And the third post down had a partial fix, add  AddressFamily inet to 
/etc/ssh/sshd_config, and that error goes away.  But linuxcnc -l fails, 
leaving this in linuxcnc_debug.txt:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec TASK -var TASK_LD_PRELOAD -num 1
Can not find -sec DISPLAY -var DISPLAY_LD_PRELOAD -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
23359
  PID TTY  STAT   TIME COMMAND
23411
  PID TTY  STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components

Is there no end to this?

Thanks all.

Cheers, Gene
-- 
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
My web page: http://coyoteden.dyndns-free.com:85/gene
An entire fraternity of strapping Wall-Street-bound youth.  Hell - this
is going to be a blood bath!
-- Post Bros. Comics

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] LinuxCNC 2.5.0 release date

2012-03-14 Thread Jon Elson
Chris Radek wrote:
 I'm planning to make the release on or around March 31.

 If you know of any reason not to do this, please say so now!

   
WOW, at LAST!  Great news!

I wish I could make some of my docs better, and may take another look at 
them,
but I'm just too close to it to ever be able to read it as a beginner.

Thanks for all the hard work!

Jon

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Q re lathe vs axis

2012-03-14 Thread gene heskett
On Wednesday, March 14, 2012 10:09:09 PM Ed Nisley did opine:

 On Wed, 2012-03-14 at 11:04 -0400, gene heskett wrote:
  And that man page is as obtuse as any I've seen.
 
 Rather than hammering that out by hand, use the remote desktop built
 right into Ubuntu?
 
 On the Ubuntu machine attached to the mill, clicky:
 
 System - Preferences - Remote Desktop
 
 Then select:
 
 Allow other users to view your desktop
 Allow other users to control your desktop
 
 Set up the Security section to suit your paranoia.
 
 On the Ubuntu machine attached to your Comfy Chair, clicky:
 
No ubuntu machine anywhere near the 'Comfy Chair' Ed.  PClos on this quad 
core phenom.  Running a newer kernel than the LTS, using the bfs scheduler.  
Its noticably a snappier desktop than the same kernel using the cfs 
scheduler.

 Applications - Internet - Remote Desktop Viewer
 
 It'll show you a list of what's available on your network, which should
 include the milling machine. Clicky to select, feed in a password if you
 set it up that way, blow that window up to full screen, and you're
 there...
 
 Works for me, anyhow. I do pretty nearly all the setup  fiddling from
 the Comfy Chair for both the Sherline  Thing-O-Matic, then drop down to
 the Basement Lab to actually start building things.
 
 Not quite so manly as mud-wrestling with X, but ...

Chuckle.  I did go check, linuxcnc runs just fine from its own keyboard, 
but not from an ssh login.  This all works tikitti-boo on the mills box.

Cheers, Gene
-- 
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
My web page: http://coyoteden.dyndns-free.com:85/gene
I'm not afraid of dying, I just don't want to be there when it happens.
-- Woody Allen

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Voltage to frequency for analog input

2012-03-14 Thread Scott Hasse
 If you just want to go from analog to LinuxCNC, have you considered
 using an ATmega to parallel port interface? The AVR can accept pure
 analog or some pulsed variety, such frequency counting , PWM or PDM. A
 dual parallel port PCI card is ~$15, Arduino Pro Mini for $20:
 http://www.sparkfun.com/products/9218

 You could isolate the parallel port pins with a parallel port breakout
 board. This could run with a real-time component.

As far as I understand it that is basically what I am doing with my current
approach of an Arduino with a small program to go from an analog input to
frequency output, with the frequency out going to an isolated I/O daughter
card input (Mesa 7i37 I believe) of a Mesa 5i23.  The problem to me seems
to be the software encoder rate, which I believe I would hit with your
suggestion as well.  Or are you suggesting not doing analog-to-frequency
but rather something like 8 digital inputs and using the weighted_sum
component?

Thanks for clarifying,

Scott
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Q re lathe vs axis

2012-03-14 Thread Jon Elson

 gene heskett wrote:
   
I just checked, LinuxCNC will run over an ssh -X connection, but the 
graphics
are MASSIVELY slow.  Once the Axis GUI is up, it isn't too bad, but it takes
30 seconds or more for it to come up the first time.  The repaint of the 3-D
preview takes a couple seconds.

Now, one detail is I have Open GL on the computer I am running the session
from,  I imagine that makes a difference.  Touchy or TKEmc would
work without Open GL.  Basically any computer that has LinuxCNC installed
should be able to run a remote version of LinuxCNC over an ssh connection.
Otherwise, it would need Open GL to handle the 3-D graphic window from
Axis.

Jon

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Q re lathe vs axis

2012-03-14 Thread gene heskett
On Wednesday, March 14, 2012 11:50:05 PM Jon Elson did opine:

  gene heskett wrote:
 I just checked, LinuxCNC will run over an ssh -X connection, but the
 graphics
 are MASSIVELY slow.  Once the Axis GUI is up, it isn't too bad, but it
 takes 30 seconds or more for it to come up the first time.  The repaint
 of the 3-D preview takes a couple seconds.
 
 Now, one detail is I have Open GL on the computer I am running the
 session from,  I imagine that makes a difference.  Touchy or TKEmc
 would work without Open GL.  Basically any computer that has LinuxCNC
 installed should be able to run a remote version of LinuxCNC over an
 ssh connection. Otherwise, it would need Open GL to handle the 3-D
 graphic window from Axis.
 
 Jon
 
It works just fine, with nice snappy gfx on an identical box that is 
running the mill.  gfx is better and faster than on its own screen.

Cheers, Gene
-- 
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
My web page: http://coyoteden.dyndns-free.com:85/gene
brain, n:
The apparatus with which we think that we think.
-- Ambrose Bierce, The Devil's Dictionary

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Voltage to frequency for analog input

2012-03-14 Thread Kirk Wallace
On Wed, 2012-03-14 at 21:56 -0500, Scott Hasse wrote:
... snip
 Or are you suggesting not doing analog-to-frequency
 but rather something like 8 digital inputs and using the weighted_sum
 component?
... snip

Yes, analog to Arduino to parallel port. I didn't realize you already
had an Arduino in the loop. I would think you could use ten parallel
port and Arduino pins to feed the analog value to LinuxCNC. The SPP
experiment section here:
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?AVR 

shows a setup for sending eight bits at a time out to an AVR with SPP,
input with ten bits shouldn't be too much harder and can run at or close
to the base thread rate.
-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users