AdvancedHMI Software
General Category => Additional Components => Topic started by: abouhaa on February 26, 2019, 08:16:00 AM
-
Hi,
How can I clear the message shown in MessageDisplaybybit when the corresponding bit is cleared.
Thanks.
-
When all bits are off, it will display what is in the DefaultMessage property.
-
Am I able to show multiple messages at the same time?
What about using messagelistbybit? Can I use that to display different messages based on different bits and have the messages clear if the bit goes inactive?
-
Am I able to show multiple messages at the same time?
What about using messagelistbybit? Can I use that to display different messages based on different bits and have the messages clear if the bit goes inactive?
The MessageDisplayByBit shows one message at a time, but rotates through all the messages for each active bit based on the display time, which is default of 3 seconds.
The MessageListByBit adds the to a running list and time stamps them.
-
So am I able to clear messages of false bits in the messagelistbybit?
-
So am I able to clear messages of false bits in the messagelistbybit?
No. They stay in the list, but scroll up to eventually be removed when the list reaches its maximum items.
-
Any other way of showing a list of messages for active bits only?
Or maybe having a separate bit to clear all messages?
-
Side question: Can I do somethign like this on a serial driver?
serialDF1forSLCMicroCom1.Read("B3:8/15");
-
Any other way of showing a list of messages for active bits only?
Or maybe having a separate bit to clear all messages?
1) Add a FlowLayoutPanel
2) Add a BasicLabel into the FlowLayoutPanel
3) Set Value to the message
4) Set PLCAddressVisible to the bit address
5) Repeat steps 2-4 for each message
-
The modified version of the MessageListByBit control allows clearing of the messages as the bits change:
https://www.advancedhmi.com/forum/index.php?topic=2627.msg15769#msg15769
Intended for Modbus communication.