Flexible GUI

More
2 years 8 months ago #292661 by JT
Replied by JT on topic Flexible GUI

I'd think you can just have the Python handler create a component and export hal pins straight out of Python right?

I think this is a really good idea for most of us who can wire up just about anything but draw a blank stare at anything that doesn't end in .hal or .ini
 
Thanks to Chris helping me figure out why the HAL pins were not showing up I'll have HAL pins connected to widgets by tomorrow!

The idea is you create a button for example with a few dynamic properties and the code "discovers" them and makes the pins and connects the button to HAL.

I'm thinking at this point having at least the following dynamic properties (you add them by clicking on the green plus sign in Property Editor for the object and adding a string property.
Code:
Name     Property function hal pin_1      name, type, direction pin_2       input, hal_bit, hal_in

JT
The following user(s) said Thank You: tommylight

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

More
2 years 8 months ago - 2 years 8 months ago #292739 by JT
Replied by JT on topic Flexible GUI
Got the MDI button code working.


You may notice the DRO pausing while running the MDI command and that has been fixed.

JT
Last edit: 2 years 8 months ago by JT.
The following user(s) said Thank You: tommylight

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

More
2 years 8 months ago #292756 by blazini36
Replied by blazini36 on topic Flexible GUI
What is the "Plot" tab? is that supposed to be Gremlin? Didn't seem to show anything when I ran the example.

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

More
2 years 8 months ago #292761 by JT
Replied by JT on topic Flexible GUI

What is the "Plot" tab? is that supposed to be Gremlin? Didn't seem to show anything when I ran the example.
 
No it's not gremlin, it's a brand new plotter based on PyQt6 and OpenGL... just not done yet. Everything in Flex GUI is based on the latest tools so it will last a long time I hope.

JT

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

More
2 years 8 months ago - 2 years 8 months ago #292766 by JT
Replied by JT on topic Flexible GUI
Keep in your mind that I just started working on this a couple of weeks ago and only work on it for about an hour each morning while having my coffee... and it's you that pointed me to the HAL pins so I'm going to finish that up first.

JT
Last edit: 2 years 8 months ago by JT.
The following user(s) said Thank You: MennilTossFlykune, eMTea

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

More
2 years 7 months ago #294999 by blazini36
Replied by blazini36 on topic Flexible GUI
Still haven't gotten around to really diving into this yet, but once I get the firmware sorted out on my new controll panel I'm gonna see what this can do.

 
The following user(s) said Thank You: JT

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

Moderators: JT
Time to create page: 0.402 seconds
Powered by Kunena Forum