[ns] Regarding color setting in recv fn

2006-02-21 Thread Dheepa Rajendran
Hi., I'm not able to set color in recv function. It's showing error as $ns_ at 43.0005 "$node(0) add-mark m2 green circle" : cannot schedule command in past. If i set color for nodes other than recv function,it's coming.But if i set in recv function i'm getting error. T

[ns] How to draw graph

2006-02-19 Thread Dheepa Rajendran
Hi, How to draw graph in ns2. Can anyone give some idea reagarding this. How to give input for the graph? Thanks in advance. Dheepa.R - Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touc

[ns] Regarding Circle formation

2006-01-30 Thread Dheepa Rajendran
Hi, I want to set the range of the node and the range of the node should be seen by drawing circle around the node. Eg: If a node acts as a server it should show its communication range in NAM animator by drawing circle around it.Is it possible to draw circle for a node if it has

[ns] how to set color for the node

2006-01-24 Thread Dheepa Rajendran
hi, How to set color for the node from .cc file.I've used the following format in .cc file sprintf(d,"$node_(%d) color brown",nid) tcl.eval(d) is it correct format to set the color for a node. I used this statement in .cc file but it's showing error. Thanks for u

[ns] how to reduce the signal range for a mobile node

2006-01-19 Thread Dheepa Rajendran
Hi, How to reduce the signal range for a Mobile node? I went through antenna.cc and omniantenna.cc and they have discussed about Gt_,Gr_,X_,Y_,Z_ and some threshold values.Which factor is used for reducing the range? Thanks for ur suggestions Dheepa Send instant messages to your onl

[ns] how to reduce the signal range for a mobile node

2006-01-19 Thread Dheepa Rajendran
Hi, How to reduce the signal range for a Mobile node? I went through antenna.cc and omniantenna.cc and they have discussed about Gt_,Gr_,X_,Y_,Z_ and some threshold values.Which factor is used for reducing the range? Thanks for ur suggestions Dheepa Send instant messages to your onl

[ns] how to find node position

2006-01-16 Thread Dheepa Rajendran
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 positi

[ns] how to form clusters for distributed approach

2006-01-16 Thread Dheepa Rajendran
Hi , My Project is Address Autoconfiguraion in MANET and i have to do that in Distributed Approach.For Distributed approach,the network area should be splitted into many subareas so that there will be several servers in one full network area.My doubt is 1. Whether the area should be seperated in

[ns] how to form clusters for distributed approach

2006-01-16 Thread Dheepa Rajendran
Hi , My Project is Address Autoconfiguraion in MANET and i have to do that in Distributed Approach.For Distributed approach,the network area should be splitted into many subareas so that there will be several servers in one full network area.My doubt is 1. Whether the area should be seperated in