linuxcnc/lib/hallib
Dewey Garrett b4cd046890 xhc-hb04.tcl: if prior connects, continue with msg
Sometimes users attempt to use xhc-hb04.tcl with prior
HALFILE hal connections (typically halui pins) that are
required for use of xhc-hb04.tcl.

Formerly, such connections were reported to stdout
and prevented LinuxCNC startup with xhc-hb04.tcl.

Now, such connections are reported to both stdout and a
popup -- but startup is allowed to continued with
a concomitant loss of functionality

Often, users may be able to correct by reordering HALFILEs
and/or using the signal names created by xhc-hb04.tcl

For more complicated configurations, users may loadusr
the xhc-hb04 userspace driver directly and forego use of
xhc-hb04.tcl.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-01-09 10:08:32 -07:00
..
axis_manualtoolchange.hal hallib: relocate common halfiles to lib/hallib 2015-01-10 13:59:32 -07:00
basic_sim.tcl basic_sim.tcl: remove reqmt for ini parameter 2014-12-28 06:14:40 -07:00
core_servo.hal hallib: relocate common halfiles to lib/hallib 2015-01-10 13:59:32 -07:00
core_sim.hal hallib: relocate common halfiles to lib/hallib 2015-01-10 13:59:32 -07:00
core_sim9.hal hallib: relocate common halfiles to lib/hallib 2015-01-10 13:59:32 -07:00
core_stepper.hal hallib: relocate common halfiles to lib/hallib 2015-01-10 13:59:32 -07:00
gantrysim.hal hallib: relocate common halfiles to lib/hallib 2015-01-10 13:59:32 -07:00
hal_procs_lib.tcl hal_procs_lib.tcl: proc for finding halfile 2015-07-31 15:26:57 -07:00
halcheck.tcl halcheck: suppress gui if no errors 2015-01-19 21:35:24 -07:00
hookup_moveoff.tcl hal_procs_lib.tcl: consolidate common procs 2015-02-22 07:16:25 -07:00
lathe.hal hallib: relocate common halfiles to lib/hallib 2015-01-10 13:59:32 -07:00
locking_indexer.hal hallib: relocate common halfiles to lib/hallib 2015-01-10 13:59:32 -07:00
moveoff_external.hal moveoff_gui: verify non-connect of some pins 2015-02-26 09:22:00 -07:00
README halcheck: library halfile to check common errors 2015-01-19 18:35:58 -07:00
servo_sim.hal hallib: relocate common halfiles to lib/hallib 2015-01-10 13:59:32 -07:00
sim_lib.tcl twopass.tcl: handle haltcl files with args 2014-12-26 15:44:02 -07:00
sim_spindle_encoder.hal hallib: relocate common halfiles to lib/hallib 2015-01-10 13:59:32 -07:00
simulated-gantry-home.hal hallib: relocate common halfiles to lib/hallib 2015-01-10 13:59:32 -07:00
simulated_home.hal hallib: relocate common halfiles to lib/hallib 2015-01-10 13:59:32 -07:00
simulated_limits.hal hallib: relocate common halfiles to lib/hallib 2015-01-10 13:59:32 -07:00
tripodsim.hal hallib: relocate common halfiles to lib/hallib 2015-01-10 13:59:32 -07:00
util_lib.tcl util_lib.tcl utilities for haltcl halfiles 2014-12-26 15:44:14 -07:00
var_show.tcl moveoff.txt,ini_config.txt: doc update 2014-12-26 15:44:40 -07:00
xhc-hb04-layout1.cfg hallib: support for system-wide halfiles 2014-12-16 19:33:51 -07:00
xhc-hb04-layout2.cfg hallib: support for system-wide halfiles 2014-12-16 19:33:51 -07:00
xhc-hb04.tcl xhc-hb04.tcl: if prior connects, continue with msg 2017-01-09 10:08:32 -07:00

This directory contains halfiles (*.hal and *.tcl) that are available
using the LinuxCNC halfile search path or by an explicit directive.

The HALLIB_PATH is '.:HALLIB_DIR'
   The '.' specifies the directory containing the ini file.
   HALIB_DIR specifies this directory.

The explicit directive uses a prefix (LIB:) to identify halfiles:
  [HAL]
  HALFILE = LIB:filename.[hal|tcl]

The LinuxCNC startup script (linuxcnc) finds each halfile using the
HALLIB_PATH unless the explicit directive is used.

Also included in this directory are files associated with included
system halfiles.  For example, the button layout files
(xhc-hb04-layout*.cfg) that are used with the halfile xhc-hb04.tcl.
------------------------------------------------------------------------


Hal files (*.hal)          Notes
-----------------------    ---------------------------------------------
axis_manualtoolchange.hal  setup for using hal_manualtoolchange
                             (for axis or other guis)
core_sim.hal               xyz simulator config
core_servo.hal             xyz servo (pid) config
core_sim9.hal              9 axis (xyzabcuvw) simulation config
core_stepper.hal           xyz stepper config
gantrysim.hal              gantrykins config, 4 joints: X Y Y Z
lathe.hal                  simulate spindle with encoder,sim_encoder
locking_indexer.hal        simulate locking rotary using timedelay comp
moveoff_external.hal       Simulate external control connections for
                             a moveoff component
servo_sim.hal              simulate servo (pid) xyz using lowpass comp
sim_spindle_encoder.hal    simulate spindle with lowpass filter
simulated-gantry-home.hal  simulate gantry home switches (4 joints)
simulated_home.hal         simulate xyz home switches
simulated_limits.hal       simulate xyz limit switches
tripodsim.hal              simulated tripodkins system

Haltcl Files (*.tcl)       Notes
-----------------------    ---------------------------------------------
basic_sim.tcl              set up a sim config (arbitrary no. of axes)
var_show.tcl               show ini variables and context

hookup_moveoff.tcl         make connections for a moveoff component

xhc-hb04.tcl               Configuration builder for xhc-hb04 pendant
xhc-hb04-layout1.cfg         button layout 1 for xhc-hb04.tcl
xhc-hb04-layout2.cfg         button layout 2 for xhc-hb04.tcl

halcheck.tcl               Report: 1) functions without addf
                                   2) signals with no inputs
                                   3) signals with no output

Haltcl libs (*_lib.tcl)    Notes
-----------------------    ---------------------------------------------
sim_lib.tcl                simulator config procedures
                             procs:
                               core_sim       (arbitrary axes)
                               make-ddts      (arbitrary axes)
                               simulated_home (arbitrary axes)
                               use_hal_manualtoolchange
                               sim_spindle
util_lib.tcl               utility procedures
                             procs:
                               show_context (calling parms)
                               show_ini     (ini file settings)
                               show_env     (environmental vars)