<< retrieve_t LABCOM Retrieve and dbStore Toolbox for Scilab setParam >>

LABCOM Retrieve and dbStore Toolbox for Scilab >> LABCOM Retrieve and dbStore Toolbox for Scilab > retrieve_td

retrieve_td

Make time array with DTS information on SHOT.

Syntax

[time_array, params_cell, code] = retrieve_td( shot_number, sub_shot, dts_source, dts_host, dts_mod, trig_ch, clk_ch, ext_or_int, define_clk , array_size, ... )

Input parameters

shot_number (numeric)

SHOT number

sub_shot (numeric)

Sub SHOT number

dts_source (string)

DTS source type ('VME','CAMAC',....)

dts_host (string)

DTS Host ID ('VME01','133.75.175.172',...)

dts_mod (string)

DTS module ID ('DMOD0','DMOD1',DMODSS0')

trig_ch (numeric)

trigger channel number

clk_ch (numeric)

clock channel number (for 'External')

ext_or_int (string)

'External' or 'Internal'

  • If it is 'External', clock used DTS.
  • If it is 'Internal', clock used 'define_clk'.
define_clk (numeric)

clock speed(nano-seconds) (for 'Internal')

array_size (numeric)

array size

Options

'clksource', clkSource (string)

If CLK differs from DTS, Clock DTS Source (''VME'', ''FPGA'' etc..)

'clkhost', clkHostID (string)

If CLK differs from DTS, Clock Host ID (''133.75.175.180'' etc..)

'clkmodule', clkModuleID (string)

If CLK differs from DTS, Clock Module ID (''DMODSS0'', ''DMOD0'' etc..)

'silent'

do not display messages.

Output parameters

time_array (array)

time data

params_cell (cell)

parameter data

code (numeric)

result code

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

Description

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

Examples

(a) When 'clk_source' is 'External',
--> data = retrieve('RADH',98000,1,1);
 .....
--> tm = retrieve_td(98000,1,'VME','133.75.175.172','DMOD0', ...
     5,2,'External',0,length( data(1).entries ));
 ....
--> plot2d( tm, data(1).entries);

(b) When 'clk_source' is 'Internal',
--> [time_buff, param, code] = retrieve_td( 98000,1, ...
                'VME','VME01','DMOD0',2,0,'Internal',100000,10000);

See also

Authors

History

バージョン記述
20.0.0 Initial release.

Report an issue
<< retrieve_t LABCOM Retrieve and dbStore Toolbox for Scilab setParam >>