Problem when execute file tcl
Hi
I want to simulate this file.tcl but this erreur was showen bss_id lookup failed (_o66 cmd line 1) invoked from within "_o66 cmd bss_id 0" invoked from within "catch "$self cmd $args" ret" invoked from within "if [catch "$self cmd $args" ret] { set cls [$self info class] global errorInfo set savedInfo $errorInfo error "error when calling class $cls: $args" $..." (procedure "_o66" line 2) (SplitObject unknown line 2) invoked from within "$PAMac bss_id $AP_ADDR_0" (file "dccp-wifi-lte line" 79 Can any one help me to solve this problem ?? |
Quote:
The errors in post #1 are generic. Any faulty file.tcl can cause similar errors. Attachments : The `paper clip button' in the 'Advanced Editor'. - |
1 Attachment(s)
[QUOTE][Maybe. If you attach the tcl file as name.tcl.txt ./QUOTE]
I execute the file with the extension .tcl not .tcl.txt this is the file Attachment 16794 note i execute with the extension .tcl in the simulator |
← #3 .
Reason for suffix .txt : Text files must have suffix .txt to be attached. Reason for suffix .tcl : It's nice when the file can be recognized in your post (#3) as a tcl file. I.e. the correct naming for the attachment is " dccp-wifi-lte.tcl.txt ". (And you can also easily run the file with $ ns dccp-wifi-lte.tcl.txt ... A file.tcl isn't executed, but is interpreted by 'ns'. Your error "bss_id lookup failed" : Where is "bss_id" defined ? - |
Here where i defined bss_id
#création de la station de base set PA [$ns node 2.0.0] $PA random-motion 0 #provide some co-ord (fixed) to base station node $PA set X_ 250.0 $PA set Y_ 250.0 $PA set Z_ 0.0 set PAMac [$PA getMac 0] set AP_ADDR_0 [$PAMac id] $PAMac bss_id $AP_ADDR_0 $PAMac set-channel 1 $PAMac enable-beacon [$PA set netif_(0)] setTechno 802.11 It's a tcl code for creation a BS actualy i copied this one from another file but it have also the same problem that is why i ask what the problem is ? |
All times are GMT -5. The time now is 09:06 AM. |