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

[ns] I have a problem with trace traffic object



Good morning.
I want to generate traffic from a trace file.
So I wrote in my program:

set tracefile [new Tracefile]
$tracefile filename /root/../Data.tr
set traffic [new Application/Traffic/Trace]
$traffic attach-tracefile $tracefile
 
But when I run my program I can read :
bad file size in /root/.../Data.tr
 
Data.tr contains :
10000 53
20000 53
...
 
What have I to do?
 
Paolo.