/
nivel210.json
32 lines (32 loc) · 1.06 KB
/
nivel210.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"name": "Leica Nivel210",
"type": "inclinometer",
"description": "Dual-axis inclinometer with RS-232 interface.",
"observations": {
"getXYTemperature": {
"description": "Returns temperature and inclination in two axis.",
"requestSets": {
"getXYTemperature": {
"request": "\\x16\\x02N0C0 G A\\x03\\x0d\\x0a",
"responsePattern": "X:\\W*(?P<x>[-+]?[0-9]+\\.?[0-9]+)\\W*Y:\\W*(?P<y>[-+]?[0-9]+\\.?[0-9]+)\\W*T:\\W*(?P<temperature>[-+]?[0-9]+\\.?[0-9]+)",
"responseDelimiter": "\\x03",
"timeout": 2.0
}
},
"responseSets": {
"temperature": {
"type": "float",
"unit": "C"
},
"x": {
"type": "float",
"unit": "mrad"
},
"y": {
"type": "float",
"unit": "mrad"
}
}
}
}
}