[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nam with output of httpTest



I think you may try use the newest ns and nam (1.0a2) so that you don't
need to do conversion from ns traces to nam traces. Instead you can
instruct ns to generate nam traces as well then you can run nam on those
traces directly. More details can be found in man pages and example
scripts in ns-2/tcl/ex.

- Haobo

On Thu, 8 Jan 1998, Deniz Gurkan wrote:

> Dear ns-users,
> 
> I have tried the command 'ns_to_nam.tcl ../ns-2.1b1/out.tr dene1.nam' in
> order to display with the nam. But the following error occured:
> 
> %% + -t2.40146 -s0 -d1 -pack -e40 -i1 -a0
> %% - -t2.40146 -s0 -d1 -pack -e40 -i1 -a0
> %% can't read "linktab(0,1,delay)": no such variable
> %%     while executing
> %% "expr $time + $linktab($src,$dst,delay)..."
> %%     invoked from within
> %% "set atime [expr $time + $linktab($src,$dst,delay)..."
> %%     (procedure "packet_in_flight" line 3)
> %%     invoked from within
> %% "packet_in_flight $time $src $dst $type $size $id $attr"
> %%     ("X-" arm line 13)
> %%     invoked from within
> %% "switch "X[lindex $line 0]" {
> %%         "X+" {
> %%             set src [lindex $line 2]
> %%             set dst [lindex $line 3]
> %%             set type [lindex $line 4]
> %%             set size [lindex  ..."
> %%     ("while" body line 7)
> %%     invoked from within
> %% "while {[eof $file]==0} {
> %%     set line [gets $file]
> %% #    puts ">>$line"
> %%     if {$line=={}} {break}
> %%     set time [lindex $line 1]
> %%     check_flight $time ..."
> %%     (file "ns_to_nam.tcl" line 131)
> 
> Would you please tell me what is wrong with my command?
> 
> Thank you in advance.
> 
> Deniz GURKAN
> e-mail: [email protected]  URL: http://www.ee.bilkent.edu.tr/~deniz/
> 
>