HWiNFO32/64 plugin for Samurize


Download

Well, since this documentation comes in the plugin download package, you should already have the plugin itself. Anyway, if you need the download link, here it is: HWiNFO32 & HWiNFO64 plugin for Samurize (ext. link). Feel free to coment, share, etc.

When you download the plugin from that link, you should see the plugin itself (.dll file) and a folder called 'documentation' (with... well... this documentation)


What is HWiNFO32/64?

More info here: HWiNFO (ext. link)

What is Samurize?

More info here: Samurize (ext. link).

So, what do we have here?

A simple plugin (.dll file) that lets Samurize to read values from HWiNFO shared memory.

Why to try it?

Well. Samurize is great for hardware monitoring, we all know that. And you can expand its features through plugins that relays in other programs. Problem is that you need all those programs running in the background to keep Samurize reading the values.
You can also use a program that reads a lot of info and that have either shared memory or WMI support. However, they are not so easy to find. And when you find any of them, you'll probably realise that they tend to be a bit heavy, some are not freeware, some lacks on sensors and some of them even block access to some sensors.

Then I found HWiNFO, a free software that reads a lot of hardware sensors. I can tell it's one of the most complete software I have tried in that respect: number of sensors reported. It's also quite lightweight (specially in 'Sensors only' mode).
So, HWiNFO is a free, lightweight, hardware reporting/monitoring/benchmarking tool that has x86 and x64 versions (HWiNFO32 and HWiNFO64 respectively) and also with installable and portable versions. Furthermore, since version 3.83, the software has a shared memory feature. What does that mean? That you can read its sensors from another program. Here is where Samurize comes on.

And this is the documentation that will teach you how to install and use the plugin. The documentation itself should be pretty easy to use. Just four sections you can navigate with the above menu. Nothing special.


Thanks to

Before ending that section, I wish to thank some people that helped me creating this plugin:



Requirements

Of course, you need HWiNFO32 or HWiNFO64. And also Samurize. But there are a bit more requirements.


Installation

Just drop the hwinfo64.dll (don't get confused with the '64' in the name, it should also work with HWiNFO32) in your /Samurize/plugins/ folder.
Yes, just that easy. Uninstallation is... yes, you guessed it. Delete the hwinfo64.dll inside your /Samurize/plugins/ folder.



First of all

Be sure that you meet the above-mentioned requirements (see previous section, 'How to install'). I'll try to explain step-by-step how to create a plugin meter and configuring it.

When you are ready, open your Samurize config file or make a new one. I found useless to provide a sample config file since every computer's hardware may (and will) vary and a meter using this plugin configured in my computer may not be valid in yours.

Using the plugin functions.

Once you're inside the config file, clic the 'Add meter', then select 'Plugins' and select 'hwinfo64.dll':

[image not found]

Somewhere in your work area will appear this:

[image not found]

Now in the right part of Samurize config tool, you will see this:

[image not found]

As you can see, there are four available functions to select in the 'Select function to run' section.

GetAll

This step is optional but I strongly recommend to use GetAll before even trying the other functions. When you select it, a prompt will appear, asking you for a filename (note that if you specify a path, it must exist, as the plugin will not be able to create it):

[image not found]

After configuring that filename, clic the 'Test Function' button. This function will create a plain text file with a list of your hardware and, what is more important, the ID numbers that identify each sensor and subsensor. It may sound a bit tricky or abstract but let's take a look at the HWiNFO sensors window:

[image not found]

In this case, I'm showing only part of my HWiNFO sensors window, specifically my graphics card sensor set.

Now let's compare it with the text file created by the GetAll function.

[image not found]

You can see the parallelism, don't you?

GetLabel / GetValue / GetUnit

Now let's take the next step: showing labels, values and units with GetLabel, GetValue and GetUnit functions. Actually, I'll only show one of the functions; all have esentially the same structure, ask for the same number and kind of parameters. The only difference is the kind of value they return. For instance, GetLabel would return 'Vcore', GetValue would return '1.126' and GetUnit would return 'V'.
Those are the three parameters that the functions ask for when you select one of them:

[image not found] [image not found] [image not found]

The first parameter, sensor index, corresponds to:

The second parameter, subsensor type, corresponds to:

The third parameter, subsensor index, corresponds to:

An example. According to the previous screenshots, if we want to show the GPU voltage, we will enter 10, 1 and 0 as parameters. If you input wrong parameters, the functions will return 'Invalid parameter'. If HWiNFO sensors window is not running, the functions will return either 'Invalid parameter' or 'Error: HWinfo32/64 sensors not running'

And that's all. Now it may seem tricky or even hard. I'll try to make the plugin more 'user-friendly' in future versions.



HWiNFO

These are some recommendations regarding to HWiNFO:


Samurize

These are some recommendations regarding to Samurize:



License

The plugin is completely freeware. If anyone asks you for money to get the plugin, kill him/her. Just kidding. Insulting him/her should be enough and will work as well.

Warranty

Also want to make it clear: I provide the plugin 'as is'. That means, with no warranties. I can't assure that the thingy will be working flawlessly in your system. If your computer explodes while using this plugin, I'm really sorry, believe me, but I can't take any responsibility.
Joking apart, if you have any problem with the plugin itself (neither HWiNFO nor Samurize problems), ask for it in a polite way and, if it doesn't fall beyond my knowledge and possibilites, I'll try to help you.
To have support, just open a thread in the appropiate Samurize subforum. I'll make it easy: Samurize srcipt/plugin support subforum (ext. link)
And please, read the whole documentation before asking anything. I think it's quite fair.