LoggerLoadDataFile


Function

Load the data file.

Format

Ret = LoggerLoadDataFile( AppId , FilePath )

Parameters

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

Specify Application ID retrieved by LoggerOpenApplication.

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

Specify the file path.

Return Value

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

Definition

Return code

[Dec]

Description

LOGGER_ERR_SUCCESS

0

Normal completed

LOGGER_ERR_FILEPATH

10002

The setting file path is invalid.

LOGGER_ERR_FILETYPE

10003

The setting file type is invalid.

LOGGER_ERR_INVALID_ID

10010

Invalid AppId was specified.

The others (See also: Error Code List)

Remarks

Load the data file.
From the menu bar, select [File] - [Open], and then execute the command to start YT window.

FilePath must end with ".csv" or ".clb".
Otherwise, LOGGER_ERR_FILEPATH (10002) is returned.

Example

Only CH0 data will be saved.

VB.NET

Dim Ret As Integer

Ret = LoggerLoadDataFile(AppId, "DataFile.csv")

 

C++

long Ret;

Ret = LoggerLoadDataFile(AppId, "DataFile.csv");

 

C#

int Ret;

Ret = logger.LoadDataFile(AppId, "DataFile.csv");

 

See Also

None