Avatar
Please consider registering
guest
sp_LogInOut Log Insp_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 RSSsp_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: 1045
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: 1919
Currently Online: msaala
Guest(s) 33
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 90
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 732
Moderators: 8
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1545
Posts: 6515
Newest Members:
mood edibles, LouieWreve, daniellabdx, janessan21, sammiebeak359, gena7127517, thorstenbouldin, Brett.Rollason, steven014223542, Roberthat
Moderators: Jouni Aro: 1029, Pyry: 1, Petri: 1, Bjarne Boström: 1045, Jimmy Ni: 26, Matti Siponen: 353, Lusetti: 0, Elias: 0
Administrators: admin: 1