public class Retriever
extends Object
ArcData
18.0.0: 初版 19.0.0: retrieveの部分取り出し(取得範囲の指定)に対応する。 ArcDataの時間管理を秒(倍精度)からピコ秒(long)に変更する。 19.1.0: Api(DLL)更新 19.2.0: DLL更新 20.0.0: DLL更新 22.0.0: transPathの初期値("ShotDataFS")を設定する。 DLL更新
修飾子とタイプ | クラスと説明 |
---|---|
static interface |
RetrieveLib.RLib |
修飾子とタイプ | フィールドと説明 |
---|---|
static int |
RANGE_EXP
実験時間での取得範囲指定
|
static int |
RANGE_FRAMES
フレーム数での取得範囲指定
|
static int |
RANGE_SAMPLES
サンプル数での取得範囲指定
|
static int |
RANGE_TRIG
トリガ時間での取得範囲指定
|
static int |
RANGE_UNSET
取得範囲無指定
|
static int |
TYPE_RAW
生データ指定値
|
static int |
TYPE_VOLT_DOUBLE
電圧値DOUBLE型指定値
|
static int |
TYPE_VOLT_FLOAT
電圧値FLOAT型指定値
|
static String |
version |
コンストラクタと説明 |
---|
Retriever()
コンストラクタ
|
Retriever(int timeout)
Wait型コンストラクタ
|
Retriever(int timeout,
String server,
String path,
int port)
ダイレクト接続時のコンストラクタ
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
close()
データ転送のクローズ処理をする。
|
ArcData |
get_raw(String diag,
int shot,
int subshot,
int channel)
チャネル番号を指定して、計測データ(生データ)を取得する。
|
List<ArcData> |
get_raw(String diag,
int shot,
int subshot,
int[] channel)
チャンネル番号を配列で指定して、複数チャネルの計測データ(生データ)を取得する。
|
List<ArcData> |
get_raw(String diag,
int shot,
int subshot,
int start_channel,
int end_channel)
開始チャネル番号と終了チャネル番号を指定して、複数チャネルの計測データ(生データ)を取得する。
|
ArcData |
get_raw(String diag,
int shot,
int subshot,
String signal_name)
信号名を指定して、計測データ(生データ)を取得する。
|
List<ArcData> |
get_raw(String diag,
int shot,
int subshot,
String[] signal_name)
信号名を配列で指定して、複数信号(チャネル)の計測データ(生データ)を取得する。
|
List<ArcData> |
get(String diag,
int shot,
int subshot,
int[] channel,
int conv_type)
チャンネル番号を配列で指定して、複数チャネルの計測データを取得する。
|
List<ArcData> |
get(String diag,
int shot,
int subshot,
int[] channel,
int conv_type,
int range_type,
String range)
チャンネル番号を配列で、並びに取得範囲を指定して、複数チャネルの計測データを取得する。。
|
ArcData |
get(String diag,
int shot,
int subshot,
int channel,
int conv_type)
チャネル番号を指定して、計測データを取得する。
|
List<ArcData> |
get(String diag,
int shot,
int subshot,
int start_channel,
int end_channel,
int conv_type)
開始チャネル番号と終了チャネル番号を指定して、複数チャネルの計測データを取得する。
|
List<ArcData> |
get(String diag,
int shot,
int subshot,
int start_channel,
int end_channel,
int conv_type,
int range_type,
String range)
開始チャネル番号と終了チャネル番号、並びに取得範囲を指定して、複数チャネルの計測データを取得する。
|
ArcData |
get(String diag,
int shot,
int subshot,
int channel,
int conv_type,
int range_type,
String range)
チャネル番号、並びに取得範囲を指定して、計測データを取得する。
|
List<ArcData> |
get(String diag,
int shot,
int subshot,
String[] signal_name,
int conv_type)
信号名を配列で指定して、複数信号(チャネル)の計測データを取得する。
|
List<ArcData> |
get(String diag,
int shot,
int subshot,
String[] signal_name,
int conv_type,
int range_type,
String range)
信号名を配列で、並びに取得範囲を指定して、複数信号(チャネル)の計測データを取得する。。
|
ArcData |
get(String diag,
int shot,
int subshot,
String signal_name,
int conv_type)
信号名を指定して、計測データを取得する。
|
ArcData |
get(String diag,
int shot,
int subshot,
String signal_name,
int conv_type,
int range_type,
String range)
信号名、並びに取得範囲を指定して、計測データを取得する。
|
String |
getDiag() |
void |
open(String diag,
int shot,
int subshot)
データ転送のオープン処理を明示的に行う。
|
void |
open(String diag,
int shot,
int subshot,
int range_type,
String range)
データ転送のオープン処理を取得範囲を付与して行う。
|
static String |
version()
Retrieverクラスのバージョンおよびライブラリのバージョン
|
public static final String version
public static final int TYPE_VOLT_FLOAT
public static final int TYPE_VOLT_DOUBLE
public static final int TYPE_RAW
public static final int RANGE_UNSET
public static final int RANGE_EXP
public static final int RANGE_TRIG
public static final int RANGE_SAMPLES
public static final int RANGE_FRAMES
public Retriever()
public Retriever(int timeout)
timeout
- 転送サーバへのタイムアウト時間(秒)Retriever()
,
Retriever( int timeout, String server, String path, int port)
public Retriever(int timeout, String server, String path, int port)
timeout
- ダイレクト接続時の転送サーバへのタイムアウト時間(秒)server
- ダイレクト接続時の転送サーバ名path
- ダイレクト接続時の転送元パス名port
- ダイレクト接続時の転送サーバのポート番号Retriever( int timeout)
,
Retriever()
public static String version()
public void close()
public void open(String diag, int shot, int subshot) throws RetrieveException
diag
- 計測名shot
- ショット番号subshot
- サブショット番号RetrieveException
- retrieveエラーopen(String diag, int shot, int subshot, int range_type, String range)
,
close()
public void open(String diag, int shot, int subshot, int range_type, String range) throws RetrieveException
diag
- 計測名shot
- ショット番号subshot
- サブショット番号range_type
- 取得範囲タイプ(RANGE_EXP
,RANGE_TRIG
,RANGE_SAMPLES
,RANGE_FRAMES
,RANGE_UNSET
)range
- 取得範囲文字列 "-1.0:2.0s", "-1:20ms", "1000:1200us"RetrieveException
- retrieveエラーclose()
public List<ArcData> get(String diag, int shot, int subshot, int start_channel, int end_channel, int conv_type) throws RetrieveException, IndexOutOfBoundsException
diag
- 計測名shot
- ショット番号subshot
- サブショット番号start_channel
- 開始チャネル番号(0,1=先頭)end_channel
- 終了チャネル番号(0=最終)conv_type
- 変換種別(TYPE_RAW
:無変換,TYPE_VOLT_DOUBLE
:double電圧,TYPE_VOLT_FLOAT
:float電圧)
電圧変換できない場合は、常に無変換ArcData
オブジェクトのリストRetrieveException
- retrieveエラーIndexOutOfBoundsException
- チャネル番号が不正である。get(String diag, int shot, int subshot, int channel, int conv_type)
,
get(String diag, int shot, int subshot, int[] channel, int conv_type)
,
get(String diag, int shot, int subshot, int start_channel, int end_channel, int conv_type)
,
get(String diag, int shot, int subshot, String signal_name, int conv_type)
,
get(String diag, int shot, int subshot, String[] signal_name, int conv_type)
,
open(String diag, int shot, int subshot)
,
close()
open(String diag, int shot, int subshot)
処理 およびclose()
をするが、ユーザが明示的に
public List<ArcData> get_raw(String diag, int shot, int subshot, int start_channel, int end_channel) throws RetrieveException, IndexOutOfBoundsException
diag
- 計測名shot
- ショット番号subshot
- サブショット番号start_channel
- 開始チャネル番号(0,1=先頭)end_channel
- 終了チャネル番号(0=最終)ArcData
オブジェクトのリストRetrieveException
- retrieveエラーIndexOutOfBoundsException
- チャネル番号が不正である。get_raw(String diag, int shot, int subshot, int channel)
,
get_raw(String diag, int shot, int subshot, int[] channel)
,
get_raw(String diag, int shot, int subshot, int start_channel, int end_channel)
,
get_raw(String diag, int shot, int subshot, String signal_name)
,
get_raw(String diag, int shot, int subshot, String[] signal_name)
,
open(String diag, int shot, int subshot)
,
close()
open(String diag, int shot, int subshot)
処理 およびclose()
をするが、ユーザが明示的に
public List<ArcData> get(String diag, int shot, int subshot, int start_channel, int end_channel, int conv_type, int range_type, String range) throws RetrieveException, IndexOutOfBoundsException
diag
- 計測名shot
- ショット番号subshot
- サブショット番号start_channel
- 開始チャネル番号(0,1=先頭)end_channel
- 終了チャネル番号(0=最終)conv_type
- 変換種別(TYPE_RAW
:無変換,TYPE_VOLT_DOUBLE
:double電圧,TYPE_VOLT_FLOAT
:float電圧)
電圧変換できない場合は、常に無変換range_type
- 取得範囲タイプ(RANGE_EXP
,RANGE_TRIG
,RANGE_SAMPLES
,RANGE_FRAMES
,RANGE_UNSET
)range
- 取得範囲文字列 "-1.0:2.0s", "-1:20ms", "1000:1200us"ArcData
オブジェクトのリストRetrieveException
- retrieveエラーIndexOutOfBoundsException
- チャネル番号が不正である。get(String diag, int shot, int subshot, int channel, int conv_type, int range_type, String range)
,
get(String diag, int shot, int subshot, int[] channel, int conv_type, int range_type, String range)
,
get(String diag, int shot, int subshot, int start_channel, int end_channel, int conv_type, int range_type, String range)
,
get(String diag, int shot, int subshot, String signal_name, int conv_type, int range_type, String range)
,
get(String diag, int shot, int subshot, String[] signal_name, int conv_type, int range_type, String range)
,
open(String diag, int shot, int subshot, int range_type, String range)
,
close()
open(String diag, int shot, int subshot, int range_type, String range)
処理 およびclose()
をするが、
public List<ArcData> get(String diag, int shot, int subshot, int[] channel, int conv_type) throws RetrieveException, IndexOutOfBoundsException
diag
- 計測名shot
- ショット番号subshot
- サブショット番号channel
- チャンネル番号配列conv_type
- 変換種別(TYPE_RAW
:無変換,TYPE_VOLT_DOUBLE
:double電圧,TYPE_VOLT_FLOAT
:float電圧)
電圧変換できない場合は、常に無変換ArcData
オブジェクトのリストRetrieveException
- retrieveエラーIndexOutOfBoundsException
- チャネル番号が不正である。get(String diag, int shot, int subshot, int channel, int conv_type)
,
get(String diag, int shot, int subshot, int[] channel, int conv_type)
,
get(String diag, int shot, int subshot, int start_channel, int end_channel, int conv_type)
,
get(String diag, int shot, int subshot, String signal_name, int conv_type)
,
get(String diag, int shot, int subshot, String[] signal_name, int conv_type)
,
open(String diag, int shot, int subshot)
,
close()
open(String diag, int shot, int subshot)
処理 およびclose()
をするが、ユーザが明示的に
public List<ArcData> get_raw(String diag, int shot, int subshot, int[] channel) throws RetrieveException, IndexOutOfBoundsException
diag
- 計測名shot
- ショット番号subshot
- サブショット番号channel
- チャンネル番号配列ArcData
オブジェクトのリストRetrieveException
- retrieveエラーIndexOutOfBoundsException
- チャネル番号が不正である。get_raw(String diag, int shot, int subshot, int channel)
,
get_raw(String diag, int shot, int subshot, int[] channel)
,
get_raw(String diag, int shot, int subshot, int start_channel, int end_channel)
,
get_raw(String diag, int shot, int subshot, String signal_name)
,
get_raw(String diag, int shot, int subshot, String[] signal_name)
,
open(String diag, int shot, int subshot)
,
close()
open(String diag, int shot, int subshot)
処理 およびclose()
をするが、ユーザが明示的に
public List<ArcData> get(String diag, int shot, int subshot, int[] channel, int conv_type, int range_type, String range) throws RetrieveException, IndexOutOfBoundsException
diag
- 計測名shot
- ショット番号subshot
- サブショット番号channel
- チャンネル番号配列conv_type
- 変換種別(TYPE_RAW
:無変換,TYPE_VOLT_DOUBLE
:double電圧,TYPE_VOLT_FLOAT
:float電圧)
電圧変換できない場合は、常に無変換range_type
- 取得範囲タイプ(RANGE_EXP
,RANGE_TRIG
,RANGE_SAMPLES
,RANGE_FRAMES
,RANGE_UNSET
)range
- 取得範囲文字列 "-1.0:2.0s", "-1:20ms", "1000:1200us"ArcData
オブジェクトのリストRetrieveException
- retrieveエラーIndexOutOfBoundsException
- チャネル番号が不正である。get(String diag, int shot, int subshot, int channel, int conv_type, int range_type, String range)
,
get(String diag, int shot, int subshot, int[] channel, int conv_type, int range_type, String range)
,
get(String diag, int shot, int subshot, int start_channel, int conv_type, int array_type, int range_type, String range)
,
get(String diag, int shot, int subshot, String signal_name, int conv_type, int range_type, String range)
,
get(String diag, int shot, int subshot, String[] signal_name, int conv_type, int range_type, String range)
,
open(String diag, int shot, int subshot, int range_type, String range)
,
close()
open(String diag, int shot, int subshot, int range_type, String range)
処理 およびclose()
をするが、
public List<ArcData> get(String diag, int shot, int subshot, String[] signal_name, int conv_type) throws RetrieveException, IndexOutOfBoundsException
diag
- 計測名shot
- ショット番号subshot
- サブショット番号signal_name
- 信号名配列conv_type
- 変換種別(TYPE_RAW
:無変換,TYPE_VOLT_DOUBLE
:double電圧,TYPE_VOLT_FLOAT
:float電圧)
電圧変換できない場合は、常に無変換ArcData
オブジェクトのリストRetrieveException
- retrieveエラーIndexOutOfBoundsException
- チャネル番号が不正である。get(String diag, int shot, int subshot, int channel, int conv_type)
,
get(String diag, int shot, int subshot, int[] channel, int array_type)
,
get(String diag, int shot, int subshot, int start_channel, int end_channel, int conv_type)
,
get(String diag, int shot, int subshot, String signal_name, int conv_type)
,
get(String diag, int shot, int subshot, String[] signal_name, int conv_type)
,
open(String diag, int shot, int subshot)
,
close()
open(String diag, int shot, int subshot)
処理 およびclose()
をするが、ユーザが明示的に
public List<ArcData> get_raw(String diag, int shot, int subshot, String[] signal_name) throws RetrieveException, IndexOutOfBoundsException
diag
- 計測名shot
- ショット番号subshot
- サブショット番号signal_name
- 信号名配列ArcData
オブジェクトのリストRetrieveException
- retrieveエラーIndexOutOfBoundsException
- チャネル番号が不正である。get_raw(String diag, int shot, int subshot, int channel)
,
get_raw(String diag, int shot, int subshot, int[] channel)
,
get_raw(String diag, int shot, int subshot, int start_channel, int end_channel)
,
get_raw(String diag, int shot, int subshot, String signal_name)
,
get_raw(String diag, int shot, int subshot, String[] signal_name)
,
open(String diag, int shot, int subshot)
,
close()
open(String diag, int shot, int subshot)
処理 およびclose()
をするが、ユーザが明示的に
public List<ArcData> get(String diag, int shot, int subshot, String[] signal_name, int conv_type, int range_type, String range) throws RetrieveException, IndexOutOfBoundsException
diag
- 計測名shot
- ショット番号subshot
- サブショット番号signal_name
- 信号名配列conv_type
- 変換種別(TYPE_RAW
:無変換,TYPE_VOLT_DOUBLE
:double電圧,TYPE_VOLT_FLOAT
:float電圧)
電圧変換できない場合は、常に無変換range_type
- 取得範囲タイプ(RANGE_EXP
,RANGE_TRIG
,RANGE_SAMPLES
,RANGE_FRAMES
,RANGE_UNSET
)range
- 取得範囲文字列 "-1.0:2.0s", "-1:20ms", "1000:1200us"ArcData
オブジェクトのリストRetrieveException
- retrieveエラーIndexOutOfBoundsException
- チャネル番号が不正である。get(String diag, int shot, int subshot, int channel, int conv_type, int range_type, String range)
,
get(String diag, int shot, int subshot, int[] channel, int conv_type, int range_type, String range)
,
get(String diag, int shot, int subshot, int start_channel, int conv_type, int array_type, int range_type, String range)
,
get(String diag, int shot, int subshot, String signal_name, int conv_type, int range_type, String range)
,
get(String diag, int shot, int subshot, String[] signal_name, int conv_type, int range_type, String range)
,
open(String diag, int shot, int subshot, int range_type, String range)
,
close()
open(String diag, int shot, int subshot, int range_type, String range)
処理 およびclose()
をするが、
public ArcData get(String diag, int shot, int subshot, int channel, int conv_type) throws RetrieveException, IndexOutOfBoundsException
diag
- 計測名shot
- ショット番号subshot
- サブショット番号channel
- チャネル番号( 0< )conv_type
- 変換種別(TYPE_RAW
:無変換,TYPE_VOLT_DOUBLE
:double電圧,TYPE_VOLT_FLOAT
:float電圧)
電圧変換できない場合は、常に無変換ArcData
オブジェクトRetrieveException
- retrieveエラーIndexOutOfBoundsException
- チャネル番号が不正である。get(String diag, int shot, int subshot, int channel, int conv_type)
,
get(String diag, int shot, int subshot, int[] channel, int conv_type)
,
get(String diag, int shot, int subshot, int start_channel, int end_channel, int conv_type)
,
get(String diag, int shot, int subshot, String signal_name, int conv_type)
,
get(String diag, int shot, int subshot, String[] signal_name, int conv_type)
,
open(String diag, int shot, int subshot)
,
close()
open(String diag, int shot, int subshot)
処理 およびclose()
をするが、ユーザが明示的に
public ArcData get_raw(String diag, int shot, int subshot, int channel) throws RetrieveException, IndexOutOfBoundsException
diag
- 計測名shot
- ショット番号subshot
- サブショット番号channel
- チャネル番号( 0< )ArcData
オブジェクトRetrieveException
- retrieveエラーIndexOutOfBoundsException
- チャネル番号が不正である。get_raw(String diag, int shot, int subshot, int channel)
,
get_raw(String diag, int shot, int subshot, int[] channel)
,
get_raw(String diag, int shot, int subshot, int start_channel, int end_channel)
,
get_raw(String diag, int shot, int subshot, String signal_name)
,
get_raw(String diag, int shot, int subshot, String[] signal_name)
,
open(String diag, int shot, int subshot)
,
close()
open(String diag, int shot, int subshot)
処理 およびclose()
をするが、ユーザが明示的に
public ArcData get(String diag, int shot, int subshot, int channel, int conv_type, int range_type, String range) throws RetrieveException, IndexOutOfBoundsException
diag
- 計測名shot
- ショット番号subshot
- サブショット番号channel
- チャネル番号( 0< )conv_type
- 変換種別(TYPE_RAW
:無変換,TYPE_VOLT_DOUBLE
:double電圧,TYPE_VOLT_FLOAT
:float電圧)
電圧変換できない場合は、常に無変換range_type
- 取得範囲タイプ(RANGE_EXP
,RANGE_TRIG
,RANGE_SAMPLES
,RANGE_FRAMES
,RANGE_UNSET
)range
- 取得範囲文字列 "-1.0:2.0s", "-1:20ms", "1000:1200us"ArcData
オブジェクトRetrieveException
- retrieveエラーIndexOutOfBoundsException
- チャネル番号が不正である。get(String diag, int shot, int subshot, int channel, int conv_type, int range_type, String range)
,
get(String diag, int shot, int subshot, int[] channel, int conv_type, int range_type, String range)
,
get(String diag, int shot, int subshot, int start_channel, int conv_type, int array_type, int range_type, String range)
,
get(String diag, int shot, int subshot, String signal_name, int conv_type, int range_type, String range)
,
get(String diag, int shot, int subshot, String[] signal_name, int conv_type, int range_type, String range)
,
open(String diag, int shot, int subshot)
,
close()
open(String diag, int shot, int subshot)
処理 およびclose()
をするが、ユーザが明示的に
public ArcData get(String diag, int shot, int subshot, String signal_name, int conv_type) throws RetrieveException, IndexOutOfBoundsException
diag
- 計測名shot
- ショット番号subshot
- サブショット番号signal_name
- 信号名conv_type
- 変換種別(TYPE_RAW
:無変換,TYPE_VOLT_DOUBLE
:double電圧,TYPE_VOLT_FLOAT
:float電圧)
電圧変換できない場合は、常に無変換ArcData
オブジェクトRetrieveException
- retrieveエラーIndexOutOfBoundsException
- チャネル番号が不正である。get(String diag, int shot, int subshot, int channel, int conv_type)
,
get(String diag, int shot, int subshot, int[] channel, int conv_type)
,
get(String diag, int shot, int subshot, int start_channel, int end_channel, int conv_type)
,
get(String diag, int shot, int subshot, String signal_name, int conv_type)
,
get(String diag, int shot, int subshot, String[] signal_name, int conv_type)
,
open(String diag, int shot, int subshot)
,
close()
open(String diag, int shot, int subshot)
処理 およびclose()
をするが、ユーザが明示的に
public ArcData get_raw(String diag, int shot, int subshot, String signal_name) throws RetrieveException, IndexOutOfBoundsException
diag
- 計測名shot
- ショット番号subshot
- サブショット番号signal_name
- 信号名ArcData
オブジェクトRetrieveException
- retrieveエラーIndexOutOfBoundsException
- チャネル番号が不正である。get_raw(String diag, int shot, int subshot, int channel)
,
get_raw(String diag, int shot, int subshot, int[] channel)
,
get_raw(String diag, int shot, int subshot, int start_channel, int end_channel)
,
get_raw(String diag, int shot, int subshot, String signal_name)
,
get_raw(String diag, int shot, int subshot, String[] signal_name)
,
open(String diag, int shot, int subshot)
,
close()
open(String diag, int shot, int subshot)
処理 およびclose()
をするが、ユーザが明示的に
public ArcData get(String diag, int shot, int subshot, String signal_name, int conv_type, int range_type, String range) throws RetrieveException, IndexOutOfBoundsException
diag
- 計測名shot
- ショット番号subshot
- サブショット番号signal_name
- 信号名conv_type
- 変換種別(TYPE_RAW
:無変換,TYPE_VOLT_DOUBLE
:double電圧,TYPE_VOLT_FLOAT
:float電圧)
電圧変換できない場合は、常に無変換range_type
- 取得範囲タイプ(RANGE_EXP
,RANGE_TRIG
,RANGE_SAMPLES
,RANGE_FRAMES
,RANGE_UNSET
)range
- 取得範囲文字列 "-1.0:2.0s", "-1:20ms", "1000:1200us"ArcData
オブジェクトRetrieveException
- retrieveエラーIndexOutOfBoundsException
- チャネル番号が不正である。get(String diag, int shot, int subshot, int channel, int conv_type, int range_type, String range)
,
get(String diag, int shot, int subshot, int[] channel, int conv_type, int range_type, String range)
,
get(String diag, int shot, int subshot, int start_channel, int conv_type, int array_type, int range_type, String range)
,
get(String diag, int shot, int subshot, String signal_name, int conv_type, int range_type, String range)
,
get(String diag, int shot, int subshot, String[] signal_name, int conv_type, int range_type, String range)
,
open(String diag, int shot, int subshot, int range_type, String range)
,
close()
open(String diag, int shot, int subshot, int range_type, String range)
処理 およびclose()
をするが、
public String getDiag()