Re: [ns] energy value of sensor node

2006-04-11 Thread amrutha ravichandran
hi, The code u have written is correct .. and txpower and rx power are in watt and initial energy is in J.. Im not sure why they are like this. Hope i've answered atleast one of ur questions. All the best Amrutha.

[ns] bar graph using xgraph

2006-04-08 Thread amrutha ravichandran
Hi, I want to draw a bar graph using the xgraph utility.. i just have two data values eg: 1 10 2 20 How do i draw bar graph for this?? Pls help its urgent.. Thanks, Amrutha.

[ns] urgent help reg energy model in ns

2006-04-03 Thread amrutha ravichandran
HI, I have used the energy model in my tcl file and have specified initial energy to be 200.. according to cmu-trace.cc file the mobile node must become green.. in my nam it has become green.. however wen the energy gets depleted or reaches zero ,the color of the node must change acc to

[ns] energy model in ns

2006-04-03 Thread amrutha ravichandran
HI, I find that in the energy model the energy is getting reduced(in receive and transmit mode) only for MAC,RTS,CTS etc. packets and not for TCP packets.. I need to find out how much energy is consumed for the transmission and reception of TCP packets and also the amount of time spent in the

Re: [ns] error reading file cbr-3-test

2006-03-31 Thread amrutha ravichandran
Hi, Hey i was also getting the same error.. U can try giving the entire path of the file or u can manually include the code in that file in your tcl code.. All the best, Bye.

Re: [ns] Does ns2 support simultaneous processing

2006-03-31 Thread amrutha ravichandran
Hi, I have actually tried to make one node transmit ftp traffic to different destination nodes at the same time.. something like the following set tcp1 [new Agent/TCP] set tcp2 [new Agent/TCP] set tcp3 [new Agent/TCP] #$tcp1 set class_ 2 set sink1 [new Agent/TCPSink] set sink2 [new

[ns] urgent need of ns-2.29

2006-03-20 Thread amrutha ravichandran
HI, I want ns version 2.29 urgently because some of the features of energy model are not there in earlier version.. i have fedora core2..will ns2.29 work on fc2?? can someone send me the link frm where i can download ns 2.29?? pls help its urgent. Thanks, Amrutha.

[ns] urgent help on how to add a field in tcp header??

2006-03-18 Thread amrutha ravichandran
Hi, I want to add a field to the TCP header for acknowledgement.. this field is used for dynamic receive window advertisement.. i want to use it at the receiver when it sends the acknowledgement.. where do i add this field?? how do is set the size?? Pls help its urgent Thanks, Amrutha.

[ns] TCP bursts

2006-03-15 Thread amrutha ravichandran
Hi, Im doing a project in ns2 where i need to convert The smooth TCP stream into bursts.. Im suppose to do modifications to the window advertised by the receiver, but because there is no dynamic window advertisement in ns,im changing the sender to send packets in bursts.. im trying to modify

[ns] exponential traffic generator for TCP

2006-03-14 Thread amrutha ravichandran
Hi, I want to use exponential traffic generator for TCP.. is it possible?? for example: set e [new Application/Traffic/Exponential] $e attach-agent $tcp1 but when i do this im getting an error saying null-invalid packet type(exp) what does this mean??Pls help..its urgent Thanks, Amrutha.

[ns] urgent help in receiver window advertisement in TCP

2006-03-13 Thread amrutha ravichandran
Hi, I find that the advertised receiver window size is found to be a constant.. However i want to change the receiver window size dynamically.. is this possible?? Pls help..its very urgent.. Thanks, Amrutha.

[ns] tcp streams to bursts

2006-03-10 Thread amrutha ravichandran
Hi, I need to convert the tcp stream to bursts using sliding window.. For instance if the window size is 10 on the reciever , then on all acknowledgements except the last one i have to advertize zero window size at the reciever.. on the last ack i advertize full window size i.e., 10.. How do i do

[ns] energy model in ns

2006-03-09 Thread amrutha ravichandran
Hi, I want to use the total sleep time in the energy model as an input to xgraph.. How do i capture this time.. Pls help Amrutha.

[ns] energy model in ns

2006-03-06 Thread amrutha ravichandran
Hi, Im doing a project to save energy in mobile nodes.. i have to do this by sending the WNIC to 'sleep' mode whenever data is not being recieved or transmitted(by shaping TCP traffic).. How can i use the energy model for this purpose.? will it be of any help? Thanks Amrutha.

[ns] infrastructure wireless

2006-02-26 Thread amrutha ravichandran
Hi, Im using a wireless infrastructure network.. im using a laptop as the client to download information from server via an access point.. will the connection between the server and the access point be wired or wireless?? How do i do this in tcl?? Pls help. Thanks Amrutha.

[ns] TCP in ns

2006-02-24 Thread amrutha ravichandran
Hi, I want to change the way sliding window works in TCP.. that is i want to change the way it advertises window size. where do i find the code.. pls help its urgent. Thx Amrutha.