YT window options — Set the channel.
Ret = LoggerSetGraphChannel ( AppId , WindowNo , SequenceNo , ChannelEnable , Activate , DisplayDot )
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.
SequencelNo [ VB.NET: UShort ] [ C++: unsigned short ] [ C#: ushort ]
Specify the sequenceNo.
The configurable range is
from 0 to "SequenceNum -1".
"SequenceNum" is specified by LoggerSetChannelSetting
function.
ChannelEnable [ VB.NET: UShort ] [ C++: unsigned short ] [ C#: ushort ]
Specify whether to display channel information in the graph window.
Value [Dec] |
Macro |
Description |
0 |
LOGGER_PARAM_DISABLE |
Disable |
1 |
LOGGER_PARAM_ENABLE |
Enable |
Activate [ VB.NET: UShort ] [ C++: unsigned short ] [ C#: ushort ]
Specify that the specified
channel is active.
Only one channel can be active. All other channels are inactive.
Value [Dec] |
Macro |
Description |
0 |
LOGGER_PARAM_DISABLE |
Disable |
1 |
LOGGER_PARAM_ENABLE |
Enable |
DisplayDot [ VB.NET: UShort ] [ C++: unsigned short ] [ C#: ushort ]
Specify the dot display.
Value [Dec] |
Macro |
Description |
0 |
LOGGER_PARAM_DISABLE |
Disable |
1 |
LOGGER_PARAM_ENABLE |
Enable |
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_CHANNEL_NO |
20003 |
The channel number is out of the configurable range. |
LOGGER_ERR_GRAPH_CHANNEL_ENABLE |
22003 |
Graph window display enable/disable is out of the configurable range. |
LOGGER_ERR_GRAPH_ACTIVATE |
22004 |
Graph window channel active enable/disable is out of the configurable range. |
LOGGER_ERR_GRAPH_DOT_ENABLE |
22005 |
Graph window dot display enable/disable is out of the configurable range. |
The others (See also: Error Code List)
Nothing in particular.
YT window options — Set the channel.
For more information, see YT Window Options - Channel topic.
Activate sequence 0 to display dots.
VB.NET |
Dim Ret As Integer Ret = LoggerSetGraphChannel(AppId, 0, 0, LOGGER_PARAM_ENABLE, LOGGER_PARAM_ENABLE, LOGGER_PARAM_ENABLE)
|
C++ |
long Ret; Ret = LoggerSetGraphChannel(AppId, 0, 0, LOGGER_PARAM_ENABLE, LOGGER_PARAM_ENABLE, LOGGER_PARAM_ENABLE);
|
C# |
int Ret; Ret = logger.SetGraphChannel(AppId, 0, 0, LOGGER_PARAM_ENABLE, LOGGER_PARAM_ENABLE, LOGGER_PARAM_ENABLE);
|