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: 983
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: 518

Currently Online:
22 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

Ibrahim: 76

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

TimK: 41

Member Stats:

Guest Posters: 0

Members: 683

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6261

Newest Members:

digitechroshni, LouieWreve, Kickbiche, karrimacvitie5, graciela2073, sagarchau, elviralangwell4, Donnavek, Eddiefauth, DonaldPooma

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

Administrators: admin: 1