GenExportSettingFile


Function

Save the condition settings.

Format

Ret = GenExportSettingFile ( AppId , FilePath )

Parameters

AppId [ VB.NET: Short ] [ C++: short ] [ C#: short ] [ Python: ctypes.c_short ]

Specify Application ID retrieved by GenOpenApplication.

FilePath [ VB.NET: String] [ C++: char * ] [ C#: string] [ Python: ctypes.c_char_p ]

Specify the file path.

Return Value

Ret [ VB.NET: Integer ] [ C++: long ] [ C#: int ] [ Python: ctypes.c_long ]

Definition

Return Value

Description

GEN_ERR_SUCCESS

0

Normal completed

GEN_ERR_FILEPATH

10002

The setting file path is invalid.

The others (See also: Error Code List)

Remarks

Save the condition settings.
This function can be executed even if the device is in operation.

Example

Save the settings in "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")

 

See Also

GenImportSettingFile