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
Selecting picture from script
Selecting picture from script
- Attachments
-
- Picture Selection.docx
- Screen shots of iX developer
- (263.11 KiB) Downloaded 534 times
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: Selecting picture from script
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;
When ever the tag value changes, it will display the picture. To change a tag value in script.
Globals.Tags.MyTag.Value = 1;
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer