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
TUaServerAddressSpace.LoadModel question
November 8, 2022
12:59, EET
Avatar
Guido Niewerth
Member
Members
Forum Posts: 8
Member Since:
August 23, 2022
sp_UserOfflineSmall Offline

(Solved, problem on user side)

November 8, 2022
14:05, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 960
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

1) If LoadModel is called, and succeeds, all the nodes in the model should be in the address space. Typically, the nodesets define more types than actual instances, so maybe your nodes are not where you are looking for them?

2) There seems to be an error in the doc of Init – it only loads the standard model “Opc.Ua.NodeSet2.xml” and does not attempt to load any other models. ModelFolder is just defining the default folder to look for these models.

What other tools have you used to produce or verify the model?

November 8, 2022
17:09, EET
Avatar
Guido Niewerth
Member
Members
Forum Posts: 8
Member Since:
August 23, 2022
sp_UserOfflineSmall Offline

Hello Jouni,

thank you for your, as always, quick response. It turned out the problem was the model file provided by our customer. The node IDs had an invalid namespace index, so the server was unable to create the appropriate items.

I´m sorry I wasted your time.

Kind regards,
Guido

November 9, 2022
16:24, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 960
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Hi Guido,

No problem. I am happy you managed to solve it. Maybe there is something to improve, if you didn’t get any errors from loadModel, though.

BR, Jouni

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 267

Currently Online:
14 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 124

pramanj: 86

ibrahim: 74

rocket science: 65

kapsl: 57

Sabari: 51

gjevremovic: 49

Xavier: 43

fred: 41

TimK: 41

Member Stats:

Guest Posters: 0

Members: 1749

Moderators: 15

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1323

Posts: 5649

Newest Members:

WalterFOUNC, datafastproxiespx01, LenkaLok, seoninet, justinevillanuev, namtrott5457, DonaldWibip, AlfredoEthix, andreidla, everangel7021

Moderators: Jouni Aro: 960, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 860, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 25, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 222, Lusetti: 0

Administrators: admin: 1