Hello everyone, I am trying to create a simulation scenario in which I want the TCL command executed at "time T" to be dependent on the output of "time T - 1". e.g.
$ns_ at 27 src_node; # This calls *src_node *procedure that computes the "SRC" variable. $ns_ at 28 "$app($SRC) start_transmit"; # This calls *start_transmit *procedure in *app *agent while using the SRC value computed from src_node procedure. The problem is that the first line is getting executed but returning the value after the execution of the second line. In my original program, I need to keep the time difference between the execution of both lines very small, such 0.1 second. I hope anyone has a suggestion to overcome this issue, with thanks. Regards, Osama Rehman