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

Re: How to run nam..



ns_to_nam.tcl is no longer valid. Use ns-2/tcl/ex/nam-example.tcl as an
example of how to write nam trace files. The simplest thing to do is to
add this line: 

$ns namtrace-all [open <filename> w]

File generated by this command will be readable by nam.

- Haobo

On Wed, 11 Mar 1998, Deniz Gurkan wrote:

> Dear ns-users,
> 
> I have problem with running nam for my trace files. Can ns_to_nam.tcl be
> used with trace files generated by ns's namtrace-queue command? Or should
> I make some modifications to it first? In addition when I run
> ns_to_nam.tcl with a trace file (it doesn't matter if it is generated by
> namtrace-queue or trace-queue), I get the error that:
> 
> >> invalid command name "nam_config"
> >>     while executing
> >> "nam_config net"
> >>    (file "ns_to_nam.tcl" line 129)
> 
> Is there sthg wrong with my installation of nam-1.0a4?
> 
> Thank you in advance..  
> Sincerely,
> 
> Deniz GURKAN
> e-mail: [email protected]  URL: http://www.ee.bilkent.edu.tr/~deniz/
> 
>