I would like to know if the Phy/WirelessPhy parameters can be changed only
in the initialization on my tcl script.

The reason for that question is because I am trying to change the values
of Pt_ and Pt_consume_ from inside my C++ code, but the changes do not
take effect in the simulation.

To change its values from inside C++ I am using:
 41   Tcl &tcl = Tcl::instance();
 54   tcl.evalf("Phy/WirelessPhy set Pt_ %f",Pt_array[tt]);
Is that ok?

I do not know if I can vary Pt_ and Pt_consume_ after setting them once.



Furthermore, can I set different Pt_ and Pt_consume_ for different nodes?





Thanks in advance,
-- 
Fernando Henrique Gielow - UFPR - NR2
Computer Science graduation student.

Reply via email to