Skip to content
Snippets Groups Projects
Commit a50874b3 authored by Federico Felici's avatar Federico Felici
Browse files

further updates to expcode class

parent 9a41dfc6
No related branches found
No related tags found
No related merge requests found
......@@ -159,9 +159,7 @@ classdef SCDclass_expcode
obj.setupnodedd;
obj.setupmaindd;
fprintf('Setting up variant model configuration')
obj.setupvaralgo;
fprintf('Setting up expcode %d, ''%s'', configuring default tunable parameters ...\n',obj.maincode,obj.name);
obj.updatedefaulttp;
fprintf('Setting up expcode %d, ''%s'', configuring global data ...\n',obj.maincode,obj.name);
......@@ -197,7 +195,14 @@ classdef SCDclass_expcode
dd.addDataSource(mydatasource);
end
% Set up RFM bus
fprintf('Setting up RFM main bus\n')
addRFMbus(obj,dd)
fprintf('Setting up variant model configuration')
obj.setupvaralgo;
dd.saveChanges;
end
function actualize(obj, shot, varargin)
......@@ -463,7 +468,7 @@ classdef SCDclass_expcode
parse(p,varargin{:});
myddname = p.Results.ddname;
dim=obj.mdscontainer.printMARTe2wgbusconfig(shot, myddname, busname, frequency);
obj.mdscontainer.printMARTe2wgbusconfig(shot, myddname, busname, frequency);
end
function printparameters(obj)
......@@ -693,8 +698,7 @@ classdef SCDclass_expcode
function setupnodedd(obj)
% For every node, add required wrapper datadicationaries as
% sources for the main data dicationary
% Getting main data dictionary and required data sources
datadictname = obj.ddname;
fprintf('opening %s\n',datadictname)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment