Commit 33a4b2bf authored by Simone Liuzzo's avatar Simone Liuzzo

missing /

parent f0c515f6
......@@ -47,7 +47,7 @@ switch machine
% key names in ebs.model for poinhole cameras
at_pinhole_names = {'pinholeD01', 'pinholeD17', 'pinholeD27', 'pinholeID07', 'pinholeID25'};
simulatordevname = [tango_host 'sys/ringsimulator/ebs'];
simulatordevname = [tango_host '/sys/ringsimulator/ebs'];
case 'sy'
latticemodel = sy.model;
......@@ -85,7 +85,7 @@ for id = 1:length(at_pinhole_names)
pinhole_devname = latticemodel.ring{d(1)}.Device;
p = tango.Device(pinhole_devname); % get pinhole device name from lattice model.
p = tango.Device([tango_host '/' pinhole_devname]); % get pinhole device name from lattice model.
disp(['setting optics properties for: ' pinhole_devname]);
propstruct.beta_h = d(2);
......@@ -112,7 +112,7 @@ sl = 2.0 * latticemodel.getfieldvalue(idx, 'Length'); % get straigth sections le
% set properties of orbit device (computes angle and position at IDs)
try
devorb = tango.Device([tango_host 'sr/sources/all']);
devorb = tango.Device([tango_host '/sr/sources/all']);
% data = zip(labels, [d for d in iddata.T] + [bmdata.flatten(), sr.emith, sr.emitv, sl])
devorb.id_Hbeta = iddata(:,1);
......
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