Extend 3He poll to 900 seconds and add refresh command
This commit is contained in:
@ -7,7 +7,7 @@ driver he3_polanal = {
|
||||
group polariser = {
|
||||
var spin = {
|
||||
type = text;
|
||||
readable = 10;
|
||||
readable = 900;
|
||||
read_command = 'polariser';
|
||||
read_function = rdValue;
|
||||
writeable = 1;
|
||||
@ -24,7 +24,7 @@ driver he3_polanal = {
|
||||
group analyser = {
|
||||
var spin = {
|
||||
type = text;
|
||||
readable = 10;
|
||||
readable = 900;
|
||||
read_command = 'analyser';
|
||||
read_function = rdValue;
|
||||
writeable = 1;
|
||||
@ -84,6 +84,9 @@ driver he3_polanal = {
|
||||
|
||||
code setValue = {%%
|
||||
set cmd "${cmd_str}"
|
||||
if {[string equal -nocase [sct target] "refresh"]} {
|
||||
set cmd "${cmd_str}"
|
||||
}
|
||||
if {[string equal -nocase [sct target] "dn"]} {
|
||||
set cmd "${cmd_str} -"
|
||||
}
|
||||
|
Reference in New Issue
Block a user