How can i use SetClientName() function in my AE Clients?|Classic OPC: DA, A&E, HDA, XML-DA, etc.|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
How can i use SetClientName() function in my AE Clients?
Avatar
Artem Nadyrshin
New Member
Members
Forum Posts: 1
Member Since:
03/16/2016
sp_UserOfflineSmall Offline
1
03/16/2016 - 04:52
sp_Permalink sp_Print

How can i use SetClientName() function in my AE Clients? opc.ae.server in opc net api doesnt provide this function

Avatar
Cristian Pogacean
Munich, Germany
New Member
Members
Forum Posts: 1
Member Since:
04/03/2014
sp_UserOfflineSmall Offline
2
03/17/2016 - 10:07
sp_Permalink sp_Print

SetClientName() interface is an optional interface that was not implemented in the OPC Fooundation's deliverables. Please note that the .NET API – like all components for OPC Classic – have low priority with respect to maintenance. 

You can either implement the functionality yourself, or look for a commercial solution: Softing's OPC Development toolkit suports this interface. 

Avatar
Zbynek Zahradnik
Member
Members
Forum Posts: 62
Member Since:
02/24/2014
sp_UserOfflineSmall Offline
3
05/24/2016 - 07:28
sp_Permalink sp_Print

Actually, SetClientName is not optional. In Alarms and Events Custom Interface specification (Version 1.10), a server must implement IOPCCommon, and that is where SetClientName(), unoptionally, resides.

A client, of course, does not have to call it - it is mainly for debugging purposes. And, it is true that the OPC Foundation .NET API does not provide any support for it on the client side.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 25
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1341
Posts: 4546