Hello, Archie,
When using an AdvancedHMIControls.BasicLabel attached to an AdvancedHMIDrivers.EthernetIPforCLXcom using version AHMI 3.99e over an unreliable Ethernet connection, I sometimes see in the BasicLabel a message about "Timed Out reading ...." or "Unable to connect to ....".
I understand that I can suppress these messages by setting the BasicLabel object property "SuppressErrorDisplay" to true, but what I'm looking for is a way to know that an error occurred when reading the PLC tag the last time around. From my testing, it appears that during these errored times, if I were to check the value of the BasicLabel in question, it would be the value of the last successful read. I do not see a property or event helping me to know that an error occurred during the last PLC tag read attempt. I feel that I must be overlooking something because this would be such a basic thing to have and to know.
So, the question is, how can I tell when the last read of a tag failed?
Just a bit more info: I have multiple BasicLabels that read various tags from the PLC. Not all will fail, just some based on I guess some sort of randomness in the poll rate cycles. I'm interested in knowing when a specific object, in this case a BasicLabel, was unable to read the tag at the last poll time.
Thanks!
Ken Sumrall