LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error in NS2.35 when creating node (https://www.linuxquestions.org/questions/linux-newbie-8/error-in-ns2-35-when-creating-node-4175510062/)

srikanthchikka 07-04-2014 02:00 AM

Error in NS2.35 when creating node
 
tried to write my first code in tcl on ns-2 using cygwin, when I type
set n0 [$ns node]
it says
class Node:constructor failed : invalid command name "_o4 _o11"

Ztcoracat 07-05-2014 02:05 PM

I don't have much experience with ns2; sorry (I'm still learning about ns2) but this guide might help.

http://www.isi.edu/nsnam/ns/

Just wondering-
Is this for TCP, routing or multicast protocols?

Ztcoracat 07-05-2014 02:19 PM

This might help with a tcl script-

http://www.linuxquestions.org/questions/linux-newbie-8/cannot-create-nodes-in-ns-allinone-2-30-using-the-%27set-n0-%5B$ns-node%5D%27-command-729204/

Maybe the node is not defined? (not sure)

Gave it my best shot.

srikanthchikka 07-06-2014 11:14 PM

Thank you :)
 
i am working in Windows environment using cygwin. How to save the tcl sciprt written with the above said name..??? Can you give me steps how to completely execute a program?

Ztcoracat 07-07-2014 09:52 PM

It's best for you to wait for an experienced member that is a Windows Administrator.

In the meantime this should help it's for for Windows.
http://www.fundza.com/tcl/script_she...mand_line.html

http://www.bin-co.com/tcl/tutorial/intro.php
http://windowsitpro.com/scripting/ho...t-command-line

Cygwin and Windows 7 (wasn't sure which version of Windows your running)
http://lifehacker.com/5433452/cygwin...y-improvements


All times are GMT -5. The time now is 04:52 PM.