[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] How to change default values (listed in ns-default.tcl)?
- To: <[email protected]>
- Subject: [ns] How to change default values (listed in ns-default.tcl)?
- From: "Susan Tsao" <[email protected]>
- Date: Mon, 10 Sep 2001 13:57:14 -0700
- Sender: [email protected]
- Thread-Index: AcE6Oyr5oS7TFEGBRS6ZsNeLgR1laQ==
- Thread-Topic: How to change default values (listed in ns-default.tcl)?
Hello,
I want to change some of the default values in NS (such as CBR packet
size, Phy/WirelessPhy bandwidth). I've modified the following
lines in ns-default.tcl:
Application/Traffic/CBR set packetSize_ 210
Phy/WirelessPhy set bandwidth_ 2e6
to
Application/Traffic/CBR set packetSize_ 1000
Phy/WirelessPhy set bandwidth_ 1e6
However, when I run my simulation, NS still usese the default values
instead of the new values. Can anyone please tell me how to change
the default values in NS?
Thank you.
Susan