Author Topic: Adding Conditions  (Read 135 times)

Arvanoss

  • Newbie
  • *
  • Posts: 26
    • View Profile
Adding Conditions
« on: February 23, 2024, 10:13:47 AM »
Good Morning Everyone,

I have a program that works but I want to make the BasicButtons show and hide.
I can add PLC Addresses to the 'PLCAddressVisible' but cannot add multiple addresses.

is there a way to add additional 'PLCAddressVisible' addresses to the BasicButton code to accept multiple conditions??

I don't have PLC change permissions.

Thanks

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5262
    • View Profile
    • AdvancedHMI
Re: Adding Conditions
« Reply #1 on: February 23, 2024, 10:36:41 AM »
The easiest way to do this is to use a DataSubscriber2 to watch all the variables. Then in the Datasubscriber2 code set the Visible property of the BasicButton

Arvanoss

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: Adding Conditions
« Reply #2 on: February 23, 2024, 12:52:36 PM »
Thanks Archie,  I set it up like that and it works well.