When to use Motion and when to use halui
- frogandspanner
- Offline
- Senior Member
Less
More
- Posts: 65
- Thank you received: 2
08 Dec 2022 15:29 #258894
by frogandspanner
When to use Motion and when to use halui was created by frogandspanner
I am confused by two examples with which I have been working, and I referred to them in another posting
MPG Handwheel - how to make it operate when linuxCNC/axis not homed
In the code wiki.linuxcnc.org/cgi-bin/wiki.pl?Hooking_Up_A_MPG_Pendant jogging is carried out using what I understand is Motion in such hal as net pend-counts axis.0.jog-counts <= encoder.0.counts
but the code for using a Joypad at wiki.linuxcnc.org/cgi-bin/wiki.pl?Simple_Remote_Pendant
action is via halui in lines such as
net jog-x-analog <= mux2_x.out => mux2_x.in0 halui.joint.0.analog halui.axis.x.analogWhy does one use motion, the other halui.
MPG Handwheel - how to make it operate when linuxCNC/axis not homed
In the code wiki.linuxcnc.org/cgi-bin/wiki.pl?Hooking_Up_A_MPG_Pendant jogging is carried out using what I understand is Motion in such hal as net pend-counts axis.0.jog-counts <= encoder.0.counts
but the code for using a Joypad at wiki.linuxcnc.org/cgi-bin/wiki.pl?Simple_Remote_Pendant
action is via halui in lines such as
net jog-x-analog <= mux2_x.out => mux2_x.in0 halui.joint.0.analog halui.axis.x.analogWhy does one use motion, the other halui.
Please Log in or Create an account to join the conversation.
08 Dec 2022 16:29 #258897
by rodw
Replied by rodw on topic When to use Motion and when to use halui
The joypad is not real time as its connected by USB.
The MPG uses an encoder so its real time
halui is a userspace non real time component
Motion is real time
expand man pages on the docs page will list the user space components followed by the real time components
The MPG uses an encoder so its real time
halui is a userspace non real time component
Motion is real time
expand man pages on the docs page will list the user space components followed by the real time components
Please Log in or Create an account to join the conversation.
- frogandspanner
- Offline
- Senior Member
Less
More
- Posts: 65
- Thank you received: 2
08 Dec 2022 17:33 #258901
by frogandspanner
Replied by frogandspanner on topic When to use Motion and when to use halui
So is halui an interface between userspace and kernel/real-time?
I am a little unclear as to what you mean by "expand man pages on the docs page".
A url would help this ignoramus.
I am a little unclear as to what you mean by "expand man pages on the docs page".
A url would help this ignoramus.
Please Log in or Create an account to join the conversation.
09 Dec 2022 00:36 - 09 Dec 2022 00:37 #258946
by andypugh
linuxcnc.org/docs/stable/html/
And:
Replied by andypugh on topic When to use Motion and when to use halui
Here:I am a little unclear as to what you mean by "expand man pages on the docs page".
A url would help this ignoramus.
linuxcnc.org/docs/stable/html/
And:
Attachments:
Last edit: 09 Dec 2022 00:37 by andypugh.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
Time to create page: 0.077 seconds