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