AnsweredAssumed Answered

Is there a python snippet on how to search for a pi tag using python and PI AF SDK ?

Question asked by donj on Jan 30, 2020
Latest reply on Jan 30, 2020 by jstarnes

Say I want to search for all pi tags with substring *sinus*. This is what I have so far, but doesn't seem to work. 

 

pts = PIPointList(PIPoint.FindPIPoint(piServer, "tag:=*sinus*"))

print(f'{pts}')
for pt in pts:
    print(f'{pt.Name}')

 

Thanks in advance.

Outcomes