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

Re: [ns] add a new prop model?



> set val(prop)       Propagation/LOS

it should be 
set val [new Propagation/LOS]

Debo

> 
> in my tcl file, I got the error information as follows:
> ***************************************
> invalid command name "Propagation/LOS"
>     while executing
> "Propagation/LOS create _o12 "
>     invoked from within
> "catch "$className create $o $args" msg"
>     (procedure "new" line 3)
>     invoked from within
> "new $propType_"
>     (procedure "_o3" line 28)
>     (Simulator node-config line 28)
>     invoked from within
> "$ns_ node-config -adhocRouting $val(adhocRouting) \
>                  -llType $val(ll) \
>                  -macType $val(mac) \
>                  -ifqTyp..."
>     (file "wireless1.tcl" line 95)
> **************************************8
> 
> 
> Any information will be very helpful and I am looking forward to your
> reply. Many thanks.
> 
> Ziran
> 
> 
> 
> 
> 
>  
> 
> 
>