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
Moderator
Members

Moderators
Forum Posts: 30
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
Moderator
Members

Moderators
Forum Posts: 30
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: 267

Currently Online:
9 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 109

pramanj: 86

ibrahim: 71

kapsl: 57

gjevremovic: 49

TimK: 41

fred: 41

Fransua33: 39

Xavier: 34

rocket science: 33

Member Stats:

Guest Posters: 0

Members: 1302

Moderators: 15

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1106

Posts: 4680

Newest Members:

keremcoban, hypnos97, ekosunen40, janellbusby73, huey6201719746, hildanott654389, laurenemay, aman79, dawnpreciado138, daltondoughty96

Moderators: Jouni Aro: 877, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 642, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Teppo Uimonen: 21, Markus Johansson: 30, Matti Siponen: 100, Lusetti: 0

Administrators: admin: 1