DA Access View

Questions regarding the use of the UaExpert.

Moderator: uaexpert

Locked
induna23
Hero Member
Hero Member
Posts: 23
Joined: 02 Sep 2011, 06:15

DA Access View

Post by induna23 »

Hi,

My OPC UA Server passes the CTT test for Monitored Item Services - 5.9.1-001.js (Call using default parameters).

But ,when I tried using the UAExpert Default DA view for the same variable node in my address space, I got the following result :

Value : Empty
Datatype : Null
SourceTimeStamp :1/1/1601 5:30:00.000 AM
ServerTimeStamp :1/1/1601 5:30:00.000 AM
Status : BadWaitingForInitialData.

Are there any mandatory parameters which the server is not sending to UAExpert client ?
Could you please confirm ?

Thanks & Regards,
Indu

User avatar
Support Team
Hero Member
Hero Member
Posts: 3068
Joined: 18 Mar 2011, 15:09

Re:DA Access View

Post by Support Team »

Hello,

please ensure that the ClientHandle your server returns in the NotificationData is the ClientHandle the client requested in the CreateMonitoredItems request.

If this doesn't resolve your problem, you could have a look at the UA traffic using the CTT in client test mode. Please also pay attention to the log messages of UaExpert that also give hints about errors.

Best regards
Unified Automation Support Team
Best regards
Unified Automation Support Team

induna23
Hero Member
Hero Member
Posts: 23
Joined: 02 Sep 2011, 06:15

Re:DA Access View

Post by induna23 »

Hi,

I checked the client handle which the server was returning and its the same as that requested.

But I figured out few things in the UAExpert logs :

10:09:02.027Z|1|0140* [uastack] OpcUa_Channel_ResponseAvailable:CreateSubscriptionResponse
10:09:02.027Z|1|0140* [uastack] OpcUa_Channel_ResponseAvailable:CreateMonitoredItemsResponse
10:09:02.043Z|1|0BB0* [uastack] OpcUa_Channel_BeginInvokeService:called for PublishRequest!
10:09:02.043Z|1|0BB0* [uastack] OpcUa_Channel_BeginInvokeService:called for PublishRequest!
10:09:05.308Z|1|0140* [uastack] OpcUa_Channel_ResponseAvailable:ReadResponse
10:09:10.339Z|1|0140* [uastack] OpcUa_Channel_ResponseAvailable:ReadResponse


This is log that is generated when I drop a node to DA access view. But even before the publish response is obtained, the DA view shows the results.
I observed a Read response that the client gets before getting the publish response? Is the value that DA view displays based on read response or publish response ?

Thanks & Regards,
Indu

User avatar
Support Team
Hero Member
Hero Member
Posts: 3068
Joined: 18 Mar 2011, 15:09

Re:DA Access View

Post by Support Team »

Hello,

based on the trace you posted, your server doesn't send any publish response to the client, only publish requests are issued to the server.

The read calls you see come from a cyclic read on the server status variable issued by UaExpert, this has nothing to do with the DA view.

As long as no data change has been received from the server, the DA view shows empty values and timestamps and status code BadWaitingForInitialData for the according nodes.

Best regards
Unified Automation Support Team
Best regards
Unified Automation Support Team

induna23
Hero Member
Hero Member
Posts: 23
Joined: 02 Sep 2011, 06:15

Re:DA Access View

Post by induna23 »

Yes I agree .
Now I have waited till the publish response goes back to client.

Please find the logs below which has a publish response :

11:32:12.261Z|1|0188* [uastack] OpcUa_Channel_ResponseAvailable: CreateSubscriptionResponse
11:32:12.277Z|1|0188* [uastack] OpcUa_Channel_ResponseAvailable: CreateMonitoredItemsResponse
11:32:12.293Z|1|0D5C* [uastack] OpcUa_Channel_BeginInvokeService: called for PublishRequest!
11:32:12.293Z|1|0D5C* [uastack] OpcUa_Channel_BeginInvokeService: called for PublishRequest!
11:32:13.339Z|1|0188* [uastack] OpcUa_Channel_ResponseAvailable: PublishResponse
11:32:13.339Z|1|0188* [uastack] OpcUa_Channel_ResponseAvailable: PublishResponse
11:32:13.355Z|1|0D5C* [uastack] OpcUa_Channel_BeginInvokeService: called for PublishRequest!
11:32:13.355Z|1|0D5C* [uastack] OpcUa_Channel_BeginInvokeService: called for PublishRequest!
11:32:14.418Z|1|0188* [uastack] OpcUa_Channel_ResponseAvailable: PublishResponse
11:32:14.433Z|1|0D5C* [uastack] OpcUa_Channel_BeginInvokeService: called for PublishRequest!
11:32:14.449Z|1|0188* [uastack] OpcUa_Channel_ResponseAvailable: PublishResponse

The Publishing Interval is : 5000
Sampling Interval : 5000
QueueSize : 1

The server starts a publish timer with (publishing interval are the timer value) when it gets a publish request and once the publish timer expires, server send the publish response back.

I tried reducing the timer value to 2000 (in case there is a timing issue), but that too did not help.

Thanks & Regards,
Indu

User avatar
Support Team
Hero Member
Hero Member
Posts: 3068
Joined: 18 Mar 2011, 15:09

Re:DA Access View

Post by Support Team »

Hello,

for questions regarding publish responses and UA in general, please refer to the UA specification and / or the OPC Foundation forum.

The UaExpert's DA plugin is well tested with a lot of different servers on the market. Hence you should again have a look at your publish response and look for possible errors.

As stated above, you should try to analyze the UA traffic between server and client with the CTT tool in analyzer mode. Many problems can be found by using this method and comparing the own server's behavior with e.g. demo servers of Unified Automation and / or the OPC Foundation.

Best regards
Unified Automation Support Team
Best regards
Unified Automation Support Team

User avatar
Support Team
Hero Member
Hero Member
Posts: 3068
Joined: 18 Mar 2011, 15:09

Re:DA Access View

Post by Support Team »

This topic is solved and has been locked by the administrator.

For new issues, please create a new topic.
Best regards
Unified Automation Support Team

Locked