クロック情報を取得します。
Ret = LoggerGetSamplingClock ( AppId , ClockType , SamplingClockUnit , SamplingClock )
AppId [ VB.NET: Short ] [ C++: short ] [ C#: short ]
LoggerOpenApplicationで取得したアプリケーションIDを指定します。
ClockType [ VB.NET: UShort ] [ C++:unsigned short * ] [ C#: out ushort ]
クロックの種類を格納するアドレスを指定します。
SamplingClockUnit [ VB.NET: UShort ] [ C++: unsigned short ] [ C#: ushort ]
単位を指定します。
SamplingClock [ VB.NET: Double ] [ C++: double * ] [ C#: out double ]
周期(もしくは、周波数)を格納するアドレスを指定します。
Ret [ VB.NET: Integer ] [ C++: long ] [ C#: int ]
定義 |
戻り値 [Dec] |
内容 |
LOGGER_ERR_SUCCESS |
0 |
正常終了 |
LOGGER_ERR_INVALID_ID |
10010 |
無効なAppIDが指定されました。 |
その他のエラー(参照:エラーコード一覧)
特になし
クロック情報を取得します。
内部クロックの場合、単位、および、周期(もしくは、周波数)を取得できます。
外部クロックの場合は、単位、および、周期(もしくは、周波数)の戻り値は無効です。
設定されているサンプリングクロックを、msec単位で取得します。
VB.NET |
Dim Ret As Integer
|
C++ |
long Ret;
|
C# |
int Ret;
|