LoggerGraphWindowOperation


Function

Operate the graph window.

Function

Ret = LoggerGraphWindowOperation ( AppId , WindowOperation , Target , WindowNo )

Parameters

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

Specify Application ID retrieved by LoggerOpenApplication.

WindowOperation [ VB.NET: UShort ] [ C++: unsigned short ] [ C#: ushort ]

Specify how the window is operated.

Value

[Dec]

Macro

Description

0

LOGGER_PARAM_GRAPH_OPEN

Open

1

LOGGER_PARAM_GRAPH_CLOSE

Close

2

LOGGER_PARAM_GRAPH_CLOSE_ALL

Close all

Target [ VB.NET: UShort ] [ C++: unsigned short ] [ C#: ushort ]

Specify the target.

Value

[Dec]

Macro

Description

0

LOGGER_PARAM_FILE

File and Graph

1

LOGGER_PARAM_GRAPH

Graph only

WindowNo [ VB.NET: UShort ] [ C++: unsigned short ] [ C#: ushort ]

It should be fixed to 0.

Return Value

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

Definition

Return code

[Dec]

Description

LOGGER_ERR_SUCCESS

0

Normal completed

LOGGER_ERR_INVALID_ID

10010

Invalid AppId was specified.

LOGGER_ERR_WINDOW_OPERATION

20049

ウィンドウの目的が設定可能範囲外です

LOGGER_ERR_WINDOW_TRIGGER

20050

ウィンドウの対象範囲が設定可能範囲外です

The others (See also: Error Code List)

Initial Value

Nothing in particular.

Remarks

Operate the graph window.

Example

Close all graph windows.

VB.NET

Dim Ret As Integer

Ret = LoggerGraphWindowOperation(AppId, LOGGER_PARAM_GRAPH_CLOSE_ALL, LOGGER_PARAM_FILE, 0)

 

C++

long Ret;

Ret = LoggerGraphWindowOperation(AppId, LOGGER_PARAM_GRAPH_CLOSE_ALL, LOGGER_PARAM_FILE, 0);

 

C#

int Ret;

Ret = logger.GraphWindowOperation(AppId, LOGGER_PARAM_GRAPH_CLOSE_ALL, LOGGER_PARAM_FILE, 0);

 

See Also

"YT Window"