K-Patents PR-23 User Manual
Page 183
![background image](https://www.manualsdir.com/files/793647/content/doc183.png)
12 Ethernet connection specification
175
Measurement results
The measurement result query gives the measured and calculated measurement
values 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
: float, image quality factor (QF)
PTraw
: integer, PT1000 value
LED
: float, sensor led value
RHsens
: float, sensor internal humidity
nD
: float, calculated n
D
value
CONC
: float, final concentration value
Tsens
: float, sensor internal temperature
T
: float, process temperature (with temperature
bias)
Traw
: float, process temperature (without bias)
CCD
: float, image shadow edge
CALC
: float, calculated concentration value
DTR status
Request ID
0x00000006
Request data
(none)
Response key
*Volt1
: float, DTR internal voltage 1
*Volt2
: float, DTR internal voltage 2
*DTRtemp
: float, 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
field
12.5.3 Error message specification
If the server (DTR) does not recognize the request or cannot fulfill 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 recog-
nized, invalid request data)
*Error
: integer, error code
0x00000002
: No sensor (sensor(s) not con-
nected 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.