Commit f9242f31 authored by Simone Liuzzo's avatar Simone Liuzzo

disabled h and v steerer look for not Disabled instad of is on.

parent f7dc39ae
......@@ -211,7 +211,7 @@ classdef RingControl < handle
% returns a vector of true/false for correctors On and enabled
% in orbit correction
sta = tango.Attribute(obj.state_hst).value;
enabledhst = strcmp(sta,'On')==1;
enabledhst = strcmp(sta,'Disable')==0;
try
codisab = tango.Attribute(obj.orbit_cor_disabled_hst).value;
......@@ -228,7 +228,7 @@ classdef RingControl < handle
% returns a vector of true/false for correctors On and enabled
% in orbit correction
sta = tango.Attribute(obj.state_vst).value;
enabledvst = strcmp(sta,'On')==1; % device not On
enabledvst = strcmp(sta,'Disable')==0; % device not On
try
codisab = tango.Attribute(obj.orbit_cor_disabled_vst).value;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment