Running a .xml file in netanim

1,709 views
Skip to first unread message

Shipra

unread,
May 18, 2012, 4:07:27 AM5/18/12
to ns-3-users, priyan...@iiitd.ac.in, priyans...@iiitd.ac.in, ruchik...@iiitd.ac.in
Hi,
I am using ns-3.13. I am trying to execute the dumbbell animation's
xml file via netanim. I want to know how to execute the .xml file
which i have created in order to get the animation.
Can anyone tell me which commands to use?

Konstantinos

unread,
May 18, 2012, 4:43:22 AM5/18/12
to ns-3-...@googlegroups.com, priyan...@iiitd.ac.in, priyans...@iiitd.ac.in, ruchik...@iiitd.ac.in
Watch this video. It might help you
http://www.youtube.com/watch?v=tz_hUuNwFDs

For further instruction read the wiki page for netanim http://www.nsnam.org/wiki/index.php/NetAnim

Shipra

unread,
May 20, 2012, 7:25:20 AM5/20/12
to ns-3-users
Hi,
I had watched this video already. Can you please tell me from where is
the Animator window appearing in the video at time 0:18 s? I cannot
find it anywhere in my netanim folder.

On May 18, 1:43 pm, Konstantinos <dinos.katsa...@gmail.com> wrote:
> Watch this video. It might help youhttp://www.youtube.com/watch?v=tz_hUuNwFDs
>
> For further instruction read the wiki page for netanimhttp://www.nsnam.org/wiki/index.php/NetAnim

John Abraham

unread,
May 20, 2012, 8:56:11 AM5/20/12
to ns-3-...@googlegroups.com
Did you try the following as mentioned in the wiki?
cd netanim
make clean
qmake NetAnim.pro  (For MAC Users: qmake -spec macx-g++ NetAnim.pro)
make

Note: qmake could be "qmake-qt4" in some systems

This should create an executable named "NetAnim" in the same directory

Using NetAnim

Using NetAnim is a two-step process.

Step 1: Generate the animation XML trace file during simulation using "ns3::AnimationInterface" in the ns-3 code base

Step 2: Load the XML trace file generated in Step 1 with the offline animator (NetAnim).






On Sunday, May 20, 2012, Shipra wrote:
Hi,
I had watched this video already. Can you please tell me from where is
the Animator window appearing in the video at time 0:18 s? I cannot
find it anywhere in my netanim folder.

On May 18, 1:43 pm, Konstantinos <dinos.katsa...@gmail.com> wrote:
> Watch this video. It might help youhttp://ns-3 third.cc

>
> For further instruction read the wiki page for netanimhttp://www.nsnam.org/wiki/index.php/NetAnim
>
>
>
>
>
>
>
> On Friday, 18 May 2012 11:07:27 UTC+3, Shipra wrote:
>
> > Hi,
> > I am using ns-3.13. I am trying to execute the dumbbell animation's
> > xml file via netanim. I want to know how to execute the .xml file
> > which i have created in order to get the animation.
> > Can anyone tell me which commands to use?

--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.

Shipra

unread,
May 21, 2012, 2:49:21 AM5/21/12
to ns-3-users
Hey John,
When i run the command
qmake NetAnim.pro
i get the output "Cannot find file NetAnim.pro"

On May 20, 4:56 pm, John Abraham <john.abraham...@gmail.com> wrote:
> Did you try the following as mentioned in the wiki?
>
> cd netanim
> make clean
> qmake NetAnim.pro  (For MAC Users: qmake -spec macx-g++ NetAnim.pro)
> make
>
> *Note: qmake could be "qmake-qt4" in some systems*
>
> This should create an executable named "NetAnim" in the same directory
> Using NetAnim
>
> Using NetAnim is a two-step process.
>
> Step 1: Generate the animation XML trace file during simulation using
> "ns3::AnimationInterface" in the ns-3 code base
>
> Step 2: Load the XML trace file generated in Step 1 with the offline
> animator (NetAnim).
>
>
>
>
>
>
>
> On Sunday, May 20, 2012, Shipra wrote:
> > Hi,
> > I had watched this video already. Can you please tell me from where is
> > the Animator window appearing in the video at time 0:18 s? I cannot
> > find it anywhere in my netanim folder.
>
> > On May 18, 1:43 pm, Konstantinos <dinos.katsa...@gmail.com <javascript:;>>
> > wrote:
> > > Watch this video. It might help youhttp://ns-3third.cc<http://www.youtube.com/watch?v=tz_hUuNwFDs>
>
> > > For further instruction read the wiki page for netanimhttp://
> >www.nsnam.org/wiki/index.php/NetAnim
>
> > > On Friday, 18 May 2012 11:07:27 UTC+3, Shipra wrote:
>
> > > > Hi,
> > > > I am using ns-3.13. I am trying to execute the dumbbell animation's
> > > > xml file via netanim. I want to know how to execute the .xml file
> > > > which i have created in order to get the animation.
> > > > Can anyone tell me which commands to use?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "ns-3-users" group.
> > To post to this group, send email to ns-3-...@googlegroups.com<javascript:;>
> > .
> > To unsubscribe from this group, send email to
> > ns-3-users+...@googlegroups.com <javascript:;>.

John Abraham

unread,
May 21, 2012, 8:38:11 AM5/21/12
to ns-3-...@googlegroups.com
It is likely that you have not downloaded it correctly.
Try following the download instructions from the wiki again
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages