Questions tagged [temperature]

A simple definition of temperature is that it is a measure of heat dissipation, This tag can include programming related questions like temperature conversion, temperature detection through device sensors etc.

The temperature of a device is a quantitative measure which indicates how hot or cold the device is, temperature sensitive sensors can be used to make an alarming signal and can be programmed in various programming languages. It is measured by detection of heat radiation by a temperature sensing material, which may be then calibrated in any of various temperature scales, Celsius, Fahrenheit, Kelvin, etc.

Usage of Tag temperature

The tag temperature on stackoverflow can be used to ask questions related to programming a device or application, to sense temperature of a room/device. Tag temperature should be only used for questions related to programming, Please do not ask here questions related to physics or thermodynamics.

624 questions
6
votes
2 answers

How do I get GPU usage per process?

I have a temperature monitor program I wrote a while back which monitors the temperatures and fans on my AMD Graphics cards, checking for fan failure OR overheats. The problem with it, is that it needs to know in advance which process will be using…
farmdve
  • 786
  • 3
  • 13
  • 26
6
votes
4 answers

How to get the temperature of motherboard of a PC (and other hardware statistics)?

does any one know how to get the current motherboard, processor or HD temperature statistics? In GNU/Linux, I know I could use something like hddtemp or sensord to get the info, and then parse it... but in Windows: How can I do this? And, Can it be…
ramayac
  • 5,173
  • 10
  • 50
  • 58
6
votes
1 answer

how to get device 's temperature in android

I want to get temperature from device. but I don t know how I can do. please help me writing simple. thanks.
Furkan
  • 428
  • 3
  • 5
  • 19
5
votes
3 answers

Importing Sea Surface Temperature text files in ASCII format into R

I have downloaded multiple .txt.gz files for Hadley Sea Surface Temperature observations. The data have been unzipped, resulting in mutiple .txt files in ASCII format. I have the following files (the R script is the one I'm working…
emboylen
  • 137
  • 2
  • 13
5
votes
2 answers

get CPU temperature on linux ubuntu 12.10 with AMD FX 4100 Quad Core

There are many questions similar to this but I haven't found solution there. How can I get CPU temperature in C or C++ on Linux Ubuntu 12.10 without call to sensors? I can of course just read it from file, however I cannot find where it is stored…
4pie0
  • 29,204
  • 9
  • 82
  • 118
5
votes
2 answers

Get CPU temperature in python on windows

Basically, I want to read the CPU temperature with Python. Please explain in layman's terms as I have never done this on Windows before nor have I had to work with wmi. This is what I have at the moment: import wmi w =…
ryan27968
  • 437
  • 3
  • 7
  • 14
5
votes
2 answers

How to access laptop battery temperature in Windows?

I want to get the battery temperature in Windows, and I have tried DeviceIoControl function (http://msdn.microsoft.com/en-us/library/aa372698(v=vs.85).aspx) on the BatteryTemperature. I have tried other parameter like BatterySerialNumber, and it…
thinkinnight
  • 141
  • 1
  • 1
  • 6
5
votes
2 answers

Recent OpenHardwareMonitor Sample Code C#

Does anybody know where I can find any recent samples for using OpenHardwareMonitor.dll in C#. I've tried a simple implementation but cannot get the cpu Temp. I know the library must have it since the app itself gets the temperature. I have a…
Josh Elias
  • 3,250
  • 7
  • 42
  • 73
4
votes
2 answers

Get GPU temperature

I am really puzzled here. I want to create an application that does different events upon different temperatures of my graphics card which is an AMD one. The reason i want to make such an applications is because, for a GPU i haven't found one, and…
dikidera
  • 2,004
  • 6
  • 29
  • 36
4
votes
2 answers

How can I create temperature specific color chart in iOS

In this question I need some algorithmic or logical help from you guys. If this is possible in some ways... So I have to develop/write a function that receive a temperature value as an input (C° or F°), and return the specific color against the…
4
votes
2 answers

PHP server statistics script?

I'm not really sure where to put this question (it's not really webapps or superuser) but I'm sure something similar already exists. I'm looking for a php script that gives me detailed info about things such as: CPU load Network…
FLX
  • 4,634
  • 14
  • 47
  • 60
4
votes
2 answers

Get user preferred temperature setting in macOS

I'm trying to read the user set system preferences for Temperature unit (Celsius/Fahrenheit). I was trying to get this data using NSLocale but I cannot find any evidence of a temperature setting in there. Is it even possible to read this…
Mike Nathas
  • 1,247
  • 2
  • 11
  • 29
4
votes
3 answers

Creating a Temperature class which supports different units (Celsius, Fahrenheit, Kelvin)

I'm working on a class to help me to convert between units, and I need to ask about the best way to create this work. This is my sample code about temperature: public class Temperature { private double _Celsius = 0; public double…
JCompiler
  • 37
  • 1
  • 5
4
votes
1 answer

How to monitor Windows CPU and fan temperature by SNMP or other ways

I want to monitor 3 kinds of data for windows machines: cpu temperature, fan temperature and fan speed, retrieving these data every 5 minutes. If these data can be retrieved by SNMP, that's my first choice. I am wondering whether these data's…
alan
  • 41
  • 1
  • 1
  • 3
4
votes
3 answers

Stopping my room getting too hot via AppleScript + a USB Thermometer?

So I'm a coder, I do PHP, JavaScript, and Objective-C. I'm currently working on a website prettymuch full-time and, being 16, don't really have an 'office' except a desk in my bedroom... So I'm spending quite a long time in my room coding this…
Jack
  • 9,615
  • 18
  • 72
  • 112
1 2
3
41 42