[SOLVED] Available VRAM From SIV Plugin
Posted: November 21st, 2017, 9:31 pm
Hi, i am experimenting with the plugin for SIV system monitoring software.
Things are going well and i can monitor the VRAM currently in use by my video card.
But for the bar meter i wan't to make, i need a max value.
My GPU has 8 gigs available, and SIV can detect this.
BUT, the way the plugin see's it, is in a long line which i suspect is a string and not a number value. 1. Current = The current value [Default]
2. Average = The average value
3. Minimum = The minimum value
4. Maximum = The maximum value
5. String = Can use this when the measure is a pure string such as NodeName, Username etc...For numerical measures it gives you a comma separated string of the four values (Cur,Avg,Min,Max) as provided by SIV to my plugin. It can be used to see what SIV provides as raw input in case of problem or if you want to decode it yourself in Rainmeter in case of new measure format provided by SIV.
No option to just grab the available VRAM
The measure looks like this:
I wonder if i could use RegExpSubstitute to extract the number eight from that line and discard everything else.
But then, would i even be able to use that number in a calc measure? Is it a sting, and not a real number?
Looked over the documentation for RegExpSubstitute, but it is just beyond my skills at this time.
https://forum.rainmeter.net/viewtopic.php?f=18&t=25097
Sadly the author is not active on his thread, so i thought i would give it a shot and ask here...
Things are going well and i can monitor the VRAM currently in use by my video card.
But for the bar meter i wan't to make, i need a max value.
My GPU has 8 gigs available, and SIV can detect this.
BUT, the way the plugin see's it, is in a long line which i suspect is a string and not a number value. 1. Current = The current value [Default]
2. Average = The average value
3. Minimum = The minimum value
4. Maximum = The maximum value
5. String = Can use this when the measure is a pure string such as NodeName, Username etc...For numerical measures it gives you a comma separated string of the four values (Cur,Avg,Min,Max) as provided by SIV to my plugin. It can be used to see what SIV provides as raw input in case of problem or if you want to decode it yourself in Rainmeter in case of new measure format provided by SIV.
No option to just grab the available VRAM
The measure looks like this:
Code: Select all
[mgpuvram]
Measure=Plugin
Plugin=SIV
SivKey=GPU-0-B
Sensor=L
SivType=String
But then, would i even be able to use that number in a calc measure? Is it a sting, and not a real number?
Looked over the documentation for RegExpSubstitute, but it is just beyond my skills at this time.
https://forum.rainmeter.net/viewtopic.php?f=18&t=25097
Sadly the author is not active on his thread, so i thought i would give it a shot and ask here...