46 lines
952 B
Protocol Buffer
46 lines
952 B
Protocol Buffer
Terminator=CR;
|
|
MaxInput = 30;
|
|
ExtraInput = Ignore;
|
|
|
|
# in millisecond
|
|
#ReadTimeout = 1500;
|
|
#ReplyTimeout = 100;
|
|
#PollPeriod = $ReplyTimeout;
|
|
#Integer. Affects first in command in I/O Intr mode (see chapter Record Processing).
|
|
PollPeriod = 250;
|
|
|
|
|
|
# Using redirection to read 2 records, mantissa and exponent
|
|
getPressure001 {
|
|
# out "0010074002=?106";
|
|
in "0011074006%4u%(\$1)2u%+<sum8>";
|
|
}
|
|
# out "0020074002=?107";
|
|
getPressure002 {
|
|
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"
|
|
}
|
|
|