[ns] error in tcl script

2015-05-16 Thread alok kumar
sir, When i am running below tcl script it gives error:Flow 1 starts at time 0.00 Segmentation fault (core dumped) but in other tcl script is work better than below tcl script... I am not understand what error in below tcl script

[ns] error on tcl script

2012-06-10 Thread Charifa BESSAIDI
Hello, Im running the *script* in attachement but Ihe *error* below : testMIH05-05.*tcl* http://old.nabble.com/file/p33986038/testMIH05-05.tcl *Simulation is running ... please wait ... can't read Node_(7): no such element in array while executing return $Node_($id) (procedure _o3 line

Re: [ns] Error in Tcl script

2011-06-23 Thread Mohamed Ibrahim Salman
 Yes, that solved the problem , thank you very much. From: Leo Sánchez sanc...@ugr.es To: ns-users@ISI.EDU Sent: Wednesday, June 22, 2011 8:57 PM Subject: Re: [ns] Error in Tcl script Try defining the process this way: proc discover_ferry { src dst now

[ns] Error in Tcl script

2011-06-22 Thread Mohamed Ibrahim Salman
Hi, This error appear when I try to invoke discover_ferry{} function ns: discover_ferry   1 13 0.00 3 : can't read node_(1): no such variable     while executing $ns_ attach-agent $node_($src) $udp_($index)     (procedure discover_ferry line 6)     invoked from within discover_ferry  

Re: [ns] Error in Tcl script

2011-06-22 Thread Leo Sánchez
Try defining the process this way: proc discover_ferry { src dst now index } { global ns_ node_ ... ... ... } Hope it helps! Leo Sánchez El 22/06/2011 16:48, Mohamed Ibrahim Salman escribió: Hi, This error appear when I try to invoke discover_ferry{} function ns: discover_ferry 1