Halui Component

More
11 Jul 2019 09:55 #139091 by stegrg
Replied by stegrg on topic Halui Component
I created a "stepstatus" Userspace component and saved in the .axisrc file as outlined in earlier posts. I can see the stepstatus component in the Hal Configuration tree and it works properly. How do I connect to the stepstatus.step_activated pin signal in my Hal file? When I try to use the pin signal, Linuxcnc returns the following error:
"./my_LinuxCNC_machine.hal:59: Pin 'stepstatus.stepactivated' does not exist"

Do I need to add a "loaduser" command to my Hal file?

Please Log in or Create an account to join the conversation.

More
12 Jul 2019 15:45 #139180 by andypugh
Replied by andypugh on topic Halui Component
The extra Axis pins are only created after Axis itself has loaded, and this is after the main HAL files have been parsed.

So, your "net" commands need to be in the POSTGUI_HALFILE that is run after the GUI has finished loading.

(Look in your INI to see which file that is, or add one if there is no such entry)
The following user(s) said Thank You: stegrg

Please Log in or Create an account to join the conversation.

Time to create page: 0.256 seconds
Powered by Kunena Forum