デバイスのステータスを取得します。
Ret = GetApplicationStatus (Status)
Status [ VB.NET: Integer ] [ C++: long * ] [ C#: ref int ]
ステータスの戻り値を数値として返します。
ステータス |
値 |
デバイス動作中 |
00000001H |
開始トリガ待ち |
00000002H |
Ret [ VB.NET: Integer ] [ C++: long ] [ C#: int ]
戻り値 |
内容 |
0 |
正常終了 |
10001 |
ステータスが取得できませんでした。 |
その他のエラー(参照:エラーコード一覧)
デバイスのステータスを取得します。
周波数(ジェネレーティングクロック周期エラー)、DA変換エラーにより変換は停止します。
デバイス動作中での実行が可能です。
C-WaveformGeneratorの出力ステータスを取得します。
VB.NET |
Dim Ret As Integer Dim Status As Interger Ret = c_fgen.GetApplicationStatus(Status)
|
C++ |
long Ret; ICWaveformGeneratorPtr c_fgen; long Status; Ret = c_fgen->GetApplicationStatus (&Status);
|
C# |
int Ret; int status =0; Ret = c_fgen.GetApplicationStatus (ref Status);
|
なし