Please consider registering

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
Adding static String, Int variables in simulation with read and write.
February 5, 2019
5:43, EET
Forum Posts: 5
Member Since:
February 1, 2019
sp_UserOfflineSmall Offline

How do I add static string and int variables in the simulation?
Do I do it in the simulation tab or by editing simulation.xml?

I’m also getting this error from my MES.
“Cannot cast an absolute ExpandedNodeId to a NodeId. Use ExpandedNodeId.ToNodeId instead.”
What could be causing this?


February 5, 2019
12:07, EET
Bjarne Boström
Forum Posts: 941
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline


Currently adding nodes is limited to what can be done via the ‘Simulation’ tab, i.e. there is no way to add “static nodes” (or well you can pause the simulation, and those nodes allow writing, but technically it was not designed for that). There is a set of static nodes in Root/Objects/StaticData/StaticVariables which can be used. We have some plans/work-in-progress on more advanced simulations, but no estimates when those would be available.

For the MES, I’ll probably know why. It has been a somewhat long standing issue that our (java) SDK (which is used in the SimulationServer) returns ExpandedNodeIds with the namespace uri set for the standard namespace in some cases. This mostly affect Browse responses. Most of the times clients will handle this as normally (they will convert the uri to the index via the namespace array information), but e.g. in this case apparently not. This is fixed for SDK version 4 (which is work in progress, release hopefully soon), so it will be part of SimulationServer version 4.

February 13, 2019
4:21, EET
Forum Posts: 5
Member Since:
February 1, 2019
sp_UserOfflineSmall Offline

Thank you, Bjarne. For now, I made some OPC UA servers using Node in Ubuntu. I’m still using your OPC UA Client – which is a beast.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 130

pramanj: 86

ibrahim: 75

rocket science: 72

Francesco Zambon: 62

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 651

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1415

Posts: 6035

Newest Members:

u310498, ntd, francescac, yahya95, leomajoe, Gus, sdfsdfsdfsd, riatuccker

Moderators: Jouni Aro: 988, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 941, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 25, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 288, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1