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: 1032
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:
18 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