On Wednesday 29 August 2018 11:17:36 Dewey Garrett wrote:

> > hm2/hm2_7i90.0: invalid token in config string: "{num_encoders=4"
> >
> >> It looks almost as if the loadrt hostmot2 line has "grown" some
> >> spurious brackets
>
> This error report could be caused by:
>    a) malformed loadrt line in the hal file (not posted)
> or
>    b) complex loadrt string parameters mishandled by twopass
> proccessing.
>
> The latter case (b)) is addressed in the master branch (2.8~pre)
> by a provision to exclude individual hal files from twopass
> processing.
>
> Document Ref:
> http://linuxcnc.org/docs/devel/html/hal/twopass.html#_exluding_hal_fil
>es
>
> To avoid errors from a problematic fpga loadrt line,
> place the loadrt line in a separate hal file that
> uses the magic comment "#NOTWOPASS" to exclude
> twopass processing for that file alone.  Example:
>   $ cat excludeme.hal
>   #NOTWOPASS
>   loadrt hm2_... ...
>
> And use appropriate ini entries:
>   [HAL]
>   TWOPASS = verbose
>   HALFILE = excludeme.hal
>   HALFILE = one.hal
>   HALFILE = two.hal
>   ...
>
> NOTE: The addf commands for the loaded module should be located
> in a file that *is* handled by twopass processing in order to ensure
> the desired order of module execution.
>
Isn't that rather effectively bypassed when the second loadrt is in the 
postgui stuff?

>
> The implementing commit is available in the master branch after
> March of2018.
> Ref: https://github.com/LinuxCNC/linuxcnc/commit/a7ca8053a
>
> The provided sim config (configs/sim/axis/twopass/twopass.ini)
> demonstrates using the halfile
> configs/sim/axis/twopass/twopass_excluded.hal)

If its fixed, its not arrived in the armhf version of master, which was 
updated yesterday on that machine.  And I've not heard of the NOTWOPASS 
option ever before today.

I'll leave it running w/o the TWOPASS, and continue with my bedwear 
stuff. I'm building that one step at a time since I might have to 
actually use that lathe for something else while I'm working on the 
bedwear comp.

Thanks Dewey.

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to