Michael,

Sorry, I was responding from memory and gave you the wrong path. It is
relative to the nc_files folder ($HOME/emc2/nc_files by default). At any
rate do the following:

In your hal file add the line:
loadusr emcrsh
IOW, with no parameters. To get it going we will use all of the defaults.

For testing purposes you can use the sim tkemc configuration. Just add the
above to core_sim.hal in the configs/sim folder.

Then telnet in and issue the following commands:

hello EMC client 1.0
set echo off
set verbose on
set enable EMCTOO
set task_plan_init
set mode auto
set open examples/3D_Chips.ngc

This should load the 3D_Chips.ngc example program.

I turned verbose on so that you get more informative error messages. The
remainder is the sequence I use when loading a new program.

Regards,
Eric


Eric,
Thanks for the response but I still can't convince the "set open test.ngc"
command to work. I've moved the nc_files directory all over the machine to
no avail. The relative directory error message, of course, is less than
helpful. I think the trick will be to get the -ini method working. If I
could explicitly specify the path then debugging would be easier.  Has
anyone gotten the "set open" method working on Ubuntu? If so, please shed
some light.

Rafael,
I think your points are valid but they don't simply apply to linux novices.
Relative paths without a well documented root are difficult to work with and
confusing even to folks like me with 30 years of software experience!


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to