]> jspc29.x-matter.uni-frankfurt.de Git - mvd_epics.git/commitdiff
BALZERS: channel as parameter in ADCuC .proto
authorPhilipp Klaus <klaus@physik.uni-frankfurt.de>
Tue, 1 Aug 2017 13:16:01 +0000 (15:16 +0200)
committerPhilipp Klaus <klaus@physik.uni-frankfurt.de>
Tue, 1 Aug 2017 13:16:01 +0000 (15:16 +0200)
BALZERS_PKG020/BALZERS_PKG020App/Db/BALZERS_PKG020_CHANNEL.template
BALZERS_PKG020/protocols/BALZERS_PKG020.proto

index 0cffa83599f4ddce8e523040757f5ab0e61de66e..3cf8dcbc61eea32a049d1269922479f8e4dce25f 100644 (file)
@@ -1,22 +1,9 @@
 record (ai, "$(sys):$(sub):VACUUM:$(vsys):$(SIDE):$(GAUGE):Voltage") {
   field (DTYP, "stream")
-  field (INP,  "@BALZERS_PKG020.proto getVoltage$(CHAN) $(PORT)")
+  field (INP,  "@BALZERS_PKG020.proto getVoltage($(CHAN)) $(PORT)")
   field (SCAN, "2 second")
   field (EGU, "V")
   field (PREC, "4")
   field (ADEL, "0.005")
   field (MDEL, "0.001")
 }
-
-#record (ai, "$(sys):$(sub):VACUUM:$(vsys):$(SIDE):$(GAUGE):Pressure") {
-#  field (DTYP, "stream")
-#  field (INP,  "@BALZERS_PKG020.proto getVoltage$(CHAN) $(PORT)")
-#  field (SCAN, "2 second")
-#  field (EGU, "mbar")
-#  field (PREC, "4")
-#  field (ADEL, "0.005")
-#  field (MDEL, "0.001")
-#}
-
-
-
index 9ba7a51887b9a416eb3448b907df4776ef3a5cde..8840c5f2c24c8df67c1fc26bf7fd6a8e6e3d473f 100644 (file)
@@ -24,19 +24,7 @@ ExtraInput    = Ignore;
 #####################
 
 
-getVoltage1 {
-  out "V 1?";
-  in "V 1 %f";
-}
-getVoltage2 {
-  out "V 2?";
-  in "V 2 %f";
-}
-getVoltage3 {
-  out "V 3?";
-  in "V 3 %f";
-}
-getVoltage4 {
-  out "V 4?";
-  in "V 4 %f";
+getVoltage {
+  out "V \$1?";
+  in "V \$1 %f";
 }