[ns] Error Model in Wireless Simulation
Al-kahtani
kahtani@lamar.colostate.edu
Tue, 30 Jan 2001 17:18:12 -0700
This is a multi-part message in MIME format.
------=_NextPart_000_0076_01C08AE0.A011C380
Content-Type: text/plain;
charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Thanks a lot Parijat ...
$node_(6) and $node_(7) are defined ...
I don't what is the problem ...
I am still waiting ur help ...
Abu khalid
----- Original Message -----=20
From: Parijat=20
To: Al-kahtani ; ns-users@ISI.EDU=20
Sent: Tuesday, January 30, 2001 4:11 PM
Subject: Re: [ns] Error Model in Wireless Simulation
It seems like you have not defined $node_(6) and $node_(7) =
anywhere....
On Tuesday 30 January 2001 07:23, Al-kahtani wrote:
| | hi everybody,
| I've seen this problem posted before, but never the solution ...
| I am doing little research by using ns-2.1b7a on Linux machine
| ... I tried to build simple Error Model in wireless simulation
| but it gave me error ... The follows are the model and the error
| So please help me ...
|
| Thanks in advance ...
|
| THE BASIC MODEL:
|
| source ns-errmodel.tcl
| set emm [new ErrorModel ]
| $emm unit pkt
| $emm set rate_ 0.2
| $emm ranvar [new RandomVariable/Uniform]
|
| $emm drop-target [new Agent/Null]
| $ns_ lossmodel $emm $node_(6) $node_(7)
|
| THE ERROR:
|
| invalid command name ""
| while executing
| "$link errormodule $lossobj"
| (procedure "_o4" line 3)
| (Simulator lossmodel line 3)
| invoked from within
| "$ns_ lossmodel $emm $node_(6) $node_(7)"
|
|
| Regards,
| Abu-khalid
----------------------------------------
Content-Type: text/html; charset=3D"windows-1256"; name=3D"Attachment: =
1"
Content-Transfer-Encoding: quoted-printable
Content-Description:=20
----------------------------------------
--=20
Sincerely,
Parijat
------=_NextPart_000_0076_01C08AE0.A011C380
Content-Type: text/html;
charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>Thanks a lot Parijat ...</DIV>
<DIV>$node_(6) and $node_(7) are defined ...</DIV>
<DIV>I don't what is the problem ...</DIV>
<DIV>I am still waiting ur help ...</DIV>
<DIV> </DIV>
<DIV>Abu khalid</DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A title=3Deng70883@leonis.nus.edu.sg=20
href=3D"mailto:eng70883@leonis.nus.edu.sg">Parijat</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dkahtani@lamar.colostate.edu=20
href=3D"mailto:kahtani@lamar.colostate.edu">Al-kahtani</A> ; <A=20
title=3Dns-users@ISI.EDU =
href=3D"mailto:ns-users@ISI.EDU">ns-users@ISI.EDU</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, January 30, 2001 =
4:11=20
PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [ns] Error Model =
in Wireless=20
Simulation</DIV>
<DIV><BR></DIV>It seems like you have not defined $node_(6) and =
$node_(7)=20
anywhere....<BR><BR>On Tuesday 30 January 2001 07:23, Al-kahtani=20
wrote:<BR><BR> | | hi=20
everybody,<BR> | I've seen this problem posted =
before, but=20
never the solution ...<BR> | I am doing little =
research by=20
using ns-2.1b7a on Linux machine<BR> | ... I tried =
to build=20
simple Error Model in wireless simulation<BR> | but =
it gave=20
me error ... The follows are the model and the =
error<BR> |=20
So please help me ...<BR> =
|<BR> |=20
Thanks in advance ...<BR> |<BR> | =
THE=20
BASIC MODEL:<BR> |<BR> | source=20
ns-errmodel.tcl<BR> | set emm [new ErrorModel=20
]<BR> | $emm unit pkt<BR> | $emm =
set rate_=20
0.2<BR> | $emm ranvar [new=20
RandomVariable/Uniform]<BR> |<BR> =
| $emm=20
drop-target [new Agent/Null]<BR> | $ns_ lossmodel =
$emm=20
$node_(6) $node_(7)<BR> |<BR> | =
THE=20
ERROR:<BR> |<BR> | invalid command =
name=20
""<BR> | while=20
executing<BR> | "$link errormodule=20
$lossobj"<BR> | (procedure =
"_o4"=20
line 3)<BR> | (Simulator =
lossmodel=20
line 3)<BR> | invoked from=20
within<BR> | "$ns_ lossmodel $emm $node_(6)=20
$node_(7)"<BR> |<BR> =20
|<BR> | Regards,<BR> |=20
=
Abu-khalid<BR><BR>----------------------------------------<BR>Content-Typ=
e:=20
text/html; charset=3D"windows-1256"; name=3D"Attachment:=20
1"<BR>Content-Transfer-Encoding: =
quoted-printable<BR>Content-Description:=20
<BR>----------------------------------------<BR><BR>--=20
<BR>Sincerely,<BR>Parijat</BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0076_01C08AE0.A011C380--