Skip to content

Commit

Permalink
add example of machine specific YAML file
Browse files Browse the repository at this point in the history
  • Loading branch information
KurtJacobson committed Dec 28, 2018
1 parent 8b31786 commit b6a4036
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 8 deletions.
11 changes: 11 additions & 0 deletions sim/custom_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

# example of a machine specific settings
windows:
mainwindow:
kwargs:
confirm_exit: false

data_plugins:
status:
kwargs:
cycle_time: 73
24 changes: 16 additions & 8 deletions sim/xyz.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ DEBUG = 0

[DISPLAY]
DISPLAY = qtpyvcp

# Comand Line Args
CONFIRM_EXIT = False
CONFIG_FILE = custom_config.yml
;FULLSCREEN = True
;MAXIMIZE = True

POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 2.000000
Expand All @@ -14,15 +21,16 @@ MIN_SPINDLE_OVERRIDE = 0.500000
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 1

; File Paths:
; File paths can be relative to the config dir:
; LOG_FILE = hazzy.log
; Or relative to $HOME: (May not be compatible with other GUIs!)
; LOG_FILE = ~/hazzy.log
; Or at an absolute location:
; LOG_FILE = /home/<USER>/hazzy.log
# File Paths:
# File paths can be relative to the config dir:
# LOG_FILE = qtpyvcp.log
# Or relative to $HOME: (May not be compatible with other GUIs!)
# LOG_FILE = ~/qtpyvcp.log
# Or at an absolute location:
# LOG_FILE = /home/<USER>/qtpyvcp.log
# Enviroment vars are also expanded:
# LOG_FILE = $CONFIG_DIR/qtpyvcp.log

;If not specified, locations default to $HOME
LOG_FILE = sim.log
PREFERENCE_FILE = sim.pref
PROGRAM_PREFIX = ~/linuxcnc/nc_files
Expand Down

0 comments on commit b6a4036

Please sign in to comment.