Please consider registering

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
Reset simulation value
September 16, 2019
9:35, EEST
Forum Posts: 4
Member Since:
September 11, 2019
sp_UserOfflineSmall Offline

I am very new to simulation server, i am interested to learn about this.
Actually, i am able to create server and client android application with help of your wonderful document.
Also, i am able read and write the values to the sever. But after writing values to sever, i want to increment my counter value from the newly stetted value. The current behavior of the sever is if i set the run simulation value delay for 5 sec, the values will increment by one every 5 sec, that’s perfectly fine.

But when ever i modifies that value i want it to increment from the new value. For example, actual values is 10 and after 5 sce it’s 11. After 11 i write new value 5 to that filed . next i want that value has to be increment from 5. means after 5 sec value should be 6. but actually i am getting 12. i want it to set to 6 ,7 ,8 ect.. like that

Can you please help me on this query how to do this.

i hope you understand my question.

Thank you in advance.

September 16, 2019
10:30, EEST
Bjarne Boström
Forum Posts: 941
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline


That is a scenario we do not currently support. Basically it is sort of a bug that you can even write to the simulation signals.

All signals in recent released versions are mathematical functions of time, including counters, i.e. they are independent from previous values. This was made so that history could be simulated “infinitely” for them.

There are some static nodes in the Objects/StaticData/StaticVariables that are not simulated and can be written.

September 16, 2019
14:44, EEST
Forum Posts: 4
Member Since:
September 11, 2019
sp_UserOfflineSmall Offline

Thanks for the replay.
Can i get any sample for static nodes usage. because i am new to this.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 130

pramanj: 86

ibrahim: 75

rocket science: 72

Francesco Zambon: 62

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 651

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1415

Posts: 6035

Newest Members:

u310498, ntd, francescac, yahya95, leomajoe, Gus, sdfsdfsdfsd, riatuccker

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

Administrators: admin: 1