Hey Abiyana!
From tcl you can use this command to get some particular vlaues in the
trace file for example I want to get only cbr values, so the command is
set tracefd [open | greo \ cbr \ out.tr w]
this will record all the cbr values, so use it for what ever values you
need.
On Wed, Jan 30, 2013 at 10:00 AM, ns-users-requ...@isi.edu wrote:
Send Ns-users mailing list submissions to
ns-users@isi.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.isi.edu/mailman/listinfo/ns-users
or, via email, send a message with subject or body 'help' to
ns-users-requ...@isi.edu
You can reach the person managing the list at
ns-users-ow...@isi.edu
When replying, please edit your Subject line so it is more specific
than Re: Contents of Ns-users digest...
Today's Topics:
1. Re: Ns-users Digest, Vol 109, Issue 25 (An Feng)
2. Regarding the Number of Attempts (Sai Bhyravajosyula)
3. to trace rto value (abinaya rajendhiran)
4. when does A flag set (abinaya rajendhiran)
5. nse scheduler issue (Bipul Kumar)
--
Message: 1
Date: Tue, 29 Jan 2013 02:08:37 -0500 (EST)
From: An Feng anderson.an.f...@aol.com
Subject: Re: [ns] Ns-users Digest, Vol 109, Issue 25
To: ns-users@isi.edu
Message-ID: 8cfcc06978e42d3-277c-3c...@webmail-d184.sysops.aol.com
Content-Type: text/plain; charset=us-ascii
Hi ALL,
can some one help me to figure out how to do the wireless protocol auto
switching in the NS simulation process. And how to effectively change the
protocol parameters in the NS installation directory
~/nsnam/dskim/rts-cts/tinyos/tinyviz/org/c++/mingw...
An Feng
anderson.an.f...@aol.com
-Original Message-
From: ns-users-request ns-users-requ...@isi.edu
To: ns-users ns-users@ISI.EDU
Sent: Tue, Jan 29, 2013 9:01 am
Subject: Ns-users Digest, Vol 109, Issue 25
Send Ns-users mailing list submissions to
ns-users@isi.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.isi.edu/mailman/listinfo/ns-users
or, via email, send a message with subject or body 'help' to
ns-users-requ...@isi.edu
You can reach the person managing the list at
ns-users-ow...@isi.edu
When replying, please edit your Subject line so it is more specific
than Re: Contents of Ns-users digest...
Today's Topics:
1. Re: trace file modification (Fazlullah Khan)
2. Transmission range of a wireless node? (nguyen hieu)
3. code for TrustAODV (akki trivedi)
4. TIREM available ? (Siyui AliOh)
5. detection of retransmitted packets (abinaya rajendhiran)
6. GTS in 802.15.4 (Fazlullah Khan)
7. Bind a float (Rafael P B Mota)
--
Message: 1
Date: Mon, 28 Jan 2013 10:28:32 +0900
From: Fazlullah Khan fazlullah@gmail.com
Subject: Re: [ns] trace file modification
To: ns-users@isi.edu
Message-ID:
camjcqcdax6aqqv0zfgt7f7xvdsujfhxgb9a0x01z0kq6pgr...@mail.gmail.com
Content-Type: text/plain; charset=ISO-8859-1
In ns-2-xx/trace.cum-trace.cc,.h needs to be modify, and if you are using
some routing protocol, may be that too.
On Mon, Jan 28, 2013 at 10:00 AM, ns-users-requ...@isi.edu wrote:
Send Ns-users mailing list submissions to
ns-users@isi.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.isi.edu/mailman/listinfo/ns-users
or, via email, send a message with subject or body 'help' to
ns-users-requ...@isi.edu
You can reach the person managing the list at
ns-users-ow...@isi.edu
When replying, please edit your Subject line so it is more specific
than Re: Contents of Ns-users digest...
Today's Topics:
1. Re: Calculate Signal strength in ns2 (shiny john)
2. TrustAODV in MANET (Nikunj Shah)
3. trace file modification (bhupendra rajput)
--
Message: 1
Date: Sat, 26 Jan 2013 20:42:27 -0800 (PST)
From: shiny john shiny@gmail.com
Subject: Re: [ns] Calculate Signal strength in ns2
To: ns-users@isi.edu
Message-ID: 34950173.p...@talk.nabble.com
Content-Type: text/plain; charset=us-ascii
set opt(prop) propagation/FreeSpace
Leyond wrote:
Hello,all
I want to calculate the signal strength received from some APS.
But
up to now, I just have written some codes like below to implement this
function[of course, i am not sure it is correct or not]:-((
proc record {} {
global filepr pt l lambda gt gr pi node
set ns [Simulator instance]
set time 0.1;# record 0.5 second
set m_x [$node(1) set X_]
set m_y [$node(1) set Y_]
set n_x [$node(0) set X_]
set n_y [$node(0) set Y_]
set d [expr (sqrt(pow(($m_x - $n_x),2)+ pow(($m_y-$n_y),2)))]
set m [expr