Hi,i m simulating and i have a created a procedure for sink but when i execute 
i get the sensor node configuration error. the same configuration works well 
for common sensing node in the main program but when i try to  call a procedure 
it gives this error for both sensing node and the sink.please guide how to 
remove this error.
thanks and regards,Najma Ismat
najmaismat@ubuntu:~/ns-allinone-2.29/ns-2.29$ ns hi11AODVStatic.tclnum_nodes is 
set 5Creating data sink...Using mica 2 mote settingscan't read "chan": no such 
variable    while executing"$ns_ node-config -sensorNode ON  -adhocRouting 
$val(rp)  -llType $val(ll)  -macType $val(mac)  -ifqType $val(ifq)  -ifqLen 
$val(ifqlen)  -antType $val..."    (procedure "sink" line 9)    invoked from 
within"sink $local(energy) $local(x) $local(y) $local(z) $local(start) 
$local(time)"    (file "hi11AODVStatic.tcl" line 254)



                                          

Reply via email to