Refering to a Tag

Discussion created by eastette on Sep 8, 2010
Latest reply on Sep 28, 2010 by eastette

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!