[ns] new wireless trace format
David Bath
david.bath at triaddo.com
Sun Feb 25 13:25:53 PST 2007
Hi List,
A small update on this. I've been working today to try and find a more
precise set of conditions. It seems I can't produce a new trace format
if I use the a mobile node of type Click.
As suggested in the nsclick papers, I am using
Simulator set node_factory_ Node/MobileNode/ClickNode
As soon as I do that, the use-newtrace directive appears to be being
ignored.
I can't really find out a sensible combination of options to get more
precise than this - purely that something about using a ClickNode
prohibits traces in the new format.
Any thoughts very gratefully received!
Best Regards,
Dave
-----Original Message-----
From: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] On
Behalf Of David Bath
Sent: 25 February 2007 00:02
To: ns-users at ISI.EDU
Subject: Re: [ns] new wireless trace format
Hi list,
Try as I might, I can't get my wireless traces to spit out in new
format. I'm using nsclick (compiled with ns2 version 2.3) and it seems
to otherwise be performing fine.
However, when I try the well-documented:
set ns_ [new Simulator]
set tracefd [open "<filename>" w]
$ns_ use-newtrace
$ns_ trace-all $tracefd
The output resolutely comes out in old format.
I've also tried setting:
Simulator set WirelessNewTrace_ 1 (as seems to be in the ns-lib.tcl)
And
Simulator set newTraceFormat_ 1 (as seems to be indicated in
http://www.isi.edu/nsnam/ns/doc/node185.html)
But no joy.
Any suggestions would be very welcome.
Best Regards,
Dave Bath
University of Bristol, UK
More information about the Ns-users
mailing list