cancel
Showing results for 
Search instead for 
Did you mean: 

TagQuery "I/O Timeout" Issue

Former Member
0 Kudos

Hi,

I'm trying to retrieve a certain tag in PI.

When I'm watching the tag at PI ProcessBook, I see the values as follow:

Time Value

24/10/2011 13:50:02 92,19048

24/10/2011 14:18:02 91,92674

24/10/2011 14:18:13 91,72161

24/10/2011 14:18:21 I/O Timeout

24/10/2011 14:28:08 92,337

24/10/2011 15:09:08 92,48351

But in xMII, when I'm retrieving the tag through TagQuery in HistoryEvent mode, the result is:

Time Value

24/10/2011 13:50:02 92,19048

24/10/2011 14:18:02 91,92674

24/10/2011 14:18:13 91,72161

24/10/2011 14:18:21 246

24/10/2011 14:28:08 92,337

24/10/2011 15:09:08 92,48351

How could I distinguish "246" as a true value or "246" as "I/O Timeout" error code?

I've imagined that it could be something in PCO settings. So, I've set up the Field: "Dig Str as String" as true in our PI Connection, according to this documentation: http://help.sap.com/saphelp_pco21/helpdata/en/b6/062c4fb8934e118ac6209f18c7dcf1/content.htm .

I was hoping that it could interpret the error code. Indeed, it does some interpretation. A certain query previously returned :

Time Value

24/10/2011 13:50:02 0

24/10/2011 14:18:02 1

24/10/2011 14:18:13 0

Now, it returns:

Time Value

24/10/2011 13:50:02 OFF

24/10/2011 14:18:02 ON

24/10/2011 14:18:13 OFF

But, when there are any "I/O Timeout error", the query doesn't execute and displays this error message:


Unexpected value type for Item XPTO_TAGNAME; expected System.Single, received System.String[Value = I/O Timeout]

Any suggestions?

Thanks,

Alexandre Sardinha

Accepted Solutions (0)

Answers (2)

Answers (2)

jcgood25
Active Contributor
0 Kudos

Assuming you're running an up to date PCo release, then at face value I would suspect that data quality is not filtering properly. I would expect NA for the I/O error, since the number is bogus.

Former Member
0 Kudos

Hi Alexandre,

View the link below

http://help.sap.com/saphelp_pco21/helpdata/en/b6/062c4fb8934e118ac6209f18c7dcf1/content.htm

Configuration in PCO

 Dig Str as String / If you set this indicator, the Dig Str values are interpreted as a string. 

Hope this help.

Danilo Santos