Page 1 of 1

Selecting picture from script

Posted: Wed Feb 20, 2013 3:01 am
by uniworld
We have requirement to select different picture for example select red colored valve (ofru)when a particular tag value is zero (0) and select green colored valve(ofgu) when the same tag value becomes one(1).

How to achieve the above requirement by writing script in C #?

please find the attachment for details

regards
Dayanand

Re: Selecting picture from script

Posted: Wed Feb 20, 2013 9:12 am
by mark.monroe
Select a multi-picture control and select the tag you want to use to control what picture to display. Then select the pictures you want to use. The Start and End values are the range in which that particular image will be displayed when the associated tag takes on that value.

When ever the tag value changes, it will display the picture. To change a tag value in script.

Globals.Tags.MyTag.Value = 1;
Snap 2013-02-20 at 08.09.18.jpg
Snap 2013-02-20 at 08.09.18.jpg (55.85 KiB) Viewed 4642 times