On Tue, Feb 17, 2009 at 10:59:14PM -0600, Jon Elson wrote:
> I have a couple EMC2 systems using the Ubuntu 6.06 build from some time
> ago, with updated EMC on them.
> I recently wanted to check the latency numbers, and ran into this when I
> tried to run latency-test :
>
> ./latency-test: line 136: halrun: command not found
In a run-in-place system, latency-test requires that you set up the
proper environment variables. The command to do this in a shell is
. scripts/emc-environment
(assuming you are in the top directory of an emc2 checkout; you could
use a full path such as
. /usr/src/emc2.cvs/scripts/emc-environment
or whatever is appropriate on your system).
The suggestion that PATH should contain "." doesn't make much sense to me.
> second thing .... I was machining something yesterday, and right after
> starting up EMC, I couldn't set the X coordinates with the Axis "touch
> off" button. It seemed like it had a 10.00" offset between where I was
> and where zero was. The day before a program I had run left a 10.00 in
> variable #1. I thought all the variables under 1000 were available to
> the user. (The example at 13.2 in the user's manual uses #1 in a loop
> construct.) I think I got it to go back to normal with an MDI command
> like #1=0.0, but I was stumbling around and in a hurry, so I didn't
> document what was going on as well as I should have.
There shouldn't be a connection between putting the value 10.00 in #1
and this extra 10.00" offset you saw. You should be free to use #1 for
any purpose you like in MDI or in part programs. (though variables
#1 through #?? have special meaning in 'O- call' and 'O- sub': they are
used for arguments and local variables)
Jeff
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users