> I just pushed some commits that make the 2.5 debs build again for me.
> Two commits concern ngcgui, and the last concerns pncconf.  ngcgui now
> starts and runs for me in both RIP and packaged mode, but it cannot find
> its ngcgui_lib dir.  Dewey, could you take a look at that?

ok -- just now, i tried the following (RIP installed at /home/git/emc))

$ git pull  ;# v2.5_branch
$ make clean
$ make
$ source /home/git/emc/scripts/emc-environment
$ emc
# when the EMC2 Configuration Selector is presented,
# select sim/ngcgui (or sim/ngcgui_simp or sim/ngcgui_lathe)
# to run ngcgui tab pages
# worked for me

# With emc still runnning ngcgui.ini, test ngcgui as standalone
# in a separate process:

$ source /home/git/emc/scripts/emc-environment
$ ngcgui --help
Usage:
  ngcgui --help | -?
  ngcgui [Options] -D nc_files_directory_name
  ngcgui [Options] -i emc_inifile_name
  ngcgui [Options]

  Options:
         [-S subroutine_file]
         [-p preamble_file]
         [-P postamble_file]
         [-o output_file]
         [-a autosend_file]            (autosend to axis default:auto.ngc)
         [--noauto]                    (no autosend to axis)
         [--font [big|small|fontspec]] (default: "Helvetica -10 normal")
         [--horiz|--vert]              (default: --horiz)
         [--cwidth comment_width]      (width of comment field)
         [--vwidth varname_width]      (width of varname field)
         [--quiet]                     (fewer comments in outfile)
         [--noiframe]                  (default: frame displays image)

# then run ngcgui as standalone specifying the same ini file
# that is in use for emc:
$ ngcgui -i /home/git/emc/configs/sim/ngcgui.ini
# Subfile button-- select ngcgui_lib, then select xyz.ngc (for example)
# worked in the expected manner for me

# then test standalone specifying nc_files_directory_name explicitly:
$ ngcgui -D /home/git/emc/nc_files/ngcgui_lib
# Subfile button-- select ngcgui_lib, then select gosper.ngc (for example)
# worked for me

# then test standalone specifying a subfile:
$ ngcgui -S /home/git/emc/nc_files/ngcgui_lib/gosper.ngc
# worked for me

#... there are numerous other tests for other options and
#    options combinations
# I expect most users will only use withngcgui embedded as axis 
# tabs and standalone usage will be less common

Note: to use ngcgui as standalone, the _running_ emc must
be using an ini file with appropriate settings for
  [RS274NGC]SUBROUTINE_PATH
  [RS274NGC]USER_M_PATH
  [DISPLAY]PROGRAM_PREFIX
in order to find subroutines invoked from within subroutines

If there is a problem finding ngcgui_lib with packaged version, I
will probably need more information on the aberrant behavior.

dewey

-- 
Dewey Garrett


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to