[LinuxCNC/linuxcnc PR#339] Renew new user module hal2UI

未分类 bolang 4个月前 (10-15) 25次浏览

Issue #339 | 状态: 已关闭 | 作者: jasenk2 | 创建时间: 2017-10-04


Module is interface between hal and any user interface or program via linux sockets


评论 (2)

#1 – SebKuzminsky 于 2017-10-04

@jasenk2 can you explain the purpose of this comp? It reads a struct from a unix domain socket and sets HAL pins accordingly, and writes a struct of HAL pin values to the unix domain socket?

This adds a new, special-purpose IPC mechanism. Why not have the process on the other side of the socket access the HAL pins directly, via nets/signals?


#2 – jasenk2 于 2017-10-05

Yes it is designed to provide IPC to 32 pins and 1 32bit unsigned integer
for system proposes and specialized GUI

2017-10-04 22:54 GMT+03:00 Sebastian Kuzminsky :

> @jasenk2 <https://github.com/jasenk2> can you explain the purpose of this
> comp? It reads a struct from a unix domain socket and sets HAL pins
> accordingly, and writes a struct of HAL pin values to the unix domain
> socket?
>
> This adds a new, special-purpose IPC mechanism. Why not have the process
> on the other side of the socket access the HAL pins directly, via
> nets/signals?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/LinuxCNC/linuxcnc/pull/339#issuecomment-334270599>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ACATkRtIy4WpurjQFmpPzK7ExaohIKerks5so-J8gaJpZM4PuGBC>
> .
>


原始Issue: https://github.com/LinuxCNC/linuxcnc/pull/339

喜欢 (0)