record(stringin, "$(P):$(R):getter"){
field(DESC, "get Pfeiffer MaxiGauge Sensor Value")
field(DTYP, "stream")
field(INP, "@dualgauge.proto getSensorValue($(CHA)) $(PORT)")
field(SCAN, "1 second")
field(FLNK, "$(P):$(R):Status")
}
record(scalcout, "$(P):$(R):Status"){
field(DESC, "extracts the Status from the response")
field(INAA, "$(P):$(R):getter")
field(CALC, "SSCANF(AA, \"%d%*\")")
field(FLNK, "$(P):$(R):Pressure")
}
record(scalcout, "$(P):$(R):Pressure"){
field(DESC, "extracts the Pressure from the response")
field(INAA, "$(P):$(R):getter")
field(CALC, "SSCANF(AA, \"%*2c%E\")")
field(PREC, "12")
field(EGU, "mbar")
}