Download Linuxcnc User Manual

Transcript
User Manual V2.5, 2015-10-24
Item:
Example:
Example:
Example:
Note:
[DISPLAY]NGCGUI_SUBFILE = subfile_filename
[DISPLAY]NGCGUI_SUBFILE = simp.ngc
[DISPLAY]NGCGUI_SUBFILE = xyz.ngc
[DISPLAY]NGCGUI_SUBFILE = ""
Use one or more items to specify ngcgui-compatible
subfiles that require an axis tab page on startup.
A "Custom" tab will be created when the filename is "".
A user can use a "Custom" tab to browse the file system
and identify preamble, subfile, and postamble files.
Item:
[DISPLAY]NGCGUI_PREAMBLE = preamble_filename
Example: [DISPLAY]NGCGUI_PREAMBLE = in_std.ngc
Note:
Optional, when specified, the file is prepended to all subfiles.
Files created with "Custom" tab pages use the preamble specified
with the page.
Item:
[DISPLAY]NGCGUI_POSTAMBLE = postamble_filename
Example: [DISPLAY]NGCGUI_POSTAMBLE = bye.ngc
Note:
Optional, when specified, the file is appended to all subfiles.
Files created with "Custom" tab pages use the postamble specified
with the page.
Item:
[DISPLAY]NGCGUI_OPTIONS = opt1 opt2 ...
Example: [DISPLAY]NGCGUI_OPTIONS = nonew noremove
Note:
Multiple options are separated by blanks.
By default, ngcgui configures tab pages so that:
1) a user can make new tabs
2) a user can remove tabs (except for the last remaining one)
3) finalized files are automatically sent to axis
4) an image frame (iframe) is made available to display
an image for the subfile
The options nonew, noremove, noauto, noiframe respectively
disable these default behaviors.
By default, if an image (.png,.gif,jpg,pgm) file
is found in the same directory as the subfile, the
image is displayed in the iframe. Specifying
the noiframe option makes available additional buttons
for selecting a preamble, subfile, and postamble and
additional checkboxes. Selections of the checkboxes
are always available with special keys:
Ctrl-R Toggle "Retain values on Subfile read"
Ctrl-E Toggle "Expand subroutine"
Ctrl-a Toggle "Autosend"
(Ctrl-k lists all keys and functions)
If noiframe is specified and an image file is found,
the image is displayed in a separate window and
all functions are available on the tab page.
The NGCGUI_OPTIONS apply to all ngcgui tabs except that the
nonew, noremove, and noiframe options are not applicable
for "Custom" tabs. Do not use "Custom" tabs if you want
to limit the user’s ability to select subfiles or create
46 / 195