Event=PMC1034.Status.PV, If Badval('PMC1034.Status.PV') = 0 Then 'PMC1034.Status.PV' Else 99
When the machine is off the tag above shows "Bad" but I would like it to show "Off". Is there anyway to do this?
Also I would like to be able to change the color of the text of the tag based on the value it is displaying. How can this be achieved?
Ultimately I would like to be able to reference a tag in Visual Basic Application/Visual Basic Editor. Any Thoughts?
Thanks for your time!