AnsweredAssumed Answered

Setting a PI tag's status with piconfig

Question asked by arosenthal on Dec 20, 2016
Latest reply on Dec 20, 2016 by knightk

I am trying to use the piconfig utility to modify the status value for a PI tag to "Calc Failed" (or some other status of my choosing). I've tried a number of variants and haven't been able to get this to work. Is there a different @istr configuration I need to use to do this?

 

Here is what I am using now:

 

@mode edit,t
@table pisnap
@istr tag, time, value, status
MyTag,16-Dec-16 11:22:41,Digital State,Calc Failed
@ends

 

This gives an error when I run with piconfig:

 

*[-15013] PIvalue Type or PIstring is Not Float

 

I've also tried this without specifying value in the @istr as well as defining the status as -249, but nothing seems to work.

Outcomes