[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
XWidgetSoft Forum • View topic - CPU temp

XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently April 16th, 2024, 9:01 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: CPU temp
PostPosted: May 16th, 2013, 5:56 pm 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
This code just not working....
Cov reports that if you have the "CoreTemp Demo" program installed in the pc then the temp shows up!
But Norton shows this .exe as malware and the code should work with Designer's code and without any tricks or additional software...
Please Tony fix this.

Thanks

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
 Post subject: Re: CPU temp
PostPosted: May 16th, 2013, 6:31 pm 
Offline
User avatar

Joined: March 22nd, 2013, 3:49 am
Posts: 154
Yes, please Tony. This needs to be fixed as it's important.
Thank you!


Top
 Profile  
 
 Post subject: Re: CPU temp
PostPosted: March 15th, 2016, 8:53 am 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
A reply to an old post but it may still be informative.

The Xwidget program cannot obtain temperatures from the o/s by itself as the temperatures are NOT provided by the o/s.

The devices that provide the temperature data are temperature sensors (thermo-couples) which are situated on the motherboard and on other devices such as discs &c. Each thermo-couple and its placement is unique to the device and therefore unknown to the o/s that unfortunately knows next to nothing about the motherboard unless it adheres to a standard that the o/s recognises. There is no such temperature provision standard that is fully implemented for Windows and its compatible cpus/motherboards. Every motherboard/device is potentially completely different from another.

Therefore, you must have a program whose job it is to extract the sensor information. It needs to know about hundreds if not thousands of motherboards, it must have the latest information on the newest motherboards. Code needs to be written to extract that information and it needs to be tested against hundreds of motherboards to avoid crashing/damaging the device you are probing.

Speedfan, coretemp and open hardware monitor are the main tools that people seem to use on Windows. Each maintains a list of compatible devices and if your m'board is on the list then the utility will/should be able to provide the temperature information.

What the Xwidget core does is to access this utility's API to extract that information and present it to the widgeteer in a usable fashion. In the case of Speedfan there is a shared memory area that provides the barest minimum of data. Speedfan provides the temperature data for a set number of sensors without naming or identifying the sensors properly. Therefore you don't know whether sensor 1 is the CPU core sensor or the ambient temperature sensor. This is why the information as presented by Xwidget is so vague (temp1, temp2, temp &c). This is not a limitation of the Xwidget engine but a major limitation on Speedfan's part which that utility's developer cannot be bothered to address despite being asked hundreds of times, link to tracker -

The end result is that without using Speedfan or similar neither the Xwidget program nor any other utility can provide the temperature information without such a tool being installed and run independently.

Coretemp has been around for a while now and it has been suggested that it is a bit long in the tooth and not being actively developed so newer motherboards/devices may not be supported.

That leaves us with Open Hardware Monitor which is a much better tool and uses the Windows Management Instrumentation (WMI) layer to provide the information in a more structured way. We can just hope that Tony will write a new core for OHM that will allow widgets access to all the sensor information for all devices without having to write the WMI code in javascript to access the WMI data independently.


Top
 Profile  
 
 Post subject: Re: CPU temp
PostPosted: March 15th, 2016, 9:44 am 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
I have noticed that the Xwidget interface to coretemp only provides temperatures for three cores whereas coretemp provides data from all four cores as it should. I assume that %CPU1Temp is core zero?

%CPU1Temp
%CPU1Core1Temp
%CPU1Core2Temp
%CPU1Core3Temp

Jim, you know your stuff here, please tell me if this is what I am seeing is actually what is happening.


Top
 Profile  
 
 Post subject: Re: CPU temp
PostPosted: March 15th, 2016, 11:26 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
I never used this type of tag. As I told in my previous post, we need an external program installed so XWidget can read the data. It will be great of course if XWidget can handle this by itself. I can't tell you more..

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
 Post subject: Re: CPU temp
PostPosted: April 15th, 2016, 8:42 am 
Offline
User avatar

Joined: July 29th, 2013, 9:13 am
Posts: 609
Xwidget will never be able to handle this by itself. See my post.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group