IOCINFRAApp/Db/XGS600.proto
author Heinz Junkes <junkes@fhi-berlin.mpg.de>
Thu, 07 Mar 2019 09:23:26 +0100
changeset 0 77d8eafe2a07
permissions -rw-r--r--
Initial repo

#----------------------------------------------------------------------
#
#  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";
}