It is currently April 25th, 2024, 4:46 am
Get help with creating, editing & fixing problems with skins
giuliano
Posts: 4 Joined: November 30th, 2009, 5:38 pm
Post
by giuliano » August 10th, 2010, 5:49 pm
Hey guys,
I'm trying to calculate the Windspeed into Beaufort.
Unfortunately I cant figure out how to get it working.
here is my code:
Code: Select all
[MeasureBeaufort]
MeasureName=MeasureWindCurrent
Measure=Calc
Formula=ROUND((((%1*1000)/3600)/0,836)**(2/3))
[MeterBeaufort]
MeasureName=MeasureBeaufort
Meter=String
X=145
Y=12r
FontFace=#FontFace#
FontColor=#FontColor3#
FontSize=7
StringAlign=LEFT
StringStyle=NORMAL
AntiAlias=1
First issue is how to include the wind measure value into the beaufortmeasure.
Second is, that even without getting the correct windspeed into the formula, the formula doesnt work. It always equals 0. BTW: I tested that by putting a number into the formula instedt of the variable %1
Thanks 4 ur help (:
JpsCrazy
Posts: 667 Joined: April 18th, 2010, 2:16 pm
Location: NY, USA
Post
by JpsCrazy » August 10th, 2010, 5:58 pm
You can use Measures as dynamic vairables by surrounding them in brackets. More info:
http://rainmeter.net/cms/Skins-DynamicVariables_beta
I think the problem with the calc is the ,
It should be a . I believe.
giuliano
Posts: 4 Joined: November 30th, 2009, 5:38 pm
Post
by giuliano » August 10th, 2010, 6:20 pm
Yeah, that's it!
Thanks for that quick response.
You've got it man!