]> jspc29.x-matter.uni-frankfurt.de Git - mvd_epics.git/commitdiff
HAMEG_HMP4030: New PV Identification
authorPhilipp Klaus <klaus@physik.uni-frankfurt.de>
Tue, 8 Aug 2017 13:47:21 +0000 (15:47 +0200)
committerPhilipp Klaus <klaus@physik.uni-frankfurt.de>
Tue, 8 Aug 2017 13:47:21 +0000 (15:47 +0200)
HAMEG_HMP4030/HAMEG_HMP4030App/Db/HAMEG_HMP4030.db
HAMEG_HMP4030/protocols/HAMEG_HMP4030.proto

index 0e937197a6b0489a51541530c7976f0cf1a35749..27bbd1447a913bdd5df396d2aa1b67378cd34b5f 100644 (file)
@@ -10,3 +10,10 @@ record (bo, "$(sys):$(sub):POWER:$(vsys):DeactivateAllChannel") {
   field (OUT,  "@HAMEG_HMP4030.proto DeactivateAllChannel $(PORT)")
   field (SCAN, "2 second")
 }
+
+record (stringin, "$(sys):$(sub):POWER:$(vsys):Identification") {
+  field (DTYP, "stream")
+  field (INP, "@HAMEG_HMP4030.proto GetIdentification $(PORT)")
+  field (PINI, "YES")
+}
+
index d64c69f9bd43b73fd2c3de53cb076af8755158c8..95dae4c6d1d581e56ad7f0237c375d607abd9f32 100644 (file)
@@ -25,6 +25,11 @@ ExtraInput    = Ignore;
 
 #---GLOBAL STATE-----------------------------------------------------------------------
 
+GetIdentification {
+  out "*IDN?";
+  in "%s";
+}
+
 ActivateAllChannel {
   out "OUTP:GEN ON";
 }