Commit c373256a authored by Simone Liuzzo's avatar Simone Liuzzo

read_mag Attribute CorrectionStrength. WIP. Temporary fix

parent 8c42d49a
......@@ -11,8 +11,8 @@ function [strength,devlist] = read_mag(varargin)
%
%[...,DEVNAME]=EBS.READ_MAG(...)
% Return in addition the device names
strength_attribute_name = 'CorrectionStrength';
devlist=getargs(varargin,{ebs.magname()});
strength=cellfun(@(d)tango.Attribute(d).setpoint('',NaN),devlist,'un',0);
strength=cellfun(@(d)tango.Attribute([d,'/',strength_attribute_name]).setpoint('',NaN),devlist,'un',1);
end
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