AdvancedHMI Software

General Category => Support Questions => Topic started by: Bashkit on July 22, 2021, 01:22:35 PM

Title: Needing a Graphic Indicator to show when multiple tags are True
Post by: Bashkit on July 22, 2021, 01:22:35 PM
So I am not familiar with VS whatsoever, I know Ladder and Python, that's it pretty much. I'm making a small display (read only) that shows the operator what parts to place and where. When all 8 parts are present (Modbus TCP 10002-10009) I want to have the entire screen turn green. Is this simple to do?
Title: Re: Needing a Graphic Indicator to show when multiple tags are True
Post by: dwight.arrants@tstc.edu on July 22, 2021, 02:35:25 PM
I'm not claiming to be an "expert" either.
If you can program in Python, VB isn't more difficult (just a little different).

You can write code that is triggered by event linked to the placement of of the part.
Placing each part would trigger a unique event (1 of 8).
Set a variable to indicate "part X placed"
If the other 7 parts have been placed. Then change the screen color

If you change the color of each part as it is placed then that could be your "placed" variable.
Biggest problem will be determining which event you will trigger from.