This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

While Loop for reading values
#12
Code:
input = event.getvalue()

if input == true then
  grp.removetags('Damper_1_Angle', 'Supply')
else
  grp.addtags('Damper_1_Angle', 'Supply')
end
This worked fine. This script is eventbased and used in all fault GA's. Will have to enter the Alias for each damper, but that is a one time thing.

Could this have been done easier?
Reply


Messages In This Thread
While Loop for reading values - by tomnord - 06.01.2021, 09:10
RE: While Loop for reading values - by admin - 06.01.2021, 13:12
While Loop for reading values - by tomnord - 06.01.2021, 13:27
RE: While Loop for reading values - by admin - 06.01.2021, 13:33
RE: While Loop for reading values - by Daniel - 19.01.2021, 13:07
RE: While Loop for reading values - by admin - 19.01.2021, 13:30
RE: While Loop for reading values - by admin - 19.01.2021, 14:43
RE: While Loop for reading values - by tomnord - 19.01.2021, 15:00

Forum Jump: