LoggerGetNotifyEvent


Function

Get the event factor for which the callback function is invoked.

Format

Ret = LoggerGetNotifyEvent ( AppId , Event )

Parameters

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

Specify Application ID retrieved by LoggerOpenApplication.

Event [ VB.NET: UInteger ] [ C++: unsigned long * ] [ C#: out uint ]

Specify the address for storing the event that calls the callback function.

Return Value

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

Definition

Return code

[Dec]

Description

LOGGER_ERR_SUCCESS

0

Normal completed

LOGGER_ERR_STARTED

10006

Cannot execute because the device is in operation.

LOGGER_ERR_INVALID_ID

10010

Invalid AppId was specified.

The others (See also: Error Code List)

Initial Value

Nothing in particular.

Remarks

Retrieves event information for which the callback function is invoked.

This function cannot be executed if the device is operational.

Example

Gets event information on which the callback function is invoked.

VB.NET

Dim Ret As Integer
Dim Event As UInteger

Ret = LoggerGetNotifyEvent(AppId, Event)

 

C++

long Ret;
unsigned long Event;

Ret = LoggerGetMemoryOption(AppId, &Event);

 

C#

int Ret;
uint Event;

Ret = logger.GetNotifyEvent(AppId, out Event);

 

See Also

LoggerSetNotifyEvent