>> Can the code that expands the references in the INI file do
>> multiplication then?
>Sadly not, it would be useful at times.
Computations, loops, conditionals, procedures, etc. are doable in
ini files using haltcl as a substitue for halcmd.
The syntax for haltcl files is very similar to halcmd.
Ini files can include both hal and haltcl files, and they
can be intermixed with care:
[HAL]
HALFILE=core_sim.tcl
HALFILE=otherfile.hal
Ref:
http://www.linuxcnc.org/docs/html/hal/haltcl.html
http://article.gmane.org/gmane.linux.distributions.emc.devel/2518/match=haltcl
$ man haltcl
There is an example sim ini file in:
configs/sim/simtcl/twopass_demo.ini
The example uses the axis gui and provides procedures
that implement the setup steps normally done with
core_sim.hal, axis_manualtoolchange.hal, simulated_home.hal
--
Dewey Garrett
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users