- Posts: 959
- Thank you received: 489
How to add HAL pins to QtPyVCP?
- scotta
- Offline
- Platinum Member
-
Less
More
7 years 6 months ago - 7 years 6 months ago #130869
by scotta
Replied by scotta on topic How to add HAL pins to QtPyVCP?
Kurt,
Again fantastic work. With the HAL functionality you have now truly created a fully customisable VCP environment!
A really simple test.
custom_postgui.hal
Result:
Nice!!
Scott
Again fantastic work. With the HAL functionality you have now truly created a fully customisable VCP environment!
A really simple test.
| HalSlider - objectName: | bed_temp_SP | |
| HalLabel - objectName: | bed_temp_PV | |
| HalLCDNumber - objectName: | bed_temp_SP_LCD |
custom_postgui.hal
Code:
net bed-temp qtpyvcp.bed-temp-SP.out-f => qtpyvcp.bed-temp-PV.in
net bed-temp => qtpyvcp.bed-temp-SP-LCD.in-f
Result:
Nice!!
Scott
Last edit: 7 years 6 months ago by scotta.
The following user(s) said Thank You: KCJ
Please Log in or Create an account to join the conversation.
- KCJ
- Offline
- Moderator
-
Less
More
- Posts: 328
- Thank you received: 267
7 years 6 months ago #130870
by KCJ
Replied by KCJ on topic How to add HAL pins to QtPyVCP?
Scott, glad the HAL widgets work for you!
I like your idea of the combined setpoint slider and readout, I'll have a go at making that.
Cheers,
Kurt
I like your idea of the combined setpoint slider and readout, I'll have a go at making that.
Cheers,
Kurt
The following user(s) said Thank You: scotta
Please Log in or Create an account to join the conversation.
- scotta
- Offline
- Platinum Member
-
Less
More
- Posts: 959
- Thank you received: 489
7 years 6 months ago #130871
by scotta
Replied by scotta on topic How to add HAL pins to QtPyVCP?
Thanks Kurt,
The only other thing that would be really cool would be a HAL plot widget. For my 3D Printer UI this would be allow the trending of temperatures over time, something other Printer UI's have... I really need to learn more Python.
BR
Scott
The only other thing that would be really cool would be a HAL plot widget. For my 3D Printer UI this would be allow the trending of temperatures over time, something other Printer UI's have... I really need to learn more Python.
BR
Scott
Please Log in or Create an account to join the conversation.
- KCJ
- Offline
- Moderator
-
Less
More
- Posts: 328
- Thank you received: 267
7 years 6 months ago #130882
by KCJ
Replied by KCJ on topic How to add HAL pins to QtPyVCP?
A HAL plot widget would be useful for all sorts of things.
PyQtGraph
is a very capable PyQt based plotting toolkit that would be easy to integrate with QtPyVCP. There are other parts of QtPyVCP I need to concentrate on now, but if you would like to play with adding a HAL plot widget I would be more than happy to help guide you.
Cheers,
Kurt
Cheers,
Kurt
The following user(s) said Thank You: scotta
Please Log in or Create an account to join the conversation.
- scotta
- Offline
- Platinum Member
-
Less
More
- Posts: 959
- Thank you received: 489
7 years 6 months ago #130930
by scotta
Replied by scotta on topic How to add HAL pins to QtPyVCP?
Hi Kurt,
Thanks. I keen to learn some more python so that would be great. Probably the simplest way would for the HAL Plot Widget to create it's own pins and use the custom_postgui.hal file to net the required connections. Then how to format range and spans... First step though is to understand the widget framework.
BR
Scott
Thanks. I keen to learn some more python so that would be great. Probably the simplest way would for the HAL Plot Widget to create it's own pins and use the custom_postgui.hal file to net the required connections. Then how to format range and spans... First step though is to understand the widget framework.
BR
Scott
Please Log in or Create an account to join the conversation.
Moderators: KCJ, Lcvette
Time to create page: 0.660 seconds