function [Time, Ihoriz] = SdasLoadIhorizData(client, shotnr) %% Name of the parameter to get from database ihorizName = 'TR512_TOMOGRAPHY_TR512_B03.CHANNEL_4'; %% If the parameter exists get data, otherwise exit if client.parameterExists(ihorizName, '0x0000', shotnr) %% Get IVERT data ihorizData = client.getData(ihorizName, '0x0000', shotnr); Ihoriz = ihorizData.getData(); Ihoriz = double(Ihoriz); %% Create time vector Time = SdasCreateTimeVector(ihorizData); else %% Warn the user that the parameter does not exist for this event disp('Parameter does not exist.'); Time = []; Ihoriz = []; end