本文介绍了Omnet Tkenv为多参数运行配置:只执行参数的第一个值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的ini代码为配置为:

My ini code for the config is as:

[Config BR54MBPS1MS]
description = "at 54MBPS with SI 1ms for 1250 Bytes with all time interval"
repeat = 2
sim-time-limit = 1 min
**.scalar-recording = true
**.vector-recording = false
**.host1.udpApp[0].messageLength = 1250B
**.wlan*.bitrate = 54Mbps
**.host1.udpApp[*].sendInterval = ${interval = 100..1200 step 100} us
**.vector-recording = false
output-scalar-file = 54Mbps/${configname}54Mbps${interval}us.sca

,我想对所有给定的时间间隔从100 us到1200 us运行它,间隙为100 us 100,200,300 ... us)in omnet tkenv或gui。我读取的唯一选项是通过运行配置为:

and I want to run it for all given intervals from 100 us to 1200 us with a gap of 100 us (at 100, 200, 300 ... us) in omnet tkenv or gui. The only option I read for it is by run it through run configuration as:

问题是,它只运行100us成功,生成ouptut sca文件并终止进程。我不能找出没有为下一个发送间隔运行的原因。

The problem is that, it runs only for 100us successfully, generates the ouptut sca file and terminates the process. I am not able to figure out the reason for not running the for the next send interval.

推荐答案

为了运行所有组合 send 值 * (星号) c>字段并选择命令行接口。选择 Tcl / Tk用户界面时,不能进行多次运行。

In order to run all combinations of sendInterval values you should write * (asterisk) in Run number field and select Command line interface. Multiple runs are not possible when Tcl/Tk user interface is selected.

这篇关于Omnet Tkenv为多参数运行配置:只执行参数的第一个值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-03 07:36