YT Window Options — Set Overview.
Ret = LoggerSetGraphLabelText ( AppId , WindowNo , TargetItem , TitleEnable , TitleText )
AppId [ VB.NET: Short ] [ C++: short ] [ C#: short ]
Specify Application ID retrieved by LoggerOpenApplication.
WindowNo [ VB.NET: UShort ] [ C++: unsigned short ] [ C#: ushort ]
It should be fixed to 0.
TargetItem [ VB.NET: UShort ] [ C++: unsigned short ] [ C#: ushort ]
Specify the target title.
Value [Dec] |
Macro |
Description |
0 |
LOGGER_PARAM_AXIS_X |
X Axis (T Axis) |
1 |
LOGGER_PARAM_AXIS_Y |
Y Axis |
2 |
LOGGER_PARAM_TITLE_GRAPH |
Graph Title |
TitleEnable [ VB.NET: UShort ] [ C++: unsigned short ] [ C#: ushort ]
Specify the title display.
Value [Dec] |
Macro |
Description |
0 |
LOGGER_PARAM_DISABLE |
Disable |
1 |
LOGGER_PARAM_ENABLE |
Enable |
TitleText [ VB.NET: String ] [ C++: char *] [ C#: ref string ]
Specify the title text.
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_GRAPH_TITLE_TYPE |
22012 |
The graph window title type is outside the configurable range. |
LOGGER_ERR_GRAPH_TITLE_ENABLE |
22013 |
The enable/disable of the graph window title is outside the configurable range. |
LOGGER_ERR_GRAPH_TITLE |
22014 |
The graph window title is outside the configurable range. |
The others (See also: Error Code List)
Nothing in particular.
YT Window Options — Set Overview.
For more information, see YT Window Options - Overview topic.
Set the graph title name to "Graph1".
VB.NET |
Dim Ret As Integer Ret = LoggerSetGraphLabelText(AppId, 0, LOGGER_PARAM_TITLE_GRAPH, LOGGER_PARAM_ENABLE, "Graph1")
|
C++ |
long Ret; Ret = LoggerSetGraphLabelText(AppId, 0, LOGGER_PARAM_TITLE_GRAPH, LOGGER_PARAM_ENABLE, "Graph1");
|
C# |
int Ret; Ret = logger.SetGraphLabelText(AppId, 0, LOGGER_PARAM_TITLE_GRAPH, LOGGER_PARAM_ENABLE, "Graph1");
|
LoggerGetGraphLabelText "YT Window" "YT Window Options - Overview"