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

Hi….
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
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 402
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

Hi,

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
Avatar
Galla
Member
Members
Forum Posts: 4
Member Since:
September 11, 2019
sp_UserOfflineSmall Offline

Hi,
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: 78

Currently Online:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 91

pramanj: 86

ibrahim: 68

kapsl: 57

gjevremovic: 49

TimK: 41

Fransua33: 39

fred: 36

Rainer Versteeg: 32

peterrob45: 25

Member Stats:

Guest Posters: 0

Members: 880

Moderators: 12

Admins: 1

Forum Stats:

Groups: 3

Forums: 14

Topics: 892

Posts: 3744

Newest Members:

Fervic1991, ivfa, tplbev1272761848, vinwin, ancyss, dj, Thomas, Viral, nedumarans, Dhruvil Dhanani

Moderators: Jouni Aro: 833, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 402, Heikki Tahvanainen: 402, Jukka Asikainen: 1, Teppo Uimonen: 16, Markus Johansson: 1

Administrators: admin: 0