Hi,everyone:
I want to know why my tinydb cannot display the selected results?
The tinydb I use is 1.1.3 and tinyos is 1.1.7. I started the TinyDBApp and use "java net.tinyos.tinydb.TinyDBMain -sim -text -run "select nodeid,light epoch duration 1024"
" to start the tinydb. but the tinydb display stoped at "We're connected to avrmote
|       Epoch   |       nodeid  |       light   |
"
I want to know why ? Why can't the tinydb display the selected results?
I use the same command in the cygwin at windows and it works !
The packages I installed are as follows and my linux is fedora core 4. The display is also listed below.
I also tried the tinyos1.1.0-1 and tinydb 1.1.0-1,and they  also  stoped here and can not display the selected resluts..
Thanks.
ps: The GUI of tinydb also cannot display results. Add on it report a error "cannot load fonts for IMF".
I also listed the display on my cygwin:)
The installed packages in my fedora core 4:
avr-gcc-3.3tinyos-1
task-tinydb-1.1.3July2004cvs-1
avr-insight-pre6.0cvs.tinyos-1.3
tinyos-tools-1.2.1-3
tinyos-1.1.7July2004cvs-2
avr-gcc-3.3tinyos-1
avr-binutils-2.13.2.1-1
avr-insight-pre6.0cvs.tinyos-1.3
avr-libc-20030512cvs-1
IBMJava2-JAVACOMM-1.4.2-5.0
IBMJava2-142-ia32-SDK-1.4.2-5.0
avarice-2.0.20030825cvs-1
The display of tinydb:
[EMAIL PROTECTED] java]# java net.tinyos.tinydb.TinyDBMain -sim -text -run "select nodeid,light epoch duration 1024"
Catalog file in use: net/tinyos/tinydb/catalog.xml
Creating PhoenixSource with tossim-serial
getenv JNI library not found. Env.getenv will not work
(please consult installation directions in
tinyos-1.x/tools/java/net/tinyos/util/Env.INSTALL)
Built a Packet source for avrmote
Opening tossim-serial source
Connecting to Tossim event port at localhost:10585
Connection opened to TOSSIM event port
Connecting to Tossim command port at localhost:10584
Connection opened to Tossim command port
We're connected to avrmote
|       Epoch   |       nodeid  |       light   |
-----------------------------------------------------
The display of TinydbApp:
[EMAIL PROTECTED] TinyDBApp]# export DBG=usr1
[EMAIL PROTECTED] TinyDBApp]# build/pc/main.exe 3
SIM: Random seed is 679670
0: Setting bits from 0 to 80 to 1
2: Setting bits from 0 to 80 to 1
1: Setting bits from 0 to 80 to 1
0: Setting bits from 80 to 151 to 1
0: Setting bits from 0 to 80 to 0
0: Setting bits from 151 to 234 to 1
0: Setting bits from 80 to 151 to 0
2: Setting bits from 80 to 151 to 1
2: Setting bits from 0 to 80 to 0
2: Setting bits from 151 to 234 to 1
2: Setting bits from 80 to 151 to 0
1: Setting bits from 80 to 151 to 1
1: Setting bits from 0 to 80 to 0
1: Setting bits from 151 to 234 to 1
1: Setting bits from 80 to 151 to 0
The below is the display on cygwin:
$ build/pc/main.exe 3
SIM: Random seed is 953125
0: Setting bits from 0 to 80 to 1
1: Setting bits from 0 to 80 to 1
2: Setting bits from 0 to 80 to 1
0: Setting bits from 80 to 151 to 1
0: Setting bits from 0 to 80 to 0
0: Setting bits from 151 to 234 to 1
0: Setting bits from 80 to 151 to 0
1: Setting bits from 80 to 151 to 1
1: Setting bits from 0 to 80 to 0
1: Setting bits from 151 to 234 to 1
1: Setting bits from 80 to 151 to 0
2: Setting bits from 80 to 151 to 1
2: Setting bits from 0 to 80 to 0
2: Setting bits from 151 to 234 to 1
2: Setting bits from 80 to 151 to 0
0: UNTARGETED MESSAGE FROM 2, SEQNO 3
0: UNTARGETED MESSAGE FROM 1, SEQNO 4
0: UNTARGETED MESSAGE FROM 2, SEQNO 4
0: UNTARGETED MESSAGE FROM 1, SEQNO 5
0: UNTARGETED MESSAGE FROM 2, SEQNO 5
0: UNTARGETED MESSAGE FROM 1, SEQNO 6

$ java net.tinyos.tinydb.TinyDBMain -text -sim -run "select nodeid,light epoch
duration 1024"
Catalog file in use: net/tinyos/tinydb/catalog.xml
Creating PhoenixSource with tossim-serial
getenv JNI library not found. Env.getenv will not work
(please consult installation directions in
tinyos-1.x/tools/java/net/tinyos/util/Env.INSTALL)
Opening tossim-serial source
Connecting to Tossim event port at localhost:10585
Connection opened to TOSSIM event port
Connecting to Tossim command port at localhost:10584
Connection opened to Tossim command port
|       Epoch   |       nodeid  |       light   |
-----------------------------------------------------
        1       |
        2       |       2       |       798     |
        3       |       2       |       600     |
        4       |       1       |       390     |
        4       |       2       |       357     |
        5       |       2       |       561     |
        6       |       2       |       493     |
        7       |       2       |       103     |
        8       |       2       |       339     |
        9       |       1       |       325     |
        10      |       2       |       134     |
        10      |       1       |       255     |
        11      |       2       |       69      |
        12      |       2       |       642     |
 

__________________________________________________
赶快注册雅虎超大容量免费邮箱?
http://cn.mail.yahoo.com

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to