AdvancedHMI Software

General Category => Open Discussion => Topic started by: vinnie2u on January 24, 2025, 03:19:35 PM

Title: Indicator
Post by: vinnie2u on January 24, 2025, 03:19:35 PM
I'm trying to show the status of various conveyors. If this was a Panelview. I would draw a rectangle and based on a integer. I would change color. 0 stopped grey , 1 running green, 2 Jammed yellow, 3 Faulted red. I cant find anything in the toolbox or maybe my inexperience to simulate this. I don't need text. I need color change.
Title: Re: Indicator
Post by: Archie on January 24, 2025, 04:50:11 PM
A BasicIndicator will give you 3 colors controlled by bits.

You can use a MessageDisplayByValue with a few property changes to get the effect you describe:

- Add a MessageDisplayByValue to the form
- Set AutoSize to False
- Resize
- In the Messages property, click the ellipses (square with 3 dots)
- Add Messages and only set the BackColor and Value properties for each message
- Set PLCAddressValue

To simulate in Design View, change the Value property to various values

Title: Re: Indicator
Post by: vinnie2u on January 24, 2025, 04:54:06 PM
Thank you!