hi,
well the command for seeing the graphical view is " tos-mviz MVizMsg ". if
there are no MVizMsg.class, MVizMsg.java files in the MViz folder then
simply modify your Makefile and include some lines. here I am pasting the
whole Makefile of MViz application :-
COMPONENT=MVizAppC
CFLAGS += -I$(TOSDIR)/lib/net/ -I$(TOSDIR)/lib/net/ctp
-I$(TOSDIR)/lib/net/4bitle -I.
BUILD_EXTRA_DEPS = MVizMsg.class
MVizMsg.java: MViz.h
mig -target=null -java-classname=MVizMsg java MViz.h mviz_msg -o $@
MVizMsg.class: MVizMsg.java
javac MVizMsg.java
include $(MAKERULES)
after modifying save it and compile the application again.
Nhuan Thong wrote:
>
> Dear Helps,
>
> 1. I run the application MViz in TinyOS 2.1.2 and it has run already.
> However, I just see data which is collected but I can not see the
> simulation topology! Can you tell me if I do something wrong?
>
> 2. In the README.txt file of MViz, the authour said "the command will
> cause
> the MViz java tool to parse the fields of MVizMsg and make them
> displayable". Therefore, I try to figure out the parameter "MVizMsg", but
> I
> can not find it anywhere! Could you please tell me about this file?
>
> Best regards,
>
> Huy.
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
--
View this message in context:
http://old.nabble.com/Do-you-know-where-MVizMsg-file-is--%28Working-with-MViz-application-TOS2%29-tp34506146p34507320.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help