Omnet Tkenv为多个参数运行配置:仅执行参数的第一个值 [英] Omnet Tkenv run config for multiple parameters: executing only the first value of parameter

查看:105
本文介绍了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

我想在omnet tkenv或gui中以100 us至1200 us的所有给定间隔运行它,间隔为100 us(分别为100、200、300 ... us).我阅读的唯一选项是通过运行配置来运行它,方法如下:

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,生成输出sca文件并终止进程.我无法弄清楚下一个发送间隔不运行的原因.

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

推荐答案

要运行sendInterval值的所有组合,应在Run number字段中输入*(星号)并选择Command line界面.选择Tcl/Tk user interface时,无法进行多次运行.

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为多个参数运行配置:仅执行参数的第一个值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆