Dear Tinyos-Help

This is my first cry for help, have been working through the tutorials  with 
some success, however now I am stuck on getting MViz and TOSSIM  to interact, 
and am struggling to find much documentation.

Background info:

Machine: Fedora 7, TinyOS 2, Java 1.5.

I completed the following in the $TOSROOT/apps/MViz directory:

make micaz sim

This completed successfully and created the MVizMsg.class and  MVizMsg.java 
files.

I then moved into the $TOSROOT/tools/tinyos/misc directory and ran  tos-mviz. 
Now I am not sure what swtiches to supply because I want to  run this in a 
simulation (I have nothing physically attached) and so I  provided:

tos-mviz -comm micaz MVizMsg

I get the following (a screen does appear and disappears as quickly):

[misc]$ tos-mviz -comm micaz MVizMsg
/opt/tinyos-2.x/support/sdk/java/tinyos.jar:.:/opt/tinyos-2.x/apps/MViz:
Making MVizMsg
Loading link 
Loading etx
Loading reading
Loading count
Loading origin
Loading interval
Loading version
./mote.gif
Exception in thread "main" java.lang.NullPointerException
    at net.tinyos.message.MoteIF.init(MoteIF.java:119)
    at net.tinyos.message.MoteIF.(MoteIF.java:110)
    at net.tinyos.mviz.MessageInput.createSource(MessageInput.java:72)
    at net.tinyos.mviz.MessageInput.(MessageInput.java:51)
    at net.tinyos.mviz.DDocument.main(DDocument.java:303)


Am I missing something? If anyone else has had this working could you let me 
know what steps you have performed? Is there any more  documentation? I have 
tried different switches with tos-mviz only to see other error messages.

_________________________________________________________________

http://clk.atdmt.com/UKM/go/msnnkmgl0010000009ukm/direct/01/
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to