FAQ Search Memberlist RSS Feed Register Profile Log in to check your private messages Log in
OPC XML-DA 1.01 Specification Errata

 
Post new topic   Reply to topic    OPC Foundation Message Board Forum Index -> XML-DA (Data Access Web Services) FAQ
View previous topic :: View next topic  
Author Message
Jim Luth



Joined: 18 Feb 2003
Posts: 168
Location: OPC Foundation

PostPosted: Tue Dec 21, 2004 2:54 pm    Post subject: OPC XML-DA 1.01 Specification Errata Reply with quote

This thread will contain corrections and clarifications to the OPC XML-DA 1.01 Specification found after its publication.
Back to top
View user's profile Send private message Visit poster's website
Jim Luth



Joined: 18 Feb 2003
Posts: 168
Location: OPC Foundation

PostPosted: Wed Feb 02, 2005 2:17 am    Post subject: Clarification to 3.5.2 SubscribeResponse Reply with quote

On page 65, the description for RItemList states:
"If ReturnValuesOnReply is "false" and no errors are found, RItemList will be empty."

This statement is not always true. The following logic must be used to determine if RItemList is empty:

RItemList must contain an entry for each item in the SubsribeRequest, in the order of the items in the request, if any of the following conditions are true for one or more items in the request:

1) ReturnValuesOnReply is "true" and the server has a value for the item.
2) The RevisedSamplingRate for the item does not equal the RequestedSamplingRate (or the RequestedSamplingRate was missing).
3) The item has a ResultID that is not S_OK.

If ReturnValuesOnReply is "true" and an item appears in the RItemList with a missing value element, then the Quality must be set to
badWaitingForInitialData. If ReturnValuesOnReply is "false" then the Quality element must be missing.

Note that the RequestOptions do not affect whether items will appear in the RItemList, only what data will appear for the item.

The Timestamp attribute is only present when the value element is present and RequestOptions.ReturnItemTime is "true".

In the comments section on page 65, the following is stated:

'If all items are rejected the server will still return Item elements with the error codes. However, no subscription will be created
and an empty string will be returned as "ServerSubHandle". '

this should read:

'If all items are rejected the server will still return Item elements with the error codes. However, no subscription will be created
and the "ServerSubHandle" must be empty or missing.'
Back to top
View user's profile Send private message Visit poster's website
Jim Luth



Joined: 18 Feb 2003
Posts: 168
Location: OPC Foundation

PostPosted: Thu Nov 24, 2005 8:55 pm    Post subject: Reply with quote

In section 3.1.10 ItemProperty, on page 46, property #108 timeZone is shown as having a data type of unsignedInt. The data type should be Int since the time zone difference could be positive or negative from UTC.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    OPC Foundation Message Board Forum Index -> XML-DA (Data Access Web Services) FAQ All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group