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

Currently Online:
16 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: 726

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart, caitlynfajardo, jeromechubb7, franciscagrimwad, adult_gallery

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

Administrators: admin: 1