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
Adding static String, Int variables in simulation with read and write.
February 5, 2019
5:43, EET
Avatar
kcdico
Member
Members
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?

Thanks!

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

Hi,

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
Avatar
kcdico
Member
Members
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: 1919

Currently Online:
15 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: 728

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

ellis87832073466, zkxwilliemae, gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart, caitlynfajardo, jeromechubb7

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

Administrators: admin: 1