41 lines
793 B
Protocol Buffer
41 lines
793 B
Protocol Buffer
Terminator=CR;
|
|
MaxInput = 20;
|
|
|
|
# in millisecond
|
|
#ReadTimeout = 2000;
|
|
ReplyTimeout = 250;
|
|
|
|
# Using redirection to read 2 records, mantissa and exponent
|
|
getPressure001 {
|
|
out "0010074002=?106";
|
|
in "0011074006%4u%(\$1)2u%+<sum8>";
|
|
}
|
|
getPressure002 {
|
|
out "0020074002=?107";
|
|
in "0021074006%4u%(\$1)2u%+<sum8>";
|
|
}
|
|
getPressure003 {
|
|
out "0030074002=?108";
|
|
in "0031074006%4u%(\$1)2u%+<sum8>";
|
|
}
|
|
getPressure004 {
|
|
out "0040074002=?109";
|
|
in "0041074006%4u%(\$1)2u%+<sum8>";
|
|
}
|
|
#
|
|
# in "0031074006%4u%(\$1)2u%*3u";
|
|
#
|
|
#getPressureE003 {
|
|
# in "0031074006%*4u%2u%*3u";
|
|
#}
|
|
|
|
# Connect a stringout record to this to get
|
|
# a generic command interface.
|
|
# After processing finishes, the record contains the reply.
|
|
|
|
debug {
|
|
ExtraInput = Ignore;
|
|
out "%s"; in "%39c"
|
|
}
|
|
|