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.

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

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com