Wincc CheckBox print trends

gustavo_dias

Member
Join Date
Aug 2016
Location
Minas Gerais
Posts
76
Hi
I want to print some trend in wincc control trend using check box. But I have problems with the VBS code, when I check some option I print a trend (this part is ok) but when I uncheck my trend stay in my grafic.
My VBS code:

Dim Graf, chkbox, Select

Set Graf = ScreenItems("Control1")
Set chkbox = ScreenItems("Check Box1")

Select = "Processvaluearchive_1"

If chkbox.Process = 1 Then
Grafico.TrendIndex = 0
Grafico.TrendTagName = Select&"\"&"Var1"
Else
End If

If chkbox.Process = 2 Then
Grafico.TrendIndex = 1
Grafico.TrendTagName = Select&"\"&"Var3"

Else
End If
 
Last edited:
First of all, what version of WinCC are you using? Flex (2007/8)? Comfort/Portal (v11/12/13)? Scada (v5/6/7)?

Second, are you trying to hide the individual lines from the trend, or do you want to hide the whole trend object?
 

Similar Topics

Hello Everyone!!! Dear Experts:beerchug:, I am new to Siemens WinCC:huh::confused:. I have created one Internal Tag 100_XV_01 (Unsigned...
Replies
5
Views
10,588
Hello. I have a db which is 1000 INT, and this db is represented in WinCC as a raw data type set of 5x 400 Bytes. This set is read with a script...
Replies
1
Views
73
Hello Experts I am working on a project with WinCC Unified v16 PC system and want to create an option on the screen to export logs to the...
Replies
0
Views
62
Does anyone happen to know how to install the graphic picture in HMI when I go into blower selection there are no graphics shown not only blower...
Replies
1
Views
77
Hi folks, I'm not as accustom with Siemens & WinCC, however I've been asked to increase the amount of data an existing application is logging...
Replies
2
Views
78
Back
Top Bottom