LoggerStopOperation


Function

Stop C-LOGGER to acquire data.

Format

Ret = LoggerStopOperation ( AppId )

Parameters

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

Specify Application ID retrieved by LoggerOpenApplication.

Return Value

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

Definition

Return code

[Dec]

Description

LOGGER_ERR_SUCCESS

0

Normal completed

LOGGER_ERR_DEVICE_STOP

10009

Operation stop error occurred.

LOGGER_ERR_INVALID_ID

10010

Invalid AppId was specified.

The others (See also: Error Code List)

Remarks

This function cannot be used with devices that are not supported by C-LOGGER.

This function can be performed while the device is in operation.

Example

Stop the output of C-LOGGER.

VB.NET

Dim Ret As Integer

Ret = LoggerStopOperation(AppId)

 

C++

long  Ret;

Ret = LoggerStopOperation(AppId);

 

C#

int Ret;

Ret = logger.StopOperation(AppId);

 

See Also

LoggerStartOperation