[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] ns-2 and trace files
you might want to first use the included binary file
"example-trace" in ~ns/tcl/ex
to verify wehther the problem coming from your binary
file or tcl script.
Kun-chan Lan
On Fri, 3 Aug 2001, Haitham Tayyar wrote:
> Hi,
>
> I am running ns-2.1b8 on linux redhat 7.0. I already checked the mailing
> list archive and tried every suggested way to get ns-2 to use a traffic
> trace file.
>
> I am converting a file with two columns:interarrival-time(msec) and packet
> size(bytes), to a binary file using the file "asctobin.c" mentioned in the
> mailing list and attatched below. I get a binart file which when i
> incorporate into my scripts using a script like:
>
> set tfile [new Tracefile]
> $tfile filename trace.binary
>
> set t1 [new Application/Traffic/Trace]
> $t1 attach-tracefile $tfile
>
> i get a segmentation fault.
>
> please advise,
>
> Haitham Tayyar
> PhD student, University of British Columbia, Canada
>
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>