What directory is the file you are providing in? The .ini file should 
have a line PROGRAM_PREFIX=some_directory in the [DISPLAY] section.

That directory is where the file should be located. The file name should 
be something like: 1.ngc or name.ngc.

Ken

Thorsten Seefeldt wrote:
> I tried this using the emc2-sim version 1:2.3.3
> I also use the actual non-sim version of emc2. 
> 
> Greetings
> 
> Thorsten
> 
> 
> Am Samstag, den 12.09.2009, 01:44 +0300 schrieb Alex Joni:
>> What emc2 version are you using?
>>
>> Regards,
>> Alex
>>
>> ----- Original Message ----- 
>> From: "Thorsten Seefeldt" <th.seefe...@gmx.de>
>> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
>> Sent: Saturday, September 12, 2009 1:15 AM
>> Subject: Re: [Emc-users] EMC G-Code - Calling Files
>>
>>
>>> I changed the ini file as you told me, but it still does not work.
>>> Some more ideas?
>>>
>>>
>>> Thorsten
>>>
>>>
>>> Am Donnerstag, den 10.09.2009, 20:12 +0200 schrieb Thomas Jager:
>>>> Try setting:
>>>>
>>>> [RS274NGC]
>>>> LAZY_CLOSE = 1
>>>>
>>>> In your ini file.
>>>>
>>>> On Thu, 2009-09-10 at 19:54 +0200, Thorsten Seefeldt wrote:
>>>>> Hello,
>>>>>
>>>>> I want to call a subroutine which I have moved to a separate file.
>>>>> The documentation says this can be done like this:
>>>>>
>>>>> o<myfile> call (a named file)
>>>>>
>>>>> ------
>>>>>
>>>>> myfile.ngc
>>>>> o<myfile> sub
>>>>> ...
>>>>> o<myfile> endsub
>>>>> M2
>>>>>
>>>>> Unfortunately this does not work. Nothing happens when the command
>>>>> "o<myfile> call" is executed.
>>>>>
>>>>> Can somebody please send me a working example?
>>>>>
>>>>> Many Thanks
>>>>>
>>>>>
>>>>> Thorsten
>>>>>
>>
>>
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

-- 
Kenneth Lerman
Mark Kenny Products Company, LLC
55 Main Street
Newtown, CT 06470
888-ISO-SEVO
203-426-7166

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to