Added support for the AMOR SLS VME Magnet controllers to the sinq IOC application
refs #DM-91
This commit is contained in:
31
sinqEPICSApp/Db/slsvme.proto
Normal file
31
sinqEPICSApp/Db/slsvme.proto
Normal file
@ -0,0 +1,31 @@
|
||||
# Streamdevice protocol file for the PSI SLS VME magnet controller used at AMOR
|
||||
|
||||
InTerminator = "\n";
|
||||
OutTerminator = "\r\n";
|
||||
#ExtraInput = Ignore;
|
||||
|
||||
read {
|
||||
out "r \$1 \$2";
|
||||
in "\$1 \$2 %f";
|
||||
}
|
||||
|
||||
readErrTxt {
|
||||
out "r \$1 errtext";
|
||||
in "\$1 errtext %s";
|
||||
}
|
||||
|
||||
|
||||
write {
|
||||
out "w \$1 \$2 %f";
|
||||
in "OK";
|
||||
}
|
||||
|
||||
readonoff {
|
||||
out "r \$1 onoff";
|
||||
in "\$1 onoff %{off|on}";
|
||||
}
|
||||
|
||||
setpower {
|
||||
out "w \$1 %{on|off}";
|
||||
in "OK";
|
||||
}
|
Reference in New Issue
Block a user