[ns] example programs

2009-07-07 Thread kundavi
hi i need example programs for wireless simulations using Tclwith odmrp protocol,,,else atleast any other protocol.. with regards, sangeetha.k

Re: [ns] mcps_data_request and losses

2009-07-07 Thread Réjane Dalcé
Hello, Thanks for your proposition. I'm not near the computer I use for work but I'll explain. In my Tcl script, I call mcpsDataRequest to send frames. In the command function of SSCS, I defined the mapping and made the call to MCPS_DATA_request which in turn calls mcps_data_request. The issue I

[ns] NODE 1 NOT DEFINED ERROR MESSAGE

2009-07-07 Thread Oladapo Oluwadiya
I tried simulating a simple wireless scenario of two mobile nodes moving towards each other and after a while moves away . the simulation builds and runs well,but i cant see the two nodes in the NAM animation though the TR file shows the simulation generated correct results..below is the

[ns] Calculate the power consumption

2009-07-07 Thread Kanakaris Venetis
Hi to everyone, I would like to know whether the ns2 can calculate the power consumption or not and if yes, could someone please tell me how? Kind regards, Venetis _ Έχετε Messenger; Έχετε και Windows Live. Μάθετε

[ns] Change the value of dataRate_ in Mac/802_11

2009-07-07 Thread El hadi Cherkaoui
hi all, i want to change via tcl the value of rate in Mac/802_11 ... For exemple when i set : Mac/802_11 set dataRate_ 1Mb the dataRate is really 1 Mb but after if i want to change the datarate to 2Mb Mac/802_11 set dataRate_ 2Mb the value of dataRate_ is still 1Mb What's wrong with this ?

[ns] error report

2009-07-07 Thread Kanakaris Venetis
Hi to everyone, I found an example on the internet and I tried to run it but I am getting a feedback to change some variables but I don't know which one I have to change. At the attached files are the example file and the report error. Please give me help on this problem. Kind regards,

Re: [ns] Change the value of dataRate_ in Mac/802_11

2009-07-07 Thread David Ross
Are you setting it *before* creating the nodes? If dataRate_ is not set when the nodes are created, they use bandwidth_ (defaults to 1Mb) instead. - David Ross. El hadi Cherkaoui wrote: hi all, i want to change via tcl the value of rate in Mac/802_11 ... For exemple when i set :