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

prevethcat loads L11 angle

- but we need to be retro compatible
  before putting this in master
parent 03db16b4
No related branches found
No related tags found
No related merge requests found
......@@ -31,8 +31,8 @@ classdef SCDclass_taskmdsloadprevETHCAT < SCDclass_task
end
obj.classname=mfilename;
obj.logdecimate=2;
obj.nint16=20;
obj.nfloat32=10; % not yet implemented
obj.nint16=26;
obj.nfloat32=0; % not yet implemented
end
function init(obj, shot)
......@@ -107,11 +107,11 @@ classdef SCDclass_taskmdsloadprevETHCAT < SCDclass_task
% has not stored.
% status=0 indicates success
mdsopen('rtc',shot);
mdsnodename='node02';
mdsnodename='node03';
T=timeseries;
timebase=mdsvalue(['dim_of(\top.' mdsnodename '.ethcat1.in.int16_001)']);
if ~isnumeric(timebase)
mdsnodename='node03';
mdsnodename='node02';
T=timeseries;
timebase=mdsvalue(['dim_of(\top.' mdsnodename '.ethcat1.in.int16_001)']);
end
......
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