On Thursday 03 October 2013 14:46:18 Dewey Garrett did opine:

> >> 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

Some interesting concepts there, thanks for the tut and links, Dewey.

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)

True happiness will be found only in true love.
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
         law-abiding citizens.

------------------------------------------------------------------------------
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
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to