(Solved) Probe Basic - HAL pins not being created

More
1 month 3 weeks ago #349538 by spumco

Then you should not need any python code use just rules
 
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.

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.

More
1 month 3 weeks ago - 1 month 3 weeks ago #349539 by Lcvette
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.

More
1 month 3 weeks ago #349556 by Lcvette
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.

More
1 month 3 weeks ago #349576 by spumco

I hate yellow...lol
 
Me too.

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.

More
1 month 3 weeks ago #349578 by spumco
One down...

 

Is there a setting to startup with the user sidebar displayed like there is for the user tab?
The following user(s) said Thank You: Unlogic

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

More
1 month 3 weeks ago #349579 by Lcvette
lol.. good point!

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

Moderators: KCJ, Lcvette
Time to create page: 0.224 seconds
Powered by Kunena Forum