cosmini

Polygons with PI Calc Multistates Unresponsive

Discussion created by cosmini on Nov 14, 2019

Hello All, 

 

So I have the following drop cursor event call: 


Private Sub Trend1_DropCursor(bCancel As Boolean, ByVal nCursor As Integer, ByVal NewTime As String)
Dim i As Long

For i = 1 To ThisDisplay.Symbols.Count
If ThisDisplay.Symbols.Item(i).Type = pbSymbolPolygon Then
ThisDisplay.Symbols.Item(i).SetTimeRange "", NewTime
End If
If ThisDisplay.Symbols.Item(i).Type = pbSymbolValue And ThisDisplay.Symbols.Item(i).Name <> "Value1" And ThisDisplay.Symbols.Item(i).Name <> "Value13" Then
ThisDisplay.Symbols.Item(i).SetTimeRange "", NewTime
End If
If ThisDisplay.Symbols.Item(i).Type = pbSymbolEllipse Then
ThisDisplay.Symbols.Item(i).SetTimeRange "", NewTime
End If
Next i
End Sub

 

And I have multistate Polygons that are only linked to a tag, and ones that are linked to DataSets/PI Calcs. The PI Tag multistate polygons are reacting normally to the time change call, but the multistates linked to the PI Calcs refuse to change their time range. At a loss for why. 

Outcomes