halviewer, go or no go?

More
02 May 2021 14:41 - 02 May 2021 15:14 #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.

Attachments:
Last edit: 02 May 2021 15:14 by Grotius.
The following user(s) said Thank You: tommylight

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

More
02 May 2021 15:37 #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.

More
02 May 2021 17:51 - 02 May 2021 17:55 #207657 by Grotius
Replied by Grotius on topic halviewer, go or no go?
Hi Chris,

How about if a sheet only knows all your halfile pins and show the route with these blocks and colors horizontally.
This pins is what you see. It are the colored boxes.

I have to think about implementation some more.

Each item you see, can be clicked. When clicked i can code that is show's related data.

Attached picture is when halview is rotated to horizontal by the rotate box.
The blue lines are all the signals of the axis gui project.
This axis gui project has 31 signals. Each signal may contain readers and writers.

It isn't showing internal component connections lines from pin to pin, they are now invisible.

You see one component is huge. It's like a tower to the moon.

Attachments:
Last edit: 02 May 2021 17:55 by Grotius.
The following user(s) said Thank You: chris@cnc

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

More
02 May 2021 18:50 #207666 by chris@cnc
Replied by chris@cnc on topic halviewer, go or no go?
Hi Grotius
Yes i forgot, some components have lots of pins.
But the idea is very nice. Makes diagnosis easier for mechanics too. They always need pictures.:)
The following user(s) said Thank You: Grotius

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

More
03 May 2021 14:52 - 03 May 2021 14:53 #207727 by Grotius
Replied by Grotius on topic halviewer, go or no go?
Hi,

For now i have finished the program. You can download it to give it a try.

It has the watchlist :

1. The watchlist is auto saved.
2. The watchlist is loaded after program restart.
3. You can clear the watchlist.

It has a halcommand input and a halcommand verbose output.

During install it will create a desktop launcher into the system menu, and it will create a ldconfig to link the liblinuxcnchal.so.

So far as i can see it works.

Download .deb installer :
sourceforge.net/projects/halview/

Attachments:
Last edit: 03 May 2021 14:53 by Grotius.
The following user(s) said Thank You: tommylight, Aciera

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

More
03 May 2021 22:54 #207760 by andypugh
Replied by andypugh on topic halviewer, go or no go?
Maybe drop the pins that are not connected from the viewer?

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

More
05 May 2021 02:41 #207921 by Grotius
Replied by Grotius on topic halviewer, go or no go?
Hi Andy,

It shows the current loaded hal config. It's tested with a quite huge halconfig, the standard axis gui template.

A future plan could be using it to create hal files.

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

More
05 May 2021 13:03 #207961 by andypugh
Replied by andypugh on topic halviewer, go or no go?

Hi Andy,

It shows the current loaded hal config. It's tested with a quite huge halconfig, the standard axis gui template.


I thought that it looked to be showing all pins of the loaded modules. I was suggesting only showing _used_ pins of loaded modules.
(Though you also want to be able to see unused pins, so you can see which ones need to be connected)

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

Time to create page: 1.805 seconds
Powered by Kunena Forum