Dear sirs,

the ns-manual says in page number 50 that "Table 5.1: Available options for node
configuration (see tcl/lib/ns-lib.tcl)". I went to this file and found that
there is FECProc option like the IncommingErrProc option.

when I inserted the the FECmodel in my simulation using the following code:
#########################################################################
proc FECproc1 {} {
FECModel set FECstrength_ 2
set FEC1 [new FECModel]
return $FEC1
}
$ns_ node-config -adhocRouting $opt(adhocRouting) \
                 -llType $opt(ll) \
                 -macType $opt(mac) \
                 -ifqType $opt(ifq) \
                 -ifqLen $opt(ifqlen) \
                 -antType $opt(ant) \
                 -propType $opt(prop) \
                 -phyType $opt(netif) \
                 -channelType $opt(chan) \
                 -topoInstance $topo \
                 -wiredRouting ON \
                 -agentTrace OFF \
                 -routerTrace OFF \
                 -macTrace OFF
                 -IncomingErrProc MultistateErrorProc
                 -FECProc FECproc1
#########################################################
I got the following error:

[EMAIL PROTECTED] ~
$ ns errort.tcl
num_nodes is set 2
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
invalid command name "-FECProc"
    while executing
"-FECProc FECproc1"
    (file "errort.tcl" line 124)

it works fine with the error model but does not work with FEC model.

really, it is critical for my simulation and looking forward to receive from
ASAP.
thank you in advance
regards


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Reply via email to