

10:07, EET

June 28, 2016

10:19, EET

April 17, 2013

Hi,
If you have obtained the UaMethod object on the client side, you can get the DisplayName by calling
Alternatively, you can just simply read the DisplayName attribute provided that you know the NodeId of the method node
Let us know any further questions that you may have.
14:22, EET

June 28, 2016

Hi Heikki,
first of all, many thanks for your reply.
I’m obtaining the UaMethod in that way: UaClient.getMethod(new QualifiedName(“My_Method_Name”)). Is there a better way to do that?
If I wanted instead to get the NodeId of the method, how should I do? I would have expected to find something like “UaClient.MyObject.MyMethod.getNodeId()”, but I can’t find it. Is there something like this?
Thanks again and many greetings.
Alessandro
15:04, EET

April 17, 2013

Hi Alessandro,
As you have obtained the UaMethod, you can just call .getDisplayName() and receive the value of the DisplayName attribute. Similarly, you can call .getNodeId() if you want to obtain the NodeId of method node.
P.s. There’s no such method as UaClient.getMethod but I’m assuming you meant UaObject.getMethod.
Most Users Ever Online: 1919
Currently Online:
35 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 803
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1538
Posts: 6493
Newest Members:
rebekahfortner3, Stevennox, qfpalfie08, brittny89u, LinwoodBup, isabellabeeton2, ladonnacdv, DarwinVew, betseymitford95, HowardtitModerators: Jouni Aro: 1027, Pyry: 1, Petri: 0, Bjarne Boström: 1037, Jimmy Ni: 26, Matti Siponen: 353, Lusetti: 0
Administrators: admin: 1