Small improvement - Access TrendViewer in symbol by Scada Basic

1 Posts
1 Users
0 Likes
17 Views
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
Topic starter
 

Now if you want to address a particular subject in scada basic (a macro animation) then you can pass a long ID to the scada basic instruction.

For example, if a symbol containing a trend viewer Trd1 in instantiated three times (S1, S2 and S3) in a mimic M1 and you want to show the legend of the viewer in the second instance, then you can pass S2.Trd1 as identifying.
Trend(“Show_Legend”, “M1”, “”, “S2.Trd1”, 1);

If you pass a short ID (trend1) then I changed nothing to ensure compatibility.

 
Posted : 08/08/2019 10:56 am