AnsweredAssumed Answered

Piconfig : extract tag value @ specific time excluding Pt Created

Question asked by dwiart on Aug 5, 2019

Hi !


I'm looking for some help to build a script that will allow me to retrieve a tag value at a specified date.


Actually My script is like that :

@echo none
@table piarc
@ostr tag,time,value
@istr tag,starttime,count
@input arcreadinputfile.txt


My inputfile lists random tags - random times (and count = 1).


My "problem" is that for some tag, I get "Digital State" (value for Pt Created status) as value. I would like to get the first real value instead. I tried to insert a "@select status<>"Pt Created" " with no success.


Any suggestion ?