<< printParam retrieve_dbstore retrieveMessage >>

retrieve_dbstore >> retrieve_dbstore > retrieve

retrieve

Retrieve shot data with diagnostics,shot#,subshot# and channel#.

Syntax

[data_cell,param_cell,code,time_cell,tpara_cell] = retrieve(diag_name,shot_number,sub_shot,channels, ...)

Input parameters

diag_name (sting)

name of diagnostics

shot_number (numeric)

SHOT number

sub_shot (numeric)

Sub SHOT number

channels (numeric [vector]) or (string)

channel number(s)

  • If it wants to retrieve all channels, it is 0.
  • If it wants to retrieve a channel, it is N.
  • If it wants to retrieve a range, it is START#:END#. (e.g. [1,3,5:7] )

signal tag name (e.g. 'sig-tag1')

Options

'frame', frames (numeric [vector])

frame number

The format is the same as an channels parameter.

'host', hostname (string)

retrieve from a direct server

'path', pathname(string)

retrieve from a direct path

'wait'

wait for the appearance of data

It can't be used with 'et','tt'.'ss'.

'vdbl'

Convert to voltage or real number

'v8'

same 'vdbl'

'timeout', timeout_sec (numeric)

seconds of timeout for wait.

The default is 180 sec.

'silent'

do not display messages.

'dataclass', classname(string)

fix the class of data.

'intN','uintN','double' (N=8,16,32,64)

Range options

'et', range (string)

range by experiment timming

'N:M[u]' N:begin time, M:end time, u:unit(s,ms,us)(e.g. '1:2.5s' )

'tt', range (string)

range by base of triggered time

This format is same of 'et' option.

'ss', range (string)

range by sample number

'N:M' N:begin number, M:end number(e.g. '10000:20000' )

Output parameters

data_cell (cell)

data for each channels

param_cell (cell)

parameter for each channels

code (numeric)

result code

If it is 0 , this function is success. otherwise, this function is error.

time_cell (cell)

time's data for each channels

tpara_cell (cell)

time's parameter for each channels

Description

Retrieve shot data with diagnostics,shot#,subshot# and channel#.

Examples

[data param code] = retrieve('SX8O',98000,1,0,'silent');
if code ~= 0
   disp('Error');
else
   printParam(param);
end

[data,p,code] = retrieve( 'SX8O', 98000,1,0,'wait','timeout',30 );
if code == 0
   disp('Success');
end

>> [data,params,code,ta,tp] = retrieve('RADH',98000,1,[2:6,12],'et','3:6s');
>> plot2d(ta{1},data{1});
>> printParam(params{1});

See also

Authors

History

バージョン記述
20.0.0 Initial release.

Report an issue
<< printParam retrieve_dbstore retrieveMessage >>