4
|
1 |
record(stringin, "$(P):$(R):getter"){
|
|
2 |
field(DESC, "get Pfeiffer MaxiGauge Sensor Value")
|
|
3 |
field(DTYP, "stream")
|
|
4 |
field(INP, "@dualgauge.proto getSensorValue($(CHA)) $(PORT)")
|
|
5 |
field(SCAN, "1 second")
|
|
6 |
field(FLNK, "$(P):$(R):Status")
|
|
7 |
}
|
|
8 |
|
|
9 |
record(scalcout, "$(P):$(R):Status"){
|
|
10 |
field(DESC, "extracts the Status from the response")
|
|
11 |
field(INAA, "$(P):$(R):getter")
|
|
12 |
field(CALC, "SSCANF(AA, \"%d%*\")")
|
|
13 |
field(FLNK, "$(P):$(R):Pressure")
|
|
14 |
}
|
|
15 |
|
|
16 |
record(scalcout, "$(P):$(R):Pressure"){
|
|
17 |
field(DESC, "extracts the Pressure from the response")
|
|
18 |
field(INAA, "$(P):$(R):getter")
|
|
19 |
field(CALC, "SSCANF(AA, \"%*2c%E\")")
|
|
20 |
field(PREC, "12")
|
|
21 |
field(EGU, "mbar")
|
|
22 |
}
|