On Tuesday 13 December 2016 04:35:44 andy pugh wrote: > On 13 December 2016 at 02:08, Gene Heskett <[email protected]> wrote: > > raises the question as to where I can put the related addf's? > > Anywhere you want, but it needs to be after the related loadrt. > > Note that you can specify a thread position explicitly in the "addf" > command. I can't find it mentioned in the docs, but it is there in the > code > https://github.com/LinuxCNC/linuxcnc/blob/af15a4d90e1d51d5309db65fe1c9 >511e486df411/src/hal/hal_lib.c#L1973
I'd have to assume its a space/tab separated argument, from the code, last in the string before any # identifying comments. And it opens the door to even greater freedom in composing a .hal sequence of files in the manner I described & you clipped. Planning ahead, I'll try to use blocks of numbers that may leave gaps so there is room to go back later and insert the gear change suggesting code in the intervening, still unused numerical space in the thread execution order. I currently have 78 in TLM's main hal file, so as a starter I'll use 1-20 for one function, 21-40 for the next group. Wash rinse and repeat. And find out if it doesn't like missing numbers in the sequence. But first, get rid of the errors in the 30 megabaud link between the r-pi and the 7i90. I might have the hardware to make that source terminated cable late today as I got notice from digi-key that it was shipped Sunday evening. Peter says the 7i90 is already source terminated, so I should only worry about the r-pi's output pins. That teeny detail isn't noted other than /SCLK in the docs I have and which I have to assume is sourced by the r-pi. Nor does the r-pi and the 7i90 use the same names for the signals. Testing to see what works could rapidly become an n! problem. This will be a learning experience for sure. :) Thank you Andy. 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-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
