UA analogue of classic SetClientName?|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
UA analogue of classic SetClientName?
Avatar
Artyom Denisenko
Member
Members
Forum Posts: 4
Member Since:
04/28/2016
sp_UserOfflineSmall Offline
1
02/16/2023 - 20:39
sp_Permalink sp_Print

In Unified Architecture is there an analogue of classic IOPCCommon::SetClientName?

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
02/17/2023 - 00:26
sp_Permalink sp_Print

Why do you want it?

Avatar
Artyom Denisenko
Member
Members
Forum Posts: 4
Member Since:
04/28/2016
sp_UserOfflineSmall Offline
3
02/17/2023 - 00:31
sp_Permalink sp_Print

Randy Armstrong said
Why do you want it?

  

To be able to distinguish UA clients in UA Server log file.

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
02/17/2023 - 00:44
sp_Permalink sp_Print

AuditEntryId in the RequestHeader:

https://reference.opcfoundatio...../docs/7.33

Avatar
Artyom Denisenko
Member
Members
Forum Posts: 4
Member Since:
04/28/2016
sp_UserOfflineSmall Offline
5
02/17/2023 - 00:49
sp_Permalink sp_Print

Randy Armstrong said
AuditEntryId in the RequestHeader:

https://reference.opcfoundatio...../docs/7.33

  

Сізге көп рахмет!

Avatar
Zbynek Zahradnik
Member
Members
Forum Posts: 62
Member Since:
02/24/2014
sp_UserOfflineSmall Offline
6
02/17/2023 - 09:13
sp_Permalink sp_Print

I think that the sessionName parameter of CreateSession service is closer to what the OP asked for.

The AuditEntryId is per-request, not per-session/connection.

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
7
02/17/2023 - 15:51
sp_Permalink sp_Print

The AuditEntryId is intended for use in log files.

ClientName is used in the AddressSpace for Nodes exposing diagnostic information.

The ClientName could be used in a log file but the AuditEntryId allows the Client logs to be correlated with the Server logs.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online: Mohit Agarwal
Guest(s) 36
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855