Hello,

I had the same problem yesterday!

just use:

halrun -f namefile.hal

Good Luck!

Manfredi



My website: www.m24-pro.com





>From: [EMAIL PROTECTED]
>Reply-To: "Enhanced Machine Controller (EMC)" 
><[email protected]>
>To: "Enhanced Machine Controller (EMC)" <[email protected]>
>Subject: [Emc-users] Hal tutorial- restoring hal configuration?
>Date: Tue, 13 Feb 2007 10:42:20 -0500
>
>I am in the process of becoming familiar with and learning EMC2.  In going
>through the HAL tutorial I ran into a problem in paragraph 2.3.6 "Restoring 
>the
>HAL configuration.  The implication is to leave the hal environment (as 
>shown
>in
>the prompt) so before issuing the halcmd command I issued an exit command 
>first
>and then:
>
>halcmd -f saved.hal
>
>I get:
>
>RTAPI: ERROR: could not open shared memory (errno=2)
>HAL: ERROR: rtapi failed
>halcmd: hal_init() failed: -9
>NOTE: 'rtapi' kernal module must be loaded
>
>This makes sense because in the beginning of the tutorial it addresses the 
>need
>for a RTAPI environment.  So I thought I understood the error message I 
>got,
>therefore I entered:
>
>halrun
>
>Then entered the command:
>
>halcmd -f saved.hal
>
>I then got:
>
>Unknown command 'halcmd'
>
>So there apparently is an error in the tutorial.  How can I successfully 
>restore
>the Hal configuration?
>
>Jack Ensor
>
>
>
>-------------------------------------------------------------------------
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job 
>easier.
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>_______________________________________________
>Emc-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/emc-users

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to