AnsweredAssumed Answered

PIPoint Query Syntax examples

Question asked by ArunMB on Aug 13, 2019

Hi,

 

Am trying to pull values by passing a list of tags into PIPointList function. But, PIPointList always returns zero items even though I have passed the correct tags in the list. Please help me. Please find the code below.

 

from System.Collections.Generic import List
from System import String

 

retVal = List[String]()

 

pi_tags = ['ARC-LC12345_02346.OUT', 'ARC-FX56789_0674.MEAS']

 

for tag in pi_tags:
    retVal.Add(tag)

 

tagList = AF.PI.PIPointList(AF.PI.PIPoint.FindPIPoints(piServer, retVal))

 

print("Count of items are ",tagList.Count)    ====> Returns zero items

 

Thanks,

Arun

Outcomes