I thought I had this figured out, but it seems I have it all wrong.
The idea in the skin is to set the Maximum level in a Variable for the measure in MegaBytes.
The Measure then multiplies this by 1048576.
So a Variable set at 100 would then be mutiplied by 1048576 in the Measures MaxValue: MaxValue=(#DownSpeed# * 1048576)
The trouble is that I tested the max speed via SpeedTest.net which gave these results:
My understanding has always been that 8bits = 1Byte and that 1024bytes = 1kB which means 1024kB = 1MB.
Now all of a sudden, I'm reading everywhere that MB is in fact the decimalisation of bits, whereas I always thought MiB was the decimal version, ie, 1MB = 1,000,000 bitsas opposed to 1048576 bits.
The Rainmeter manual states that the download is monitored in bits and then divided by 8 to get MB, which means my original thought that 1MB = 1048576bits is in fact right. So why are these websites telling everyone the opposite?
Which is in fact the correct way?
Ok, now that bit is out of the way, how do I monitor and display a correct value, because what I am seeing is not what is displaying.
For example, I tested a random large download in qBittorrent, 27.8GB. It displays in MiB and the speed is averaging 20MiBps.
This equates to:
20.97152 MiBps
21.99023255552 MBps
But the numbers I get from my skin match none of these! What am I doing wrong?
Here's a cut down version of the skin: I have set the Variable DownSpeed to 100, this is then multiplied in the Measure to equal a MaxValue of 100 x 1048576, which, according to the websites equals 100MiB. This appears to be giving me a correct skin reading of around 11.5MB on average which compares almost equally to the 95.07Mbps stated from SpeedTest.net. How? 100MiB is way more than 95.07Mb so how am I getting a correct reading? But then it doesn't match the reading from qBittorrent which equates to 2.62144MBps and not the reading I am getting of around 11.5MBps.
How do I set the MaxValue and the Variable correctly so the MaxValue is equal to the max download speed from SpeedTest.net? And what should the Variable be set to and how should it be multiplied?
None of the numbers when converted in an online converter add up properly.
eg, As stated above qBittorrent shows:
Thanks for your help.![Thumbs Up :thumbup:]()
The idea in the skin is to set the Maximum level in a Variable for the measure in MegaBytes.
The Measure then multiplies this by 1048576.
So a Variable set at 100 would then be mutiplied by 1048576 in the Measures MaxValue: MaxValue=(#DownSpeed# * 1048576)
The trouble is that I tested the max speed via SpeedTest.net which gave these results:
Seems odd that Upload is faster than download! But anyway...MegaBits per second:
Download Mbps 95.07
Upload Mbps 122.37
Which equates in MegaBytes per second to:
Download MBps 11.88375
Upload MBps 15.29625
And in Mebibits:
Download MiBps 90.66581726074219
Upload MiBps 116.70112609863281
My understanding has always been that 8bits = 1Byte and that 1024bytes = 1kB which means 1024kB = 1MB.
Now all of a sudden, I'm reading everywhere that MB is in fact the decimalisation of bits, whereas I always thought MiB was the decimal version, ie, 1MB = 1,000,000 bitsas opposed to 1048576 bits.
The Rainmeter manual states that the download is monitored in bits and then divided by 8 to get MB, which means my original thought that 1MB = 1048576bits is in fact right. So why are these websites telling everyone the opposite?
I must be thinking of it wrong, but that was what I always remember it being.
Which is in fact the correct way?
Ok, now that bit is out of the way, how do I monitor and display a correct value, because what I am seeing is not what is displaying.
For example, I tested a random large download in qBittorrent, 27.8GB. It displays in MiB and the speed is averaging 20MiBps.
This equates to:
20.97152 MiBps
21.99023255552 MBps
But the numbers I get from my skin match none of these! What am I doing wrong?
Here's a cut down version of the skin:
How do I set the MaxValue and the Variable correctly so the MaxValue is equal to the max download speed from SpeedTest.net? And what should the Variable be set to and how should it be multiplied?
None of the numbers when converted in an online converter add up properly.
eg, As stated above qBittorrent shows:
Could you help please, I'm just so confused with this! It should be a simple straightforward measurement but it isn't!Download speed of 20.97152 MiBps
This was converted to 21.99023255552 MBps
Again, then converted to 175.92186044416 Mbps
Yet SpeedTest says my maximum is 95.07 Mbps, just makes no sense!
Thanks for your help.

Statistics: Posted by sl23 — Yesterday, 10:36 am — Replies 16 — Views 1611