Bugs item #2961692, was opened at 2010-03-01 22:44
Message generated for change (Comment added) made by jepler
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=2961692&group_id=6744

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: G-code Interpreter
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: staggerlyTom (tomp-tag)
Assigned to: Nobody/Anonymous (nobody)
Summary: o-word file call is ignored

Initial Comment:
o-word file call is ignored

here's the main file called 'thiscallssubfile.ngc'

 f100
g90 g21 g01 g17
g0 x0 y0 z10 f30
o<xxx> call
g0 z10
m2


heres the called file, it is named xxx.ngc
 
o<xxx> sub
g91g21f30
g1 z-.5
x.5
g02 i-.5 j0
g0 z.1
x0 y0
o<xxx> endsub
M2 


both files are in the correct place (afik and both can be called up from axis 
file dialog)
the format seems to follow the rules on 
http://www.linuxcnc.org/docview/html//gcode_main.html#cha:O-Codes


----------------------------------------------------------------------

>Comment By: Jeff Epler (jepler)
Date: 2010-03-02 08:56

Message:
In your inifile, make sure the PROGRAM_PREFIX is specified as a full path
and does not use the "home directory" syntax such as ~/emc2/nc_files.  When
PROGRAM_PREFIX contains ~ the GUIs treat it properly when determining the
initial directory for the dialog, but the interpreter does not perform the
necessary special treatment.

If this configuration change doesn't resolve the problem, then please
provide additional information.  First, what is your
[DISPLAY]PROGRAM_PREFIX?  Second, some diagnostic information that will
tell me what files the interpreter is attempting to open.  Install the
package "strace" if you don't yet have it.  Run emc.  Open a terminal, and
run
    strace -o read -p `pidof milltask`
then run thiscallssubfile.ngc and show me the results.  The result will
look something like this:
 open("sim.var.bak", O_RDONLY)           = 4
 ...
 open("/net/filesrv1/sd3a/users/jepler/emc2-dev/nc_files/main.ngc",
O_RDONLY) = 3
 open("/usr/local/jepler/src/emc2/configs/sim/~/xxx.ngc", O_RDONLY) = -1
ENOENT (No such file or directory)
 open("/xxx.ngc", O_RDONLY)              = -1 ENOENT (No such file or
directory)
 ...
where the lines about .ngc files are the interesting ones.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=2961692&group_id=6744

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to