Skip to content
Snippets Groups Projects
Commit 28372176 authored by Cristian Galperti's avatar Cristian Galperti
Browse files

try statement reinserted

parent 2eb8f375
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ classdef SCDclass_taskmdsloadprevADC < SCDclass_task
mdsconnect(obj.mdsserver);
mdsopen(obj.mdstree, shot);
%try
try
switch(obj.node)
case 1
obj.actualizeNode(shot, 96, false);
......@@ -47,10 +47,10 @@ classdef SCDclass_taskmdsloadprevADC < SCDclass_task
case 7
obj.actualizeNode(shot, 96, true);
end
%catch
% fprintf('\n');
% warning('SCDclass_taskmdsloadprevADC:init','Error initializing ADC bus for node %d.',obj.node);
%end
catch
fprintf('\n');
warning('SCDclass_taskmdsloadprevADC:init','Error initializing ADC bus for node %d.',obj.node);
end
end
function [obj, value] = getdata(obj,shot)
......
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