Stefan Osterkorn has asked my how he could switch archive variables dynamically to a trend control via script. Use Case Button1 = Trend1, Button2=Trend 2
In this video I will show how you can change dynamically archive tags to the control. Furthermore, I will show you how to toggle trend with a dynamic data connection
00:00 Intro
00:36 switch archive variables
04:13 multiple trends
06:35 toggle trends
//JS
Screen.Items("Trend control_1").TrendAreas[0].Trends[0].DataSourceY.Source = "MyRTStation::MyTag3:LoggingTag_MyTag3";//"RTStationName::TagName:LoggingTagName"
Music from Unicorn Heads- Drifting at 432 Hz • Unicorn Heads - Drifting at 432 Hz
#DerHecht #WinCC #Unified #TIAPortal