Temperature Monitor - Hamamatsu Photonics C7557-01 Instruction Manual

Mcd controller
Table of Contents

Advertisement

C7557-01 DLL INSTRUCTION MANUAL

5-21 TEMPERATURE MONITOR

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 code
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;
26
USB ID number
Specify MCD controller USB ID number
HAMAMATSU PHOTONICS K.K.

Advertisement

Table of Contents
loading

Table of Contents