Dear all,
For the no Query Result for TinyDB GUI & DemoApp problem, it can be solved by doing "make clean; make" in a proper sequence as follows:

1.                 "make clean" in the tinyos-1.x/apps/TinyDBApp directory.

2.                 "make clean" in tools/java directory.

3.                 "make –f MakePC" in tools/java/net/tinyos/tindydb directory.

4.                 "make –f MakePC pc" in the tinyos-1.x /apps/TinyDBApp directory.

Best wishes,
Shili


---------- Forwarded message ----------
From: Shili Xiang <[EMAIL PROTECTED]>
Date: Nov 8, 2005 12:14 AM
Subject: No Query Result for TinyDB GUI & DemoApp
To: [email protected]

 
Dear all,
Here I would like to mention one more thing that may help to solove the problem.
 
My Tinyos-1.1.7 was upgraded from Tinyos-1.1.0. When i upgraded, 5 errors as follows occurred (Though i thought it didn't have direct relationship with simulating TinyDB in TOSSIM):
 
/opt/tinyos-1.x/tools/java/net/tinyos/sim/SimObjectGenerator.java:61:
cannot find symbol
symbol : method getSimState()
location: class net.tinyos.sim.TinyViz
this.state = tv.getSimState();
^
/opt/tinyos- 1.x/tools/java/net/tinyos/sim/SimObjectGenerator.java:62:
cannot find symbol
symbol : method getEventBus()
location: class net.tinyos.sim.TinyViz
this.eventBus = tv.getEventBus();
^
/opt/tinyos-1.x/tools/java/net/tinyos/sim/SimObjectGenerator.java:64:
cannot find symbol
symbol : constructor
SimObjectPopupMenu(net.tinyos.sim.TinyViz,net.tinyos.sim.SimObjectGenerator)
location: class net.tinyos.sim.SimObjectPopupMenu
this.popup = new SimObjectPopupMenu(tv, this);
^
MoteSimObjectGenerator.java:52: cannot find symbol
symbol : method getSimState()
location: class net.tinyos.sim.TinyViz
this.state = tv.getSimState();
^
MoteSimObjectGenerator.java:74: cannot find symbol
symbol : constructor
MoteSimObject(net.tinyos.sim.TinyViz,double,double,int,net.tinyos.sim.SimObjectPopupMenu)
location: class net.tinyos.sim.MoteSimObject
MoteSimObject m = new MoteSimObject(tv, x, y, id,
popup);
^
5 errors



---------- Forwarded message ----------
From: Shili Xiang < [EMAIL PROTECTED]>
Date: Nov 6, 2005 11:25 PM
Subject: No Query Result for TinyDB GUI & DemoApp
To: [email protected]

 
Hi all,
I am trying to running TinyDB in TOSSIM, with Tinyos-1.1.7 under cygwin.
I can successfully starup TinyDB GUI by running TinyDBMain and submitting queries there. However, no query results displayed in the Query result window which popped up after i submitted every query. 
In addition, to test whether it is the problem of the resut display GUI or else, I ran the DemoApp application, which is a simple standalone demo application to run a query and print out the results.However, as we can see below, no results returned either.
 
Is there any solution to get the query results? If you have any suggestions, please reply. I want to get this working very soon.
Thank you very much!
 
 *********************************
$ java net.tinyos.tinydb.DemoApp
Catalog file in use: net/tinyos/tinydb/catalog.xml
Creating PhoenixSource with [EMAIL PROTECTED]:57600
Platform COM1:57600 decoded into 1
Built a Packet source for avrmote
[EMAIL PROTECTED]:57600: resynchronising
We're connected to avrmote
Sending query.
 
********************************************************
Best wishes,
Shili
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to