Ets_An_Trace_Append()

Note: Requires OPNET Development Kit

Abstract

Adds a new data point to a trace.

Syntax

Ets_An_Trace_Append (an_trace_handle, time_val, data_val)
Argument Type Description
an_trace_handle EtsT_An_Trace_Handle the trace to which the new data point will be added
time_val double the x component of the new data point
data_val double the y component of the new data point

Return Type

EtsT_Compcode

EtsC_Compcode_Success if the point was successfully added.

ets_api_an_panel.h

Details

This function adds the given data value at the given time value to the specified trace, and if the analysis panel containing the trace is visible, refreshes it. The function returns EtsC_Compcode_Success if the point was successfully added, or EtsC_Compcode_Failure if some error occurred.

The time_val and data_val parameters can be any double; that is, time_val does not have to be after all the previous time values.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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