I am writing a windows application that gets all of the connected hard drives, and among other things, reads their temperatures.
The value returned by the hard drive controller is one of the bytes of info in a byte array, which means the temperature returned by the hard drive is always between 0 and 255. For some vendors, like Western Digital, the returned value is in Celsius. For others, like Maxtor, the value is usually in Fahrenheit.
I am trying to write a method that reliably determines if the value is probably Fahrenheit, or probably Celsius.
Some values I know right away are in Farhenheit, like 140 degrees.
Some values could be one or the other, like 70 degrees.
Has anyone ever deliberately fried a hard drive? I would like to know how much temp. a hard drive can handle before it dies.
Thanks for any responses.
Sincerely,
Hamfiles
The value returned by the hard drive controller is one of the bytes of info in a byte array, which means the temperature returned by the hard drive is always between 0 and 255. For some vendors, like Western Digital, the returned value is in Celsius. For others, like Maxtor, the value is usually in Fahrenheit.
I am trying to write a method that reliably determines if the value is probably Fahrenheit, or probably Celsius.
Some values I know right away are in Farhenheit, like 140 degrees.
Some values could be one or the other, like 70 degrees.
Has anyone ever deliberately fried a hard drive? I would like to know how much temp. a hard drive can handle before it dies.
Thanks for any responses.
Sincerely,
Hamfiles