LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-23-2011, 03:04 AM   #1
shanky
Member
 
Registered: Aug 2011
Posts: 155

Rep: Reputation: Disabled
Question ns 3 visualizer


hiii,

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 mistake..do i have to make some more changes in the code?
Please help me out..

Thanks in advance,
Shanky
 
Old 09-23-2011, 03:07 AM   #2
shanky
Member
 
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 console..how do i know what path the packets are taking..
if someone can guide me on this..it would be of great help..
thanks a lot...

Shanky
 
Old 09-23-2011, 05:27 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Google .. visualize ns3 ..
https://www.google.com/webhp#sclient...w=1136&bih=712

→ → http://www.nsnam.org/wiki/index.php/Current_Development
2.8 Visualization > 2.8.1 Graphical simulation builder
> http://www.nsnam.org/wiki/index.php/...lation_builder

2.8.2 NetExplorer
http://www.nsnam.org/wiki/index.php/...nt#NetExplorer
""NetExplorer
NetExplorer is Gnome/Gtk network animation tool for NS-3.""


May be the "visual info" you found, is from "Project Ideas" ? ?
http://www.nsnam.org/wiki/index.php/GSOC2011Projects
> Project Ideas , Priority Project Ideas

.
 
Old 09-23-2011, 08:47 AM   #4
shanky
Member
 
Registered: Aug 2011
Posts: 155

Original Poster
Rep: Reputation: Disabled
hiii
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(http://www.nsnam.org/wiki/index.php/...Known_problems) i followed the instructions.
i changed the wscript for 2 files and also changed Simulator::Run() to Visualizer::Run() and the files were
1) first.cc (examples/tutorial/)
2)mesh.cc (src/mesh/examples/)

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

"./waf --run src/mesh/examples/mesh --visualize" for mesh.cc 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

Shanky
 
  


Reply

Tags
ns3


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 07:25 PM
Simple Java 3D Graph Visualizer Example sniff Programming 1 07-06-2008 01:49 PM
LXer: Collect Statistics in a Snapshot with Dynamic Cache Visualizer LXer Syndicated Linux News 0 02-09-2007 01:21 PM
RSS Visualizer digity Linux - Software 0 05-01-2006 02:35 PM


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

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