データ収集後またはデータ収集中に自動保存の状態を取得します。
Ret = LoggerGetAutoSave ( AppId , ExcelEnable , AutoSaveType , FolderPath )
AppId [ VB.NET: Short ] [ C++: short ] [ C#: short ]
LoggerOpenApplicationで取得したアプリケーションIDを指定します。
ExcelEnable [ VB.NET: UShort ] [ C++:unsigned short * ] [ C#: out ushort ]
エクセル転送の有効・無効を格納するアドレスを指定します。
AutoSaveType [ VB.NET: UShort ] [ C++:unsigned short * ] [ C#: out ushort ]
自動保存の状態を格納するアドレスを指定します。
FolderPath [ VB.NET:StringBuilder ] [ C++ : char * ] [ C#: out string]
対象のデータを保存するフォルダを格納するアドレスを指定します。
Ret [ VB.NET: Integer ] [ C++: long ] [ C#: int ]
定義 |
戻り値 [Dec] |
内容 |
LOGGER_ERR_SUCCESS |
0 |
正常終了 |
LOGGER_ERR_INVALID_ID |
10010 |
無効なAppIDが指定されました。 |
その他のエラー(参照:エラーコード一覧)
特になし
データ収集後またはデータ収集中に自動保存の設定状態を取得します。
自動保存の状態を取得します。
VB.NET |
Dim Ret As Integer Dim AutosaveType As UShort Ret = LoggerGetAutoSave(AppId, ExcelEnable, AutosaveType, FolderPath)
|
C++ |
long Ret; unsigned short AutosaveType; char FolderPath[255]; Ret = LoggerGetAutoSave(AppId, &ExcelEnable, &AutosaveType, &FolderPath[0]);
|
C# |
int Ret; ushort AutosaveType; string FolderPath; Ret = logger.GetAutoSave(AppId, out ExcelEnable, out AutosaveType, out FolderPath);
|