op_tbl_modulation_get()

Abstract

Obtains a modulation table, given the modulation table name.

Syntax

op_tbl_modulation_get (mod_name)
Argument Type Description
mod_name const char * modulation table name

Return Type

Modulation_Handle

Modulation table, or OPC_NIL if the table is not found.

Example

/* Get a handle to the modulation table.   */
/* Choose the modulation based on the data */
/* rate configured for data transmissions. */
if (data_rate == 1000000)
	modulation_table = op_tbl_modulation_get ("bpsk");
else if (data_rate == 2000000)
	modulation_table = op_tbl_modulation_get ("qpsk");
else
	modulation_table = op_tbl_modulation_get ("my_cck");

Details

None.

Purpose

Provides a way to get a reference to a modulation table. This reference can then be used with op_tbl_mod_ber().

Errors

  • Recoverable Error: No modulation table name provided.

Reference

  • Use the KP op_tbl_mod_ber() to look up bit-error rate as a function of signal-to-noise ratio

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