op_tbl_modulation_get()

摘要

根据调制表名称获取调制表。

语法

op_tbl_modulation_get (mod_name)
参数 类型 说明
mod_name const char * 调制表名称

返回类型

Modulation_Handle

调制表;若未找到该表则返回 OPC_NIL。

示例

/* 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");

详情

无。

用途

提供一种获取调制表引用的方式。该引用随后可用于 op_tbl_mod_ber()。

错误

  • 可恢复错误(Recoverable Error):未提供调制表名称。

参考

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