- Posts: 2180
- Thank you received: 905
(Solved) Probe Basic - HAL pins not being created
1 month 3 weeks ago #349538
by spumco
To get the three text values, I'd need a second if/then/else rule for the widget... or the same status channel rule can do both appearance and text displayed?
Replied by spumco on topic (Solved) Probe Basic - HAL pins not being created
This is what you meant when you mentioned the if/then/else rule statement earlier, right? That gets me the three color states for the stopped/running/paused indicator.Then you should not need any python code use just rules
To get the three text values, I'd need a second if/then/else rule for the widget... or the same status channel rule can do both appearance and text displayed?
Please Log in or Create an account to join the conversation.
1 month 3 weeks ago - 1 month 3 weeks ago #349539
by Lcvette
Replied by Lcvette on topic (Solved) Probe Basic - HAL pins not being created
You can add multiple rules, use the right click rules dialog and add as you need, you can also add multiple channels to use in the expression. The expression can have multiple else continuation for each test to display. There are examples in the ui, take a look at some of the labels and there rules.
Last edit: 1 month 3 weeks ago by Lcvette.
The following user(s) said Thank You: spumco
Please Log in or Create an account to join the conversation.
1 month 3 weeks ago #349556
by Lcvette
Replied by Lcvette on topic (Solved) Probe Basic - HAL pins not being created
I broadened the scope of the flash to all widgets in qtdesigner and went ahead and updated the cycle start button to flash on pause, much nicer and more noticeable without being a blight on the ui in bright yellow.. I hate yellow...lol
Please Log in or Create an account to join the conversation.
1 month 3 weeks ago #349576
by spumco
That's why it's useful, at least in my case, for something that needs to get my attention... my brain can't ignore anything that awful.
Getting started now on a re-do of the sidebar and user_buttons based on your updates and advice. I'm leaving the ATC buttons and DRO alone, as those were both created without py file modifications.
Fingers crossed...
Replied by spumco on topic (Solved) Probe Basic - HAL pins not being created
Me too.I hate yellow...lol
That's why it's useful, at least in my case, for something that needs to get my attention... my brain can't ignore anything that awful.
Getting started now on a re-do of the sidebar and user_buttons based on your updates and advice. I'm leaving the ATC buttons and DRO alone, as those were both created without py file modifications.
Fingers crossed...
Please Log in or Create an account to join the conversation.
1 month 3 weeks ago #349578
by spumco
Replied by spumco on topic (Solved) Probe Basic - HAL pins not being created
The following user(s) said Thank You: Unlogic
Please Log in or Create an account to join the conversation.
1 month 3 weeks ago #349579
by Lcvette
Replied by Lcvette on topic (Solved) Probe Basic - HAL pins not being created
lol.. good point!
Please Log in or Create an account to join the conversation.
Time to create page: 0.109 seconds