HAMAMATSU
Temperature Monitor
Description
Obtains the monitor status for the sensor head. The status is obtained as
the return value for the function.
Function Name
WORD GetTemperature(ID);
Format
WORD GetTemperature(WORD);
Arguments
ID
Return Values
The temperature monitor status is returned as a value with 10-bit
precision between 0 and 1023.
Temperature calculation
double temp = 0.0;
double v = (double)::GetTemperature(ID) * (2.5 / 1023.0);
if ( GetTemperature(ID) != 0 ) //Sensor is not InGaAs.
{
double r = 100.0 / ((2.5 / v) - 1.0);
temp = (1.0 / ((log(r / 10.0) / 3450.0) + (1.0 / 298.0))) - 273.0;
}
else //Sensor is InGaAs.
temp = (0.737 - v) / 0.01772;
SCSI ID number
Specify MCD controller SCSI ID number
HAMAMATSU PHOTONICS K.K.
- 48 -
MCD CONTROLLER C7557
Chapter 2 Software Library