Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
NodeId format?
October 5, 2020
17:09, EEST
Avatar
ray
Member
Members
Forum Posts: 11
Member Since:
October 2, 2020
sp_UserOfflineSmall Offline

Could I change the format of the NodeId for a simulated variable from:

ns=index;i=integer
to
ns=index;s=string

either before or after the variable is created?

I’m using 5.* server.

Thanks,
Ray

October 6, 2020
10:29, EEST
Avatar
Markus Johansson
Member
Members
Forum Posts: 42
Member Since:
August 6, 2019
sp_UserOfflineSmall Offline

Hi,

The NodeId format cannot be changed.

October 6, 2020
16:44, EEST
Avatar
ray
Member
Members
Forum Posts: 11
Member Since:
October 2, 2020
sp_UserOfflineSmall Offline

since I’m new to opc-ua, I have a follow-up question: How does the server determine which format to use? Is this a function of the namespace configuration? As far as I can remember, in server 4.x, my simulated variables had nodeid of string format.

I suspect this is somewhere defined in the opc-ua specs. Please feel free to provide a pointer if the explanation can already be found somewhere else.

Regards,
Ray

October 6, 2020
17:42, EEST
Avatar
Markus Johansson
Member
Members
Forum Posts: 42
Member Since:
August 6, 2019
sp_UserOfflineSmall Offline

You are free to use any of the available formats and they can be mixed. It is up to the server application or information model to choose what to use. We chose to use numbers in Simulation Server because they are more flexible and easier to manage but we DID use strings in previous versions.

October 6, 2020
23:21, EEST
Avatar
ray
Member
Members
Forum Posts: 11
Member Since:
October 2, 2020
sp_UserOfflineSmall Offline

Got it! Thanks.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
18 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: 726

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart, caitlynfajardo, jeromechubb7, franciscagrimwad, adult_gallery

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0

Administrators: admin: 1