[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] Error Model in Wireless Simulation



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 -----
From: Parijat
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="windows-1256"; name="Attachment: 1"
Content-Transfer-Encoding: quoted-printable
Content-Description:
----------------------------------------

--
Sincerely,
Parijat