Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 975

Help: Rainmeter Skins • Ping plugin's Timeout doesn't work as expected.

$
0
0
I wanted to make ping indicator. My final goal is to detect ping every seconds, and show "RTO" if request timeout.
My assumption is that I should set Timeout to 1000 and UpdateRate to (1000/#MyUpdate#) where #MyUpdate# is the value I assigned to Rainmeter.Update.

I'm currently trying to show RTO if request timed out. For that I'm trying to force request timed out by setting Timeout value to lower than my current ping, in this case 10 because 10 is lesser than 23.

Code:

[sPing]Measure=PluginPlugin=PingPluginUpdateRate=#TheirPingUpdateRate#Timeout=10TimeoutValue=-1DestAddress=www.google.com[tPing]Meter=StringMeasureName=sPingX=#MySectionSpacing#Y=(#MyMarginTop# + 3)W=30H=#MyHeight#FontSize=8FontColor=255,255,255,255Text=%1ms
However, it still shows 23ms instead of -1ms.
Where did I do wrong?

Full skin can be found here

Statistics: Posted by pegasusearl — Today, 8:23 am — Replies 1 — Views 27



Viewing all articles
Browse latest Browse all 975

Trending Articles