[ns] Changing transmission power too often
fhg07@c3sl.ufpr.br
fhg07 at c3sl.ufpr.br
Tue Jan 27 05:55:44 PST 2009
Well, I want to change my transmission power very constantly, but I am not
managing to do so. Aparently, after some changes its value just stop being
updated. Here is what I am doing to change it:
In my tcl code:
61 set phy_($i) [$node_($i) set netif_(0)]
In my C++ code:
52 tcl.evalf("$phy_(%d) set Pt_ %f",a_->myaddr,Pt_array[tt]);
Some of the first changes do really occur, but from a point, the rest of
them do not take effect at all, and I do not know how to manage to change
it often.
Anyone have a suggestion?
Thanks,
--
Fernando Henrique Gielow - UFPR - NR2
Computer Science graduation student.
More information about the Ns-users
mailing list