[ns] Trace Graph convertor

2006-01-17 Thread #LIM XIAOWEI#

Hi!
 
I'm currently using trace convertor and trace graph. I can't seem to use 
trconvert.exe to convert my trace file into one that suits the trace graph. 
 
When i type Eg trconvert foreman, it doesn't recognise my trace format.
 
FYI, my trace format is in this form,
 
1.122066 id 0 lost  

1.122066 id 1 udp 3036 

1.363516 id 2 lost  

1.363516 id 3 lost  

1.363516 id 4 udp 3183 

1.389316 id 5 udp 516 

1.417616 id 6 udp 566 

1.597466 id 7 udp 3321 

1.627916 id 8 udp 609 

1.651466 id 9 udp 471 

Pls Enlighten me! thanks!



Re: [ns] Animating wireless transmissions in nam

2006-01-17 Thread Peyman Behbahani

Hi Dhammika,

In your $ns_ node-config add the following lines. It should works if you are
using wired cum wireless but please do let me know how does it work?

-agentTrace ON \
-wiredRouting ON 

Regards,
Peyman


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Cenker Demir
Sent: 13 January 2006 14:42
To: ns-users@ISI.EDU
Subject: Re: [ns] Animating wireless transmissions in nam



Hi, 

I work with AODV on ns-allinone-2.28 on cygwin. When I run the 
simulation I can see the rreq, rrep, and data packet transmissions 
among nodes.

regards
Cenker

Henrik Schumacher wrote:



Hi Dhammika,

i think nam does not support the visualization of packet flows for 
wireless
traces at the moment. It`s only possible to visualize the node 
movements.

Regards,
Henrik

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im 
Auftrag
von Dhammika Pathirana
Gesendet: Freitag, 13. Januar 2006 07:17
An: ns-users@ISI.EDU
Betreff: [ns] Animating wireless transmissions in nam


Hi,

I am trying to animate wireless transmissions in nam. The protocol
that I am working on seems to work fine, but nam doesn't show packet
transmissions. Can anyone advice me on how to enable tracing/animating
packet transmissions. Your help would be greatly appreciated.

thanks in advance

Dhammika







[ns] Integrating Error Models

2006-01-17 Thread #LIM XIAOWEI#

Hi!
 
Would like to ask, how do you integrate error models into the simulation? 
Eg MArkov model and random error models.
 
Thanks!
 
 


Re: [ns] Trace Graph convertor

2006-01-17 Thread Pedro Vale Estrela


What type of trace files is that? Not one of the standard NS2 trace files, I
think



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
 Of #LIM XIAOWEI#
 Sent: terça-feira, 17 de Janeiro de 2006 8:31
 To: ns-users@ISI.EDU
 Subject: [ns] Trace Graph  convertor
 
 
 Hi!
 
 I'm currently using trace convertor and trace graph. I can't seem to use
 trconvert.exe to convert my trace file into one that suits the trace
 graph.
 
 When i type Eg trconvert foreman, it doesn't recognise my trace format.
 
 FYI, my trace format is in this form,
 
 1.122066 id 0 lost 
 
 1.122066 id 1 udp 3036
 
 1.363516 id 2 lost 
 
 1.363516 id 3 lost 
 
 1.363516 id 4 udp 3183
 
 1.389316 id 5 udp 516
 
 1.417616 id 6 udp 566
 
 1.597466 id 7 udp 3321
 
 1.627916 id 8 udp 609
 
 1.651466 id 9 udp 471
 
 Pls Enlighten me! thanks!




[ns] wireless networks

2006-01-17 Thread michael dahis

Has anyone simulated wireless networks and examined its performance if there 
is i will be glad to get some help .

_
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement



Re: [ns] how to find node position

2006-01-17 Thread Fabio A. D'Aprano

In C++ code you can access to the node position simply by calling the 
getLoc() method of the MobileNode class (see common/mobilenode.h, 
common/mobilenode.cc for more informations)
For example:

double x, y, z;
node-getLoc(x, y, z);

You can ignore the z value since height is not yet supported in ns-2.

regards
Fabio

 Hi ,

 Can we find the position of the node in C program?
 I'll assign the node with its position in tcl file
 statically.then i have to find the position(x and y
 dimension) of the node in C coding.is there any
 command for getting the positions directly? If anyone
 knows,tell me how to find the position of the node in
 C file or tell me how to find logically?


 Dheepa

 Send instant messages to your online friends http://in.messenger.yahoo.com
 



Re: [ns] Patch Files

2006-01-17 Thread Sergey Semenov

Hi

You need diff util, which available in any linux distributive and it
is ported in Win32.

About using diff and creating patches you can read here:
http://www.google.com/search?q=howto+make+patch+using+diff

On 1/17/06, #LIM XIAOWEI# [EMAIL PROTECTED] wrote:
 How do i create my own patch files for the changes i'm going to make in NS-2? 
 Are patch files necessary?

It depends only on you. But patches are more prefferable than
distribution of whole sources,  especially if you want to apply your
changes to main code.

With best regards,
Sergey Semionov



Re: [ns] Patch Files

2006-01-17 Thread Sergey Semenov

On 1/17/06, Sergey Semenov [EMAIL PROTECTED] wrote:
 Hi

 You need diff util, which available in any linux distributive and it
 is ported in Win32.

 About using diff and creating patches you can read here:
 http://www.google.com/search?q=howto+make+patch+using+diff

 On 1/17/06, #LIM XIAOWEI# [EMAIL PROTECTED] wrote:
  How do i create my own patch files for the changes i'm going to make in 
  NS-2? Are patch files necessary?

 It depends only on you. But patches are more prefferable than
 distribution of whole sources,  especially if you want to apply your
 changes to main code.

 With best regards,
 Sergey Semionov




[ns] Running SMAC

2006-01-17 Thread Sita S. Krishnakumar

Hello,
Anyone running SMAC successfully, can you please share your experiences?
Thanks,
Sita






[ns] Doubts about Scheduler class

2006-01-17 Thread A Anupama

Hi,
I am doing some modifications to AODV protocol. In the sendRequest
method, there is a line:

 Scheduler::instance().schedule(target_, p, 0.);

where p is the request packet created.  I think, this line is to send the
packet. But, I am not sure... Can any one tell me how actually a packet is
sent ?
If I have my own packet, say some neighbor solicitation, how can I send the
packet ? Is there any direct method to send a packet ?

Thanks in advance.

Regards
Anupama


[ns] implementing 'RTS-CTS-DATA ' in NS

2006-01-17 Thread Hafiz M.Rizwan

Hi all

m using 'ns-allinone2.29.2' on fedora4. i want to see the bahavior of the 
wireless adhoc network using 'MACAW's multicast solutions i.e. 'RTS-DATA'' and 
compare it with 'RTS-CTS-DATA'. i want to see wether the inclusion of CTS makes 
any difference in throughput /efficiency of the network. as u know NS2.29 
provide builtin 802.11 which also uses MACAW's(RTS-CTS-DATA-ACK) approach, i 
want to know from u how can i enable/disable RTS/CTS/ACK etc.and wether 
changing in these will need changing in other files/variables as well.   
   m start using NS by running simple examples. examples work fine for wireline 
but give errors/warnings in wireless. 
  guide me in detail as soon as possible.
   
  thanking u in advance
   
  regards
   
  hmrizwan


Hafiz M.Rizwan


-
Yahoo! Photos – Showcase holiday pictures in hardcover
 Photo Books. You design it and we’ll bind it!