Hello Fernando,
You can use the following code:
Tcl tcl = Tcl::instance();
sprintf(tcl.buffer(), set my_tcl_var %f, 10.123);
tcl.eval();
Note that you can use the same method to execute any command on Tcl.
You can find more information in chapter 3 of the ns-manual.
Good luck
Waleed
On Tue,
. But the maximum transmitting power is 15 dBm ( ~ 31 mW) !
-- Waleed Tuffaha
On Wed, Jan 21, 2009 at 7:07 AM, manish chaturvedi msc@gmail.comwrote:
Hi,
I am trying to incorporate energy model in my NS2.33 simulation. I have
some confusion between Pt_(used to set transmission range), and
txpower
the shape of the node by giving
$node_(0) shape box
but no change in my nodes.plz help me how to change and enlarge its size.
Thank you
--
Waleed Tuffaha.
that the size of the
packet is always changed by +-srh-size() instead of +-4 :
cmnh-size() += srh-size();
cmh-size() -= srh-size();// cut off the SR header 4/7/99 -dam
I want to know if that is a bug ? or am I missing something ?
Thanks,
Waleed Tuffaha.
-allinone can be
debugged by gdb. And if it is not, what debugging method can I use if
I want to add a new MAC protocol?
Thank you in advance.
Yours sincerely,
Matthew Wood
--
Waleed Tuffaha.
,
-agentTrace and -routerTrace. Which one should I use when evaluating
my algorithm ?
Wish someone can give me some explains. Thanks in advance.
Regards,
Phenix
--
Waleed Tuffaha.
if anyone has an idea about this error , help me.
I don't know if I should add a file in mobility or what should I do
exactly.
help me please.
--
Waleed Tuffaha.
the 'hdr_dgab_pkt::offset_' , and this cause the undefined reference error.
Nevertheless, this small problem caused me a sever headache.
On Sat, Dec 6, 2008 at 7:28 PM, Waleed Tuffaha [EMAIL PROTECTED] wrote:
Hello,
I was writing an agent in ns-2.33 and it was compiling and working well.
Then I
All,
I am newbie to ns2.
I would like to know *destination* and *source address* of each incoming
packet of a node.
Could please anyone help me how to do this?
Thanks in advance
Regards
Thanes
--
Waleed Tuffaha.
run
--
Waleed Tuffaha.
line 5)
invoked from within
finish
I would really appreciate if anyone could help me out with this error?
I am able to open the nam file using the open command but I am not able to
find out why tracefile1 is not getting created.
Regards
Kanu
--
Waleed Tuffaha.
capture
the packets that did not pass the CRC check.
Best regards,
-- Waleed Tuffaha
Date: Thu, 13 Nov 2008 10:23:05 -0500
From: Imad Abdeljaouad [EMAIL PROTECTED]
Subject: Re: [ns] collisions in 802.11 or interference
To: Basim Javed [EMAIL PROTECTED]
Cc: ns-users@isi.edu ns-users@ISI.EDU
12 matches
Mail list logo