[Tinyos-help] tossim

Adeel Akhtar adeel.akhtar.raja at gmail.com
Wed Nov 26 11:38:09 PST 2008


hi all
    my question is related to tossim in tinyos 2.x.to run any simulation
first we have to run python environment then there are two ways either write
a script you want to run,save it in a file with .py  or run tossim
interactively. when i write script in a text file and save it with .py and
run it by first running python environment and then call this file as
mentioned in tutorial but i am getting some error in opening this file the
error is:
Administrator at adeel /opt/tinyos-2.x/apps/adeel/RadioCountToLeds
$ python
Python 2.5.1 (r251:54863, May 18 2007, 16:56:43)
[GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> python_test.py
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'python_test' is not defined
>>>

or is there any other way of calling this file.can anybody help me out...
Thanks & Best Regards
Adeel Akhtar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20081127/a789c236/attachment-0001.htm 


More information about the Tinyos-help mailing list