- Posts: 65
- Thank you received: 0
When to use Motion and when to use halui
- frogandspanner
- Topic Author
- Offline
- Senior Member
-
Less
More
3 years 10 months ago #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 to join the conversation.
3 years 10 months ago #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 to join the conversation.
- frogandspanner
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 65
- Thank you received: 0
3 years 10 months ago #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 to join the conversation.
3 years 10 months ago #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:
Attachment not found
Please Log in to join the conversation.
Time to create page: 0.078 seconds
