I have a template that I have created and on window startup I would like the data to populate.
This is my Script in the propertyChange Event under scripting on the template.
CanFeedUDT is a UDT type that is bound in the main window with the different equipment that I want to track. WasherEndWord is a plc tag that is in the UDT structure.
if (event.propertyName == 'componentRunning'):
print event.source.CanFeedUDT.WasherEndWord
This prints out None for the value of event.source.CanFeedUDT.WasherEndWord, is there a way that I can wait until CanFeedUDT values are loaded before trying to read the data?