12 Ethernet connecon specicaon
185
Measurement results
The measurement result query gives the measured and calculated measurement val-
ues from the chosen sensor.
Request ID 0x00000004
Request data 0x00000000 : sensor A
Request data 0x00000001 : sensor B
Response keys Status : string, sensor status message
Slope : loat, image quality factor (QF)
PTraw : integer, PT1000 value
LED : loat, sensor led value
RHsens : loat, sensor internal humidity
nD : loat, calculated n
D
value
CONC : loat, inal concentration value
Tsens : loat, sensor internal temperature
T : loat, process temperature (with temperature bias)
Traw : loat, process temperature (without bias)
CCD : loat, image shadow edge
CALC : loat, calculated concentration value
DTR status
Request ID 0x00000006
Request data (none)
Response key *Volt1 : loat, DTR internal voltage 1
*Volt2 : loat, DTR internal voltage 2
*DTRtemp : loat, DTR internal temperature
Out1uA : integer, mA output 1 in uA
Out2uA : integer, mA output 2 in uA
Switches : hex string (e.g. "0x00"), switch status as a bit ield
12.5.3 Error message specicaon
If the server (DTR) does not recognize the request or cannot fulill it, it responds with
an error message. The error message has the following keys:
*Error : integer, error code 0x00000000 : Unknown request
*Error : integer, error code 0x00000001 : Invalid request (request recognized,
invalid request data)
*Error : integer, error code 0x00000002 : No sensor (sensor(s) not connected
to DTR)
ErrorMsg : string, error details
There may also be error-dependent extra keys. Other error codes may be returned.
0x00000003 is to be handled as unknown request. Codes with higher numbers refer
to internal errors; contact K-Patents for more information on these.