[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] Flow monitoring
Hello, I'm getting the following error within record(). I do the same
thing in finish() and it works fine. Any ideas what could be wrong?
Thanks,
Apu
--------------------
Error:
ns: record: invalid command name ""
while executing
"$flowmon_id set parrivals_"
(procedure "record" line 10)
invoked from within
"record"
--------------------
proc record {} {
// more stuff
set flowmon [$fmon flows]
set flowmon_id [lindex $flowmon $testflow_num]
set test_arrivals [$flowmon_id set parrivals_]
puts $arrival_file "$now $test_arrivals"
// more stuff
}