Re: [Emc-developers] Personality in userspace components.

2021-02-22 Thread andy pugh
On Mon, 22 Feb 2021 at 11:07, andy pugh wrote: > There is a problem using "personality" with userspace components > _when_using_Halcompile. https://github.com/LinuxCNC/linuxcnc/issues/1089 -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of m

Re: [Emc-developers] Personality in userspace components.

2021-02-22 Thread andy pugh
On Mon, 22 Feb 2021 at 11:01, Nicklas SB Karlsson wrote: > ? Made simple driver with variable number of pins read from > configuration file at startup. I think that the problem is with RTAPI_MP_ARRAY_INT in userspace. You can work around this (with significant effort) in a hand-built component,

Re: [Emc-developers] Personality in userspace components.

2021-02-22 Thread andy pugh
On Mon, 22 Feb 2021 at 11:01, Nicklas SB Karlsson wrote: > ? Made simple driver with variable number of pins read from > configuration file at startup I forget some important information. There is a problem using "personality" with userspace components _when_using_Halcompile. -- atp "A motorc

Re: [Emc-developers] Personality in userspace components.

2021-02-22 Thread Nicklas SB Karlsson
Den 2021-02-21 kl. 01:50, skrev andy pugh: There seems to be a problem using "personality" in a userspace component (which makes it hard to have a variable number of pins) ? Made simple driver with variable number of pins read from configuration file at startup. I however found values in .hal

[Emc-developers] Personality in userspace components.

2021-02-20 Thread andy pugh
There seems to be a problem using "personality" in a userspace component (which makes it hard to have a variable number of pins) code:= component test; option userspace; license "GPL"; pin in unsigned test-##[16:personality]; ;; void user_mainloop(void) { while (1) {