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