--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/IOCINFRAApp/Db/XGS600.proto Thu Mar 07 09:23:26 2019 +0100
@@ -0,0 +1,37 @@
+#----------------------------------------------------------------------
+#
+# 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";
+}
+
+
+