Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-23-2011, 02:04 AM   #1
Registered: Aug 2011
Posts: 155

Rep: Reputation: Disabled
Question ns 3 visualizer


i am using ns3.11 on fedora..and i want to use the visualizer for the code i am running..i have read that the visualizer is in-built in ns3.11 ...So i added the module "#include ns3/visualizer-module.h" and also changed Simulator::Run() to Visualizer::Run() in my code..then when i run the code it is showing on the console error visualizer not declared in the main program..Can sometell tell me what is the i have to make some more changes in the code?
Please help me out..

Thanks in advance,
Old 09-23-2011, 02:07 AM   #2
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
Also if you guys can help me out with another thing it would be great..
I am trying to implement HWMP in my code..but how do i get to print the routing table on the do i know what path the packets are taking..
if someone can guide me on would be of great help..
thanks a lot...

Old 09-23-2011, 04:27 AM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,698

Rep: Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291
Google .. visualize ns3 ..

→ →
2.8 Visualization > 2.8.1 Graphical simulation builder

2.8.2 NetExplorer
NetExplorer is Gnome/Gtk network animation tool for NS-3.""

May be the "visual info" you found, is from "Project Ideas" ? ?
> Project Ideas , Priority Project Ideas

Old 09-23-2011, 07:47 AM   #4
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
thanks for the help ..but i am trying to get it done with the visualizer..
i am a little confused with the outcome..
please go through what i have tried let me know where i have made a mistake..(its a little repetetive but bear with me)

here goes..

after going through the wiki page on pyviz( i followed the instructions.
i changed the wscript for 2 files and also changed Simulator::Run() to Visualizer::Run() and the files were
1) (examples/tutorial/)
2) (src/mesh/examples/)

And when i ran the following commands
"./waf --run examples/tutorial/first --visualize" for the console printed the message "error Visualizer not declared

"./waf --run src/mesh/examples/mesh --visualize" for the console building successfully (or so i think) and then prints the line innummerable times "No visualization support (no module named pyvizgraph)"

Why is there a differnce in the outputs of the two files even when i have made the same changes..
And what about the visualizer..
Please guide me in this..Thanks for your time




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Network Dump visualizer like AWStats? szboardstretcher Linux - Networking 5 04-26-2011 06:25 PM
Simple Java 3D Graph Visualizer Example sniff Programming 1 07-06-2008 12:49 PM
LXer: Collect Statistics in a Snapshot with Dynamic Cache Visualizer LXer Syndicated Linux News 0 02-09-2007 12:21 PM
RSS Visualizer digity Linux - Software 0 05-01-2006 01:35 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration