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 new static variables on the server
January 30, 2020
13:17, EET
Avatar
TS
New Member
Members
Forum Posts: 2
Member Since:
January 30, 2020
sp_UserOfflineSmall Offline

Hi,

Is it possible to add new static variables on the Simulation Server? There are for example BooleanDataItem variable under DataItems as default. Is it possible to add for example “BooleanDataItem2”? If yes, how can I do that?

Product version of the Simulation Server is 4.0.2-108.

Best Regards,
Tuomas

January 30, 2020
15:33, EET
Avatar
Markus Johansson
Moderator
Members

Moderators
Forum Posts: 42
Member Since:
August 6, 2019
sp_UserOfflineSmall Offline

Hi,

You can only add static BaseDataVariables. Do this by selecting “Add Node” -> “Add Variable”. If you then set the signal type as “Constant”, the Node will have no signal and can be written to.

January 30, 2020
16:22, EET
Avatar
TS
New Member
Members
Forum Posts: 2
Member Since:
January 30, 2020
sp_UserOfflineSmall Offline

Hi,

thanks for the reply. I have tested that already and for the numeric values it fulfills my requirements. However, if I liked to create a full simulation twin for my device (having for example strings and arrays), that would not be possible. Because your simulation server already supports pretty widely different data types, I would like to have a possibility to extend the data model on the simulation server with my data structure. Could this be implemented for example by extending the settings.xml file of the Simulation Server so that the user could define his/her own variables and folders (objects) containing other variables based on the existing data types? Another option could be to allow for example string type signals to be simulated if the signal type is selected to constant, although the string type signal does not make too much sense from the simulation point of view?

January 30, 2020
18:11, EET
Avatar
Markus Johansson
Moderator
Members

Moderators
Forum Posts: 42
Member Since:
August 6, 2019
sp_UserOfflineSmall Offline

Currently these kind of thing are not possible but they are definitely interesting and novel ideas. The Simulation Server is a free software for simple testing and demonstration. These features are quite a bit more complex, but surely something we might look into in the future.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
27 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

Ibrahim: 76

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 681

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6261

Newest Members:

graciela2073, sagarchau, elviralangwell4, Donnavek, Eddiefauth, DonaldPooma, fidelduke938316, Jan-Pfizer, DavidROunc, fen.pang@woodside.com

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

Administrators: admin: 1