Is it possible to set an attribute to use a default value when there is no PI Point?
I have a template that is used for several equipments. When there is a specific measurement, I would like the template to use it. Otherwise I would like the template to use a default value. I used the function not badval to check the PI Point.
if not badval('Attribute PI Point') then 'Attribute Pi Point' else Defaultvalue
But the analysis remains in 'error and warning' state with the message: Failed to sign up some input(s) for receiving updates.
I think I am missing something here.