It is currently March 29th, 2024, 2:26 am

[Rainmeter] Update= ?

Get help with creating, editing & fixing problems with skins
o0Julia0o
Posts: 17
Joined: November 25th, 2019, 12:35 pm

[Rainmeter] Update= ?

Post by o0Julia0o »

what does this mean?

Update = 60000

All 60.000 miliseconds rainmeter is updating it´s status?

So 60.000/1000= 60 seconds.

So a UpdateDivider with 61 seconds will work, but one with 59 seconds not?
Last edited by o0Julia0o on November 25th, 2019, 6:55 pm, edited 1 time in total.
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: [Rainmeter] Update= ?

Post by balala »

o0Julia0o wrote: November 25th, 2019, 2:44 pm what does this mean?

Update = 60000

All 60.000 miliseconds rainmeter is updating it´s status?

So 60.000/1000= 60 seconds.
Correct.
o0Julia0o wrote: November 25th, 2019, 2:44 pm So a UpdateDivider with 61 seconds will work, but one with 59 seconds not?
Not correct.
No matter what Update do you have set, a meter or measure having an UpdateDivider set is updated once per a period equal to Update x UpdateDivider. So a such measure / meter having UpdateDivider=61 is updated on 61 x 60 = 3660 seconds, while one with UpdateDivider=59 is updated on 59 x 60 = 3540 seconds
o0Julia0o
Posts: 17
Joined: November 25th, 2019, 12:35 pm

Re: [Rainmeter] Update= ?

Post by o0Julia0o »

Thank you. An example:
Given is:
__________________________________________________________________________
Global: 2000

[MEASURE]
UpdateDivider: 1000
__________________________________________________________________________
So the skin is updated: every 2 seconds + every 6 seconds
The Measure is updated every 6 seconds
User avatar
balala
Rainmeter Sage
Posts: 16110
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: [Rainmeter] Update= ?

Post by balala »

o0Julia0o wrote: November 25th, 2019, 6:58 pm Given is:
__________________________________________________________________________
Global: 2000

[MEASURE]
UpdateDivider: 1000
__________________________________________________________________________
So the skin is updated: every 2 seconds + every 6 seconds
The Measure is updated every 6 seconds
No, at all.
The skin is updated every 2000 milliseconds = 2 seconds. No 6 seconds update.
The measure is updated every 2000 x 1000 milliseconds = 2,000,000 milliseconds = 2000 seconds = more than half a hour.
User avatar
Yamajac
Posts: 134
Joined: June 30th, 2014, 8:44 am

Re: [Rainmeter] Update= ?

Post by Yamajac »

UpdateDivider makes that section ignore updates until that number of updates.


So with an UpdateDivider of 1, it updates every update cycle. With an UpdateDivider of 2, it updates once and then skips a cycle and updates again.

With an UpdateDivider of 10, it updates every 10th update cycle. The Update= in the [Rainmeter] section determines the skin's update cycle rate,