On 17.02.12 21:55, Kirk Wallace wrote:
> I looked in some of the include files and didn't see where FOR_ALL_INSTS
> was defined, but gave up after a while.
Kirk, you made me curious. Here's a quick way to that kind of stuff:
$ egrep -r FOR_ALL_INSTS /usr/local/src/emc2-dev-17a4ae5/ > /tmp/grep
$
On Sat, 2012-02-18 at 01:08 +, andy pugh wrote:
> On 18 February 2012 00:37, Kirk Wallace wrote:
>
> >FOR_ALL_INSTS() {// <-- I have no idea what FOR_ALL_INSTS () is
> > or does, or where it lives, but it seems to work
>
> It is briefly mentioned here:
> http://linuxcnc.org/docs
On 18 February 2012 00:37, Kirk Wallace wrote:
> FOR_ALL_INSTS() { // <-- I have no idea what FOR_ALL_INSTS () is or
> does, or where it lives, but it seems to work
It is briefly mentioned here:
http://linuxcnc.org/docs/html/hal_comp.html#r1_8
It is a macro[1] that expands to loop thr
In case anyone is interested.
Well, after do battle with dead PC's and learning how to make user
components. I've come to some conclusions. I tried to use the rand
component sample from the comp documentation as a guide:
http://www.linuxcnc.org/docview/html/hal_comp.html#r1_14_6
Only after much