Ets_Log_Viewer_Dbox_Open()
Note: Requires OPNET Development Kit
Abstract
Opens a log viewer with a specified log file displayed and a specified viewer tab selected.
Syntax
Ets_Log_Viewer_Dbox_Open (module_str, log_filename, prg_options)
| Argument | Type | Description |
|---|---|---|
module_str |
const char * |
Name of the viewer tab that should be selected (such as “Flow Analysis” or “Discrete Event Simulation”). |
log_filename |
const char * |
Name of the log file to display in the viewer. |
prg_options |
int |
Options for displaying the log file (see Details). |
Return Type
EtsT_Dbox *
The viewer that was opened, or PRGC_NIL if the operation failed.
Header
ets_api_log.h
Details
options should be ETSC_LOG_DBOX_OPT_NONE or an OR’ed combination of one or more of the following constants:
- ETSC_LOG_DBOX_OPT_LATEST_FIRST—display the log entries from most recent to oldest
- ETSC_LOG_DBOX_OPT_SHOW_COLORS—color the rows according to the values in the color key column
- ETSC_LOG_DBOX_OPT_ALL_SCENARIOS—open the log viewer with the “Display logs for current scenario only” checkbox unselected