UI for HAL development

More
13 Jul 2021 00:08 #214458 by andypugh
Replied by andypugh on topic UI for HAL development

Question to some experienced HAL-Guys: Is there a possibility to deal with adding Components at Runtime?
Could I use a workaround like removing the Component and adding the needed count of Instances and connect the previous existing ones again or are there some pitfalls?


I think that is the way to do it. Record the existing component links, unload the component, reload with one more, and re-make the connections.

Machinekit has the option to add extra instances at runtime. I think. My suggestion that this was a waste of time was met with an invitation to leave the project.

(I stand by that, in general, most configs are nearly static once they work) A config GUI like your project is a special case.
The following user(s) said Thank You: mic

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

More
14 Jul 2021 21:25 - 19 Jul 2021 15:54 #214780 by mic
Replied by mic on topic UI for HAL development
Thank you very much. I´ll test the suggestions but it will take some time.First I have to deal with some performance issues because the canvas with all lcnc components is round about 100 times bigger than my screen
Attachments:
Last edit: 19 Jul 2021 15:54 by mic.

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

More
19 Jul 2021 13:27 #215322 by andypugh
Replied by andypugh on topic UI for HAL development

 because the canvas with all lcnc components is round about 100 times bigger then my screen

Maybe a toggle to show / hide unconnected pins? 

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

More
19 Jul 2021 15:56 #215328 by mic
Replied by mic on topic UI for HAL development
That´s exactly the way i want to deal with it - but sometimes the easy things are not as simple as they look...

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

More
20 Jul 2021 19:28 #215436 by mic
Replied by mic on topic UI for HAL development
Now hiding unused ports and unused nodes is possible as showing live values of pins.
Attachments:

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

More
20 Jul 2021 19:48 #215438 by Aciera
Replied by Aciera on topic UI for HAL development
Impressive!
The following user(s) said Thank You: mic

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

More
20 Jul 2021 21:38 #215442 by tommylight
Replied by tommylight on topic UI for HAL development

Impressive!


+1
The following user(s) said Thank You: mic

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

More
27 Jul 2021 20:51 #216068 by mic
Replied by mic on topic UI for HAL development
Now it is available on Github: github.com/dev-git-usr/HAL-Editor
Some of the buttons on top are a bit buggy  but feel free to test by your self.
The following user(s) said Thank You: robertspark

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

More
27 Jul 2021 21:55 #216072 by robertspark
Replied by robertspark on topic UI for HAL development
nice
The following user(s) said Thank You: mic

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

Time to create page: 0.104 seconds
Powered by Kunena Forum