logo

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Alex Fabijanic  
#1 Posted : Thursday, June 15, 2017 8:39:39 AM(UTC)
Alex Fabijanic

Rank: Newbie

Joined: 6/15/2017(UTC)
Posts: 2

I have built the OPC UA example with few warnings that look unrelated to this problem.

Platform/compiler:

Code:
$ uname -a
Linux ubuntu16 4.4.0-78-generic #99-Ubuntu SMP Thu Apr 27 15:29:09 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ g++ --version
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609


However, when I run it, I see some "Bad status" messages:

Code:
$ ./opcua_example
2017-06-15 17:14:57.719 - INFORMATION - Matrikon Flex OPC UA SDK R400.1
2017-06-15 17:14:57.719 - WARNING - In function GetProperty, at line 931 - Bad status of 0x803e0000 encountered
2017-06-15 17:14:57.719 - WARNING - In function GetProperty, at line 931 - Bad status of 0x803e0000 encountered
****************************************************************************
                    Server is running in Demo mode

     Discovery and Server Endpoints are at: 'opc.tcp://localhost:55000'
****************************************************************************
2017-06-15 17:14:57.720 - INFORMATION - Server-socket() is OK...
2017-06-15 17:14:57.720 - INFORMATION - Server-setsockopt() is OK...
2017-06-15 17:14:57.720 - INFORMATION - Server-bind() is OK...
2017-06-15 17:14:57.720 - INFORMATION - Server-listen() is OK...


And later, after I successfully connect with (non-Matrikon) OPC client:
Code:
2017-06-15 17:27:42.452 - INFORMATION - Session (ID 72997345-3B2F-3F4F-956B-5D65E8DC945C) activated
2017-06-15 17:27:42.452 - INFORMATION - Channel (ID 323813817) sending Response (Session ID: 72997345-3B2F-3F4F-956B-5D65E8DC945C, StackRequest ID: 4)
2017-06-15 17:27:42.456 - INFORMATION - Channel (ID 323813817) received Request (StackRequest ID: 5)
2017-06-15 17:27:42.456 - INFORMATION - Session (ID 72997345-3B2F-3F4F-956B-5D65E8DC945C) received BrowseRequest (StackRequest ID: 5)
2017-06-15 17:27:42.456 - INFORMATION - Channel (ID 323813817) sending Response (Session ID: 72997345-3B2F-3F4F-956B-5D65E8DC945C, StackRequest ID: 5)
2017-06-15 17:27:42.457 - INFORMATION - Channel (ID 323813817) received Request (StackRequest ID: 6)
2017-06-15 17:27:42.457 - INFORMATION - Session (ID 72997345-3B2F-3F4F-956B-5D65E8DC945C) received ReadRequest (StackRequest ID: 6)
2017-06-15 17:27:42.457 - WARNING - In function ReadNodeAttributeSynchronously, at line 1895 - Bad status of 0x80350000 encountered
2017-06-15 17:27:42.457 - INFORMATION - Channel (ID 323813817) sending Response (Session ID: 72997345-3B2F-3F4F-956B-5D65E8DC945C, StackRequest ID: 6)
2017-06-15 17:27:42.458 - INFORMATION - Channel (ID 323813817) received Request (StackRequest ID: 7)
2017-06-15 17:27:42.458 - INFORMATION - Session (ID 72997345-3B2F-3F4F-956B-5D65E8DC945C) received ReadRequest (StackRequest ID: 7)
2017-06-15 17:27:42.458 - WARNING - In function ReadNodeAttributeSynchronously, at line 1895 - Bad status of 0x80350000 encountered
2017-06-15 17:27:42.458 - INFORMATION - Channel (ID 323813817) sending Response (Session ID: 72997345-3B2F-3F4F-956B-5D65E8DC945C, StackRequest ID: 7)
2017-06-15 17:27:42.459 - INFORMATION - Channel (ID 323813817) received Request (StackRequest ID: 8)


The result is that my client only sees few nodes:
Code:

[NAMESPACE]      [NODEID]                       [BROWSE NAME]            [DISPLAY NAME]
--------------------------------------------------------------------------------------
 0                     61                        FolderType               FolderType
 0                     2253                      Server                      Server
 1  /ObjectsFolder/MyFolder                      MyFolder                  MyFolder


Two questions:

1) Why are there "Bad Status" messages at startup (before any client connections)?
2) I assume later "Bad Status" messages are the reason I can't see any data. Is it obvious from the logs what is causing this?

Thanks

Edited by user Thursday, June 15, 2017 9:08:08 AM(UTC)  | Reason: Not specified

Offline Shubhi Gogna  
#2 Posted : Thursday, June 15, 2017 11:07:36 PM(UTC)
Shubhi Gogna

Rank: Advanced Member

Joined: 3/23/2017(UTC)
Posts: 30

Thanks: 1 times
Was thanked: 15 time(s) in 15 post(s)
Hi Alex,

Thanks for reaching out to us.

As per error code [0x80350000], it states that the "The attribute is not supported for the specified Node.". Can you please check what attribute you have used for the node which is giving error.

Regarding the other error code, just before client connection, it looks like that the requested item was not found but to identify which item, we need to gather Wireshark and check nodeIDs.

If possible, can you send me Wireshark of both scenarios, so we can help you further. Also, I would like to know if you have purchased the SDK or you are using are demo version from website.

Regards,
Shubhi Gogna
Offline Alex Fabijanic  
#3 Posted : Friday, June 16, 2017 4:03:09 AM(UTC)
Alex Fabijanic

Rank: Newbie

Joined: 6/15/2017(UTC)
Posts: 2

Thanks, [0x80350000] may be my client request issue, I'll look at that. But why [0x803e0000] at startup (before client is connected)? I am using unmodified demo server.
Offline Shubhi Gogna  
#4 Posted : Sunday, June 18, 2017 11:05:50 PM(UTC)
Shubhi Gogna

Rank: Advanced Member

Joined: 3/23/2017(UTC)
Posts: 30

Thanks: 1 times
Was thanked: 15 time(s) in 15 post(s)
Hello Alex,

This warning can be ignored as it is because of missing optional property of a DA variable. Hence, this error can be ignored.

Please reply back to me in case you need any further assistance or have any questions.

Regards,
Shubhi Gogna
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Matrikon Subscribe  |   Matrikon Unsubscribe  |   Global Unsubscribe  |   Privacy Statement  |   Do Not Sell My Personal Information   |   Cookie Notice