条件設定の内容を保存します。
Ret = GenExportSettingFile ( AppId , FilePath )
AppId [ VB.NET: Short ] [ C++: short ] [ C#: short ] [ Python: ctypes.c_short ]
GenOpenApplicationで取得したアプリケーションIDを指定します。
FilePath [ VB.NET: String ] [ C++: char * ] [ C#: string ] [ Python: ctypes.c_char_p ]
保存するファイル名をファイルパス込みで指定します。
Ret [ VB.NET: Integer ] [ C++: long ] [ C#: int ] [ Python: ctypes.c_long ]
定義 |
戻り値 [Dec] |
内容 |
GEN_ERR_SUCCESS |
0 |
正常終了 |
GEN_ERR_FILEPATH |
10002 |
指定したファイルパスが無効です |
その他のエラー(参照:エラーコード一覧)
条件設定の内容を保存します。
デバイス動作中での実行が可能です。
「SettingFile.ini」に設定を保存します。
VB.NET |
Dim Ret As Integer Ret = GenExportSettingFile(AppId, "SettingFile.ini")
|
C++ |
long Ret; Ret = GenExportSettingFile(AppId, "SettingFile.ini");
|
C# |
int Ret; Ret = gen.ExportSettingFile(AppId, "SettingFile.ini");
|
Python |
Ret = ctypes.c_long() Ret.value = cgen_api.GenExportSettingFile(AppId, "SettingFile.ini")
|