I think modularity is a good thing and will plug the option for
twopass processing that can be specified in an ini file as:

  [HAL]
  TWOPASS=[on][verbose][nodelete]

With twopass processing, you can loadrt a given comp type
in more than one file.  If one uses twopass processing _and_
the names= option for all applicble loadrts, it becomes possible
to use and distribute .hal files without modifying other hal
files.

There are limitations since not all comp files support the names=
option and some modules (like kins, motmod, etc) are not 
applicable.


Simulator examples included in the distribution are:
   configs/sim/simtcl/twopass_compat.ini
   configs/sim/simtcl/twopass_demo.ini

The first, twopass_compat.ini, duplicates the setup for
configs/sim/axis/axis.ini with TWOPASS processing to show
compatibilty with _existing_ .hal files.

The second, twopass_demo.ini, uses TWOPASS and haltcl to
demonstrate the use of programming constructs like procedures,
loops, and computations.  It duplicates the behavior of
configs/sim/axis/axis.ini by using a single haltcl file.

Additional info:
  http://linuxcnc.org/docs/html/common/starting-emc.html#_twopass
  http://linuxcnc.org/docs/html/hal/haltcl.html

-- 
Dewey Garrett


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to