<< retrieveVersion retrieve_dbstore retrieve_td >>

retrieve_dbstore >> retrieve_dbstore > retrieve_t

retrieve_t

Make time arrays for diagnostics's channels, or Retrieve DTS's parameter on SHOT.

Syntax

[time_cell, params_cell, code] = retrieve_t(diag_name, shot_number, sub_shot, channel_number, ...)

Input parameters

diag_name (sting)

name of diagnostics or DTS

  • DTS name's format are 'DTS:hostID','DTS:hostID:','DTS:hostID:moduleID'
  • If it is diagnostics name, this function make time array, otherwise this function retrieve DTS's parameter.
shot_number (numeric)

SHOT number

sub_shot (numeric)

Sub SHOT number

channels (numeric [vector]) or (string)

channel number(s)

Single format is "n"(numeric), range format is "n:m"(vector), and both(e.g. [1,3,5:7]).

  • 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

'wait'

wait for the appearance of data

'timeout', timeout_sec (numeric)

seconds of timeout for wait.

The default is 180 sec.

'silent'

do not display messages.

Output parameters

time_cell (cell)

time's data for each channels

tpara_cell (cell)

time's parameter for each channels

code (numeric)

result code

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

Description

Make time arrays for diagnostics's channels, or Retrieve DTS's parameter on SHOT.

Examples

(a) Make time array for diagnostics's channel with DTS information on SHOT.

>> [time_cell,p,code] = retrieve_t('RADH',98000,1,2);
---DTS Infomation---
Index Server Name  = dasindex.lhd.nifs.ac.jp
Shot Number        =      98000
Sub Shot Number    =          1
DTS source         = VME
DTS host ID        = 133.75.175.172
DTS module ID      = DMOD0
DTS trigger ch     =          5
DTS clock ch       =          2
DTS user define    =          1
Time array size    =    1000000
Cycle = [0.00001000] sec
Delay = [0.00000000] sec
>>

(b) Retrieve DTS's parameter on SHOT.

>>[dummy,param,code] = retrieve_t('DTS:VME01',98000,1,0);
---DTS Infomation---
Index Server Name  = dasindex.lhd.nifs.ac.jp
Shot Number        =      98000
Sub Shot Number    =          1
DTS source         = VME01:DMOD0
Channel Range      = [   1  -    8 ]
>>printparam(param);
                        Name                    Value     Type
  1                     Shot                    98000    int32
  1                  SubShot                        1    int32
...........

See also

Authors

History

バージョン記述
20.0.0 Initial release.

Report an issue
<< retrieveVersion retrieve_dbstore retrieve_td >>