#----------------------------------------------------------------------
#
# StreamDevice protocol file for a reading/setting selected elements
# from a Varian XGS-600 pressure gauge controller
#
# 2013-01-10 J.Priller original version
#
#----------------------------------------------------------------------
Terminator = CR;
# getUnits(address)
getUnits {
out "#\$113";
in ">%d";
}
# getPressure(address,chan)
getPressure {
out "#\$102\$2";
in ">%g";
}
# send a raw command
sendRawCommand {
out "%s";
}
# send a raw query (needs argument for PV to receive reply)
sendRawQuery {
ExtraInput = Ignore;
out "%s";
in "%(\$1)40c";
}