halviewer, go or no go?

More
5 years 5 months ago #207587 by andypugh
Replied by andypugh on topic halviewer, go or no go?

Grotius wrote: You see in the middle there is space left.

Possible addon's :

- Maybe add a halscope there?
- Or a s-curve motion profile tester?
- Or a hal config builder?


Graphical representation of the whole hal tree :-)

(That might be difficult, though it has been done in Rockhopper, for example)
wiki.linuxcnc.org/cgi-bin/wiki.pl?Rockhopper_Web_Server

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

More
5 years 5 months ago #207609 by pippin88
Replied by pippin88 on topic halviewer, go or no go?
I'm interested, looks good

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

More
5 years 5 months ago #207614 by Grotius
Replied by Grotius on topic halviewer, go or no go?
Hi Tom,

Yes a scope is nice !

Hi Andy,

A halgraph or visual hal representation could be nice !

I don't have a clue how to add the arrow lines between items.

In general, i can try a new approach in 3d. This is more interesting for me to set up then a 2d graph.

For example to visulalize the standard axis gui, it has 18 components, 774 pins, 69 parameters, etc running
This is a huge ammount of data. It's almost a neural network.

Then we could integrate a 3d halscope with the same viewer. This can be quite interesting to see what happens.

Ok i will make a test today.
The following user(s) said Thank You: chris@cnc

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

More
5 years 5 months ago #207620 by chris@cnc
Replied by chris@cnc on topic halviewer, go or no go?
One great improvement would be the last search or last view function. and if the pins including pvcp are already pre-sorted in an axis view. then with little search you would have an overview of every axis or spindle.
The following user(s) said Thank You: Grotius

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

More
5 years 5 months ago - 5 years 5 months ago #207628 by Grotius
Replied by Grotius on topic halviewer, go or no go?
Hi Chris,

The pin's are pre-sorted already in the Tableview.
It sort's the pin's for the component. I didn't see this routine showing up in the hal source code.

One great improvement would be the last search or last view function.
Ok

Attached a very basic example of a halview in 3d. (ps. remember the axis gui has over 700+ pins, see previous post)
It's not documented but for the colors:

Purple = component.
Orange = float pin
Red = bit bit, status off
Green = bit pin, status on
Cyan = S32 pin
Yellow = U32 pin

Then i adapted arrows (in z+ direction) for port direction "IN" and "OUT" to the bitpins, these are 2 tones of brown.

In this way it can be build up in z direction. Then the signals could be connected with lines.

Let me know your suggestions.

Last edit: 5 years 5 months ago by Grotius.
The following user(s) said Thank You: tommylight

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

More
5 years 5 months ago #207640 by chris@cnc
Replied by chris@cnc on topic halviewer, go or no go?
Hi Grotius
This matrix looks very nice. Perhaps a little easier to read horizontally. And usually you take the halshow when something goes wrong. And the reason is usually a typo or a broken chain. How about if a sheet only knows all your halfile pins and show the route with these blocks and colors horizontally.
Then select chains and shift to second sheet to make it easier to observe. And this sheet remains even after the restart until you change it.
Practically like the ladder, but then you will only see errors and not everything. That would be pretty cool.
The following user(s) said Thank You: Grotius

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

Time to create page: 0.132 seconds
Powered by Kunena Forum