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: 982
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: 518

Currently Online:
13 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

ibrahim: 75

rocket science: 75

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

TimK: 41

Member Stats:

Guest Posters: 0

Members: 708

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1465

Posts: 6252

Newest Members:

christi10l, ahamad1, Flores Frederick, ellenmoss, harriettscherer, shanonhumphreys, KupimotoblokfuB, tamhollander5, paulinafcf, bridgette18l

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

Administrators: admin: 1