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: 41
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: 41
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: 267

Currently Online:
3 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 122

pramanj: 86

ibrahim: 74

rocket science: 65

kapsl: 57

gjevremovic: 49

Sabari: 46

Xavier: 42

TimK: 41

fred: 41

Member Stats:

Guest Posters: 0

Members: 3344

Moderators: 17

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1300

Posts: 5561

Newest Members:

UPtato42, fblvicky6629601, elliebloomer44, Manuelagibe, justinafavenc54, sarlaman9, nancymcneal1, elztaim591797, JeffreyAidet, sameisenhower7

Moderators: Jouni Aro: 946, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 836, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 25, Teppo Uimonen: 21, Markus Johansson: 41, Niklas Nurminen: 0, Matti Siponen: 221, Lusetti: 0

Administrators: admin: 1