[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] How to view mobile nodes in nam




The procedure $ns_ initial_node_pos defines both the node position 
(already defined in node movement file) as well as the node size. It also 
sets up nam configurations for other things like hier/flat addresses, 
energy model etc.

--Padma

On Fri, 7 Dec 2001, Shivanajay Marwaha wrote:


> 
> Hi, 
> How to set the initial position for wireless nodes in NAM sricpt. 
> 
> In the example  ~ns/tcl/ex/wireless-pkt-demo.tcl it is set to 20. How is this value (20) calculated. 
> And if it is position then it should be for X,Y &Z (should be 3 values).
> 
> (Also in the procedure it (20) is called as node size and above this procedure it is commented as node position.) 
> 
> In my simulation I have set the same node position of 50 nodes and I get an error: 
> 
> class Animator: construstor failed: invalid command name "" 
> 
> Is there any doc. from where I can read the NAM support for Wireless simulations. 
> 
> Thanks, 
> Shivanajay 
> 
> --- Di-Fa Chang <difac@usc.edu> wrote: 
> > see ~ns/tcl/ex/wireless-test.tcl about how to 
> > generate nam trace file. 
> > 
> > - difa 
> > 
> > On Wed, 21 Nov 2001, Shivanajay Marwaha wrote: 
> > 
> > > Hi, 
> > > I am a new NS user. I am trying the examples given 
> > in 
> > > NS tutorial 
> > > http://www.isi.edu/nsnam/ns/tutorial/ 
> > > 
> > > In the wireless examples, there is no nam view 
> > > generated. Does anyone know how to see the nam 
> > view in 
> > > it. 
> > > 
> > > Thanks, 
> > > Shivanajay Marwaha 
> 
> 
> 
> 
> ---------------------------------
> Do You Yahoo!?
> Send your FREE holiday greetings online at Yahoo! Greetings.

-- 
------------------------------------------------ 
Be true to your work, your word, and your friend. 
--Thoreau

Padmaparna Haldar