デバイスのステータスを取得します。
Ret = LoggerGetApplicationStatus ( AppId , Status )
AppId [ VB.NET: Short ] [ C++: short ] [ C#: short ]
LoggerOpenApplicationで取得したアプリケーションIDを指定します。
Status [ VB.NET: UInteger ] [ C++:unsigned long * ] [ C#: out uint ]
ステータスを格納するアドレスを指定します。
ステータス |
値 [Hex] |
デバイス停止中 |
00000000H |
デバイス動作中 |
00000001H |
開始トリガ待ち |
00000002H |
Ret [ VB.NET: Integer ] [ C++: long ] [ C#: int ]
定義 |
戻り値 [Dec] |
内容 |
LOGGER_ERR_SUCCESS |
0 |
正常終了。 |
LOGGER_ERR_STATUS |
10001 |
ステータスが取得できませんでした。 |
その他のエラー(参照:エラーコード一覧)
デバイスのステータスを取得します。
周波数(ジェネレーティングクロック周期エラー)、DA変換エラーにより変換は停止します。
デバイス動作中での実行が可能です。
C-LOGGERの出力ステータスを取得します。
VB.NET |
Dim Ret As Integer Dim Status As UInterger Ret = LoggerGetApplicationStatus(AppId, Status)
|
C++ |
long Ret; unsigned long Status; Ret = LoggerGetApplicationStatus(AppId, &Status);
|
C# |
int Ret; uint Status; Ret = logger.GetApplicationStatus(AppId, out Status);
|
なし