ImportSettingFile


Function

Load the condition settings.

Format

Ret = ImportSettingFile (FilePath, Arg1)

Parameters

FilePath [ VB.NET : String] [ C++ : BSTR ] [ C# : string]

Specify the file path.

Arg1 [ VB.NET : Integer ] [ C++ : long ] [ C# : int ]

Fixed to 0. (Reserved)

Return Value

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

Return Value

Description

0

Normal completed

10002

The setting file path is invalid.

10003

The setting file type is invalid.

27000

Switched to Basic mode. Settings may change automatically.

Please check the setting value using GetDeviceSetting.

The others (See also: Error Code List)

Remarks

Open an existing file and load settings.
If the read device name does not exist, set the device before reading.
This function can be executed even if the device is in operation.

Example

Load the settings of "SettingFile.ini".

VB.NET

Dim Ret As Long

Ret = c_fgen.ImportSettingFile("SettingFile.ini", 0)

 

C++

long Ret;

ICWaveformGeneratorPtr c_fgen;

Ret = c_fgen->ImportSettingFile(L"SettingFile.ini", 0);

 

C#

int Ret;

Ret = c_fgen.ImportSettingFile("SettingFile.ini", 0);

 

See Also

ExportSettingFile