Graphing a HAL configuration
16 Nov 2019 17:52 #150485
by kentavv
Graphing a HAL configuration was created by kentavv
Is there a nice way to graph HAL configurations? The HAL Configuration dialog in Axis is informative, but I thought graphing might be useful. I'd like a way to better understand and review my own HAL files but perhaps a different view would help others modify theirs. If a graphing tool not exists, I'd be glad to make an attempt to write one.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
16 Nov 2019 18:43 #150490
by tommylight
Replied by tommylight on topic Graphing a HAL configuration
Have a look here, user Grotius did just that.
The following user(s) said Thank You: kentavv
Please Log in or Create an account to join the conversation.
16 Nov 2019 21:50 #150495
by kentavv
Replied by kentavv on topic Graphing a HAL configuration
Is the following link to the right program? Thank you, I'll check it.
forum.linuxcnc.org/plasma-laser/34978-th...w-to?start=40#115472
forum.linuxcnc.org/plasma-laser/34978-th...w-to?start=40#115472
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
16 Nov 2019 22:26 #150496
by tommylight
Replied by tommylight on topic Graphing a HAL configuration
Yes.
Please Log in or Create an account to join the conversation.
17 Nov 2019 08:45 #150509
by pl7i92
Replied by pl7i92 on topic Graphing a HAL configuration
isent just the hal_show on pins a good as it showes al connected pins to eatch other
a graph may be good for peopel with background in programming
but the normal metall worker with non pc background will be upset on all the lines
a graph may be good for peopel with background in programming
but the normal metall worker with non pc background will be upset on all the lines
Please Log in or Create an account to join the conversation.
18 Nov 2019 13:56 #150581
by andypugh
Replied by andypugh on topic Graphing a HAL configuration
Please Log in or Create an account to join the conversation.
06 Nov 2021 13:23 - 08 Nov 2021 00:12 #225499
by tjtr33
Replied by tjtr33 on topic Graphing a HAL configuration
I have always been fascinated by graphs and maps
Here's another tool for Hal visualization
Its a graph editor, it is very preliminary
Its called Nodz and is at
github.com/LeGoffLoic/Nodz/tree/master
I modified it to:
pan zoom scroll and aded net names to the beziers
I changed some transparencies to allow the nets to be visible thru the comps
( rather than code the beziers to avoid comps )
I hard coded a few comps into the demo
I enabled save and load
There is a lot to be done to make this as useful as RockHopper and HalPyGraph
but it looks promising
I am not versed in Python, so the aliasing and choosing the
correct flavours of QtGui QtCore abd QtWidgets was hard-won.
The next challenge for me is to make unique names for each 'plug' (net names)
( another dict to learn, a plug is a source pin sorta )
So, many simple hacks have been done but the
parse hal, output editable graph, save graph and new hal
is a long way off.
I invite any wanting to, to get my source. ( its just 4 text files so far)
thanks
Tomp 06nov2021 20:16 Thailand
Here's another tool for Hal visualization
Its a graph editor, it is very preliminary
Its called Nodz and is at
github.com/LeGoffLoic/Nodz/tree/master
I modified it to:
pan zoom scroll and aded net names to the beziers
I changed some transparencies to allow the nets to be visible thru the comps
( rather than code the beziers to avoid comps )
I hard coded a few comps into the demo
I enabled save and load
There is a lot to be done to make this as useful as RockHopper and HalPyGraph
but it looks promising
I am not versed in Python, so the aliasing and choosing the
correct flavours of QtGui QtCore abd QtWidgets was hard-won.
The next challenge for me is to make unique names for each 'plug' (net names)
( another dict to learn, a plug is a source pin sorta )
So, many simple hacks have been done but the
parse hal, output editable graph, save graph and new hal
is a long way off.
I invite any wanting to, to get my source. ( its just 4 text files so far)
thanks
Tomp 06nov2021 20:16 Thailand
Last edit: 08 Nov 2021 00:12 by andypugh. Reason: typos
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
06 Nov 2021 13:37 #225500
by tommylight
Replied by tommylight on topic Graphing a HAL configuration
Sweet!
Thank you.
Thank you.
Please Log in or Create an account to join the conversation.
06 Nov 2021 21:58 #225532
by cmorley
Replied by cmorley on topic Graphing a HAL configuration
interesting - it could be embedded into one on the qtvcp screens.
I would suggest setting it up similar to halshow where you can pick a component for a list then it will visualize the connections related to that component.
Showing the whole configuration in one visualisation seems like it would be awkward.
I would suggest setting it up similar to halshow where you can pick a component for a list then it will visualize the connections related to that component.
Showing the whole configuration in one visualisation seems like it would be awkward.
Please Log in or Create an account to join the conversation.
07 Nov 2021 06:06 - 07 Nov 2021 06:09 #225547
by tjtr33
Replied by tjtr33 on topic Graphing a HAL configuration
cmorley wrote:
interesting - it could be embedded into one on the qtvcp screens.
I have not thought about embedding it, possible though.
It's meant to help explain text based netlists
I would suggest setting it up similar to halshow where you can pick a component for a list then it will visualize the connections related to that component.
Thats possible, a palette could show comps,
but again the intent is to show hal relationships rather than indvidual comp pin/params
But users can do as they wish ( i did similar in geda long ago )
Showing the whole configuration in one visualisation seems like it would be awkward.
Agreed, a basic problem in visualization is seeing the part you are interested in and how that relatess to the whole.
I think thats where the user can re-organize/subdivide logical groups that fit on a 'page' ( old Forth concept )
yet still scroll to the sorurces or destinations of that logical group. And to zoom out to see how the grouping
relates to the whole. I think it is an 'explainer'.
There's a great video by Lyft Architects about how complex diagrams can be viewd /edited
Its on Vimeo, but you dont really have to join to see it
vimeo.com/72447811
thats the bleeding edge bladerunner extreme tomp
interesting - it could be embedded into one on the qtvcp screens.
I have not thought about embedding it, possible though.
It's meant to help explain text based netlists
I would suggest setting it up similar to halshow where you can pick a component for a list then it will visualize the connections related to that component.
Thats possible, a palette could show comps,
but again the intent is to show hal relationships rather than indvidual comp pin/params
But users can do as they wish ( i did similar in geda long ago )
Showing the whole configuration in one visualisation seems like it would be awkward.
Agreed, a basic problem in visualization is seeing the part you are interested in and how that relatess to the whole.
I think thats where the user can re-organize/subdivide logical groups that fit on a 'page' ( old Forth concept )
yet still scroll to the sorurces or destinations of that logical group. And to zoom out to see how the grouping
relates to the whole. I think it is an 'explainer'.
There's a great video by Lyft Architects about how complex diagrams can be viewd /edited
Its on Vimeo, but you dont really have to join to see it
vimeo.com/72447811
thats the bleeding edge bladerunner extreme tomp
Last edit: 07 Nov 2021 06:09 by tjtr33. Reason: typos
Please Log in or Create an account to join the conversation.
Time to create page: 0.100 seconds