[Tinyos-help] TinyViz Error

2012-11-03 Thread ateb narjess
hi everybody
I have tried to install TinyViz from the following tutorial : 
http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson5.html
so, when I use use make pc command in apps/TestTinyViz, (I am using XUBUNTOS 
and working on tinyOs 1.x ), I encountered the following error :
ERROR, pc ident_flags tos_image tosboot does not specify a valid target. Stop.

can any one help me please 
any help will be appreciated ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyViz Problem

2011-08-16 Thread Murad Rassam
Hello All,

I am using Tinyviz with tinyos 1.x and it is working normally. When I tried
to use the scripting by aample.autorun as explained in tutorial lesson 5:
TOSSIM for TinyOS 1.X it gives me error that cygwin1.dll is not found. I
tried many times to download it and copy it to the cygwin\bin library but
the problrm still. please if anybody have solved this problem share me.

Thanks.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] tinyviz

2011-06-24 Thread vinod kumar
I am using tinyos-2.x. Somebody please help me how to install some GUI like
tinyviz which is available on tinyos-1.x. Please provide me a link for the
tinyviz alike GUI for 2.x version. I wanted to run mviz app over it and read
the RSS values and look at the network topology(multi hop).
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] tinyviz tried to access class net.tinyos.packet.Platform

2011-05-31 Thread sabrina sabrina

Hello everyone,
 I installed the TinyOS-1.x and I tried to run the tinyviz but I generates 
these errors can you enlighten me on it
 Please
 thank you for your help

root@sabrina-eMachines-E510:/opt/tinyos-1.x/tools/java/net/tinyos/sim# ./tinyviz
java -Dpython.cachedir=/tmp/jython.cache -DDBG= -DSIMDBG= 
net.tinyos.sim.SimDriver -gui
Starting SimDriver... 
Simulation random seed 2130799695
Initializing simulator objects...
Exception in thread main java.lang.IllegalAccessError: tried to access class 
net.tinyos.packet.Platform from class net.tinyos.message.MessageFactory
at 
net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.java:122)
at net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:44)
at net.tinyos.sim.SimCommands.init(SimCommands.java:64)
at net.tinyos.sim.SimDriver.init(SimDriver.java:244)
at net.tinyos.sim.SimDriver.main(SimDriver.java:539)

  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] tinyviz

2011-05-20 Thread Naila Frt
hello,i have installed th tinyos1.x but when we run tinyviz it do'nt worked and 
when i see the pc folder i dont see main.exe
please help me 
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] tinyviz

2011-04-12 Thread asma messaoudi
I ' m using tinyviz, while choosing the DebugMessage plugin an exception is
generated.
what shoud i do?
thank you
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] tinyviz problem

2009-10-09 Thread maha timraz

hi 

I'm new in tinyos . Im trying now to run  tinyviz for tossim according to 
lesson 5 in TOS tutorial. But the GUI of tinyviz appears for a while and then 
disappear soon . 

I did the following steps :

I typed  cd to testtinyvis app in cygwin and i typed make pc then i ran 
main.exe to run tossim , debugging msgs were flying out . I didnt typed ctr+c 
as in the note .  I opened another cygwin window and i cd to 
c:/tinyos/cygwin/opt/tinyos-1.x/tools/java/net/tinyos/sim 

 

I typed : make 

 

 i got this output : 

 

$ cd c:/tinyos/cygwin/opt/tinyos-1.x/tools/java/net/tinyos/sim

$ make
... /opt/tinyos-1.x/tools/java/net/tinyos/sim
(cd msg; make)
make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'
make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/event'
... /opt/tinyos-1.x/tools/java/net/tinyos/sim/event
make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/event'
make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/plugins'
... /opt/tinyos-1.x/tools/java/net/tinyos/sim/plugins
make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/plugins'
make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/packet'
... /opt/tinyos-1.x/tools/java/net/tinyos/sim/packet
make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/packet'
make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/lossy'
... /opt/tinyos-1.x/tools/java/net/tinyos/sim/lossy
make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/lossy'
make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/script'
... /opt/tinyos-1.x/tools/java/net/tinyos/sim/script
make[2]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/script/re
flect'
... /opt/tinyos-1.x/tools/java/net/tinyos/sim/script/reflect
make[2]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/script/ref
lect'
make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/script'
Creating simdriver.jar...
(cd ../../..; \
jar cmf net/tinyos/sim/simdriver.manifest \
net/tinyos/sim/simdriver-tmp.jar \
net/tinyos/sim/*.class  \
net/tinyos/sim/event/*.class\
net/tinyos/sim/lossy/*.class\
net/tinyos/sim/msg/*.class  \
net/tinyos/sim/packet/*.class   \
net/tinyos/sim/plugins/*.class  \
net/tinyos/sim/script/*.class   \
net/tinyos/sim/script/reflect/*.class   \
net/tinyos/sim/ui   \
net/tinyos/sim/plugins/plugins.list \
net/tinyos/sf/*.class   \
net/tinyos/util/*.class \
net/tinyos/packet/*.class   \
net/tinyos/message/*.class  \
org/apache/oro/text/regex/*.class   \
org/python/compiler/*.class \
org/python/core/*.class \
org/python/modules/*.class  \
org/python/parser/*.class   \
org/python/parser/ast/*.class   \
org/python/rmi/*.class  \
org/python/util/*.class)
rm -rf jarbuild-tmp
mkdir jarbuild-tmp
(cd jarbuild-tmp; jar xf ../simdriver-tmp.jar; jar xf ../../../../jars/oalnf.jar
; rm -rf META-INF; jar cmf ../simdriver.manifest ../simdriver.jar .)
rm -rf simdriver-tmp.jar jarbuild-tmp

 

I changed the path from invironment variable dialog box  and add the tinyviz 
script   C:\tinyos\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\sim\tinyviz  . 

 

I typed : export DBG=usr1 

then I typed /opt/tinyos-1.x/tools/java/net/tinyos/sim/tinyviz -run 
build/pc/main.exe 30 

 

I got this output : 


 

/opt/tinyos-1.x/tools/java/net/tinyos/sim
$ export DBG=usr1


 /opt/tinyos-1.x/tools/java/net/tinyos/sim
$ /opt/tinyos-1.x/tools/java/net/tinyos/sim/tinyviz -run build/pc/main.exe 4


java -Dpython.cachedir=/tmp/jython.cache -DDBG=usr1 -DSIMDBG= -jar C:/tinyos/cyg
win/opt/tinyos-1.x/tools/java/net/tinyos/sim/simdriver.jar -gui -run build/pc/ma
in.exe 4
Starting SimDriver...
Simulation random seed 99440754
Initializing simulator objects...
Could not find a platform specific version of TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
  

[Tinyos-help] tinyviz and tossim installation

2009-09-23 Thread Maazouli Marwa

Hi,

I installed tinyOS under Windows, and it seems to run correctly. But at
this time I have no idea of how to install tossim and tinyviz for
simulations. Can someone tell me where can I find that files within
tinos-1.x directory?

Thank you in advance.



  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyViz with SNLog applications

2009-09-11 Thread milena chinè

Hi! I'm Milena Chinè, I’m an italian student of  management engineering and I’m 
doing a thesis about Tinyos and DSN.

I use TinyOS 1.x because I had many problems with tinyOs 2 and application 
written in SNLog. 
My problem is the following:
I compile my application. 
When I start the simulation everything goes well but if I use the option “-gui” 
and I open Tinyviz I have no response. 
Tinyviz can establish the connection but I think it can’t send start signal.  

Thanks.

_
Le tue Emoticon ti sembrano poche? Scaricane di nuove!
http://intrattenimento.it.msn.com/emoticon/___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyViz confirmation

2009-06-30 Thread bharat naik
Hi,

I am running a combination of TOSSIM, TinyViz and Tython and just wanted
verification that everything is going as I wanted. Please let me know if I'm
missing something.
I'm running as such:
1st: In the apps/Surge directory: ./build/pc/main.exe -gui-seed=86734
-r=lossy -rf=build/pc/lossy.nss -t=520 36
/* The lossy file is a 6x6 grid with 8 feet spacing */
2nd: in the tools/java directory: java net.tinyos.sim.SimDriver -gui
3rd: In the TinyViz gui that opens up, I choose a topo.mps that lays out the
motes in a grid of 6x6 with 8 feet spacing
Ex: 0 5 5
   1 13 5
   ...
   6 5 13
   
   and so on.

  I basically want to confirm if TinyViz is taking the bit error rate as
specified in the lossy file into account and not its default radio model.

Thanks and regards,
Bharat Naik.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyViz directed graph query

2009-06-30 Thread bharat naik
Hi,

 I am confused about the purpose of the Directed Graph plugin of
TinyVIz.
 Is it a means to control the tree? Won't it conflict with the seed
that  I specify while running the simulation, assuming addition or deletion
of an edge implies actual addition/deletion of an edge in the tree. Can I
clear all edges and then add edges at whim thereby controlling what the tree
looks at a particular point of time. If so, it is very powerful tool, since
I can simulate failures whenever I want and see how my protocol responds and
if it works better than the default routing protocol.
  If not, any ideas regarding how I can achieve the above will be
helpful.


Thanks and regards,
Bharat Naik.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyViz problem: simulation stops after some time

2009-06-19 Thread bharat naik
Hi all,

 I used the TinyViz GUI for the Surge application. It stops after
about 0.766s. I read through some of the mail archives and got to know that
it may be due to a race condition. I made a Full Thread Dump(Ctrl-\) nad got
the following line at the end: VM Periodic Task Thread prio=1
tid=0x080c9680 nid=0x4d02 waiting on condition
which probably indicates a deadlock of some kind. How do I resolve this? Is
it a version problem? Which version should it be?


Thanks and regards,
Bharat.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] tinyviz: Power profiling

2009-06-04 Thread Raffaele Guida
Hi all,
I'm testing the energy consumption of some applications, I can run the 
simulation and visualize them in TinyViz but the plug-in Power profiling does 
nothing! When I select the tab a table is shown, but it is empty, why? What do 
I have to do to visualize the power profiling?___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] tinyviz: Power profiling

2009-06-04 Thread Rubenalia
Hi Raffaele,

if you want to visualize the energy consuption througt Power profiling
plug-in, you must run your application with -p flag as follows:

main -

2009/6/4 Raffaele Guida raff.gu...@yahoo.it

  Hi all,
 I'm testing the energy consumption of some applications, I can run the
 simulation and visualize them in TinyViz but the plug-in Power profiling
 does nothing! When I select the tab a table is shown, but it is empty, why?
 What do I have to do to visualize the power profiling?

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




-- 
Hey,
how are you doing recently?
I would like to introduce you a very good company and its website is
www.ele-superstore.com It can offer you all kinds of electronic products
that you may be in need,such as laptops ,gps ,TV LCD,cell
 phones,ps3,MP3/4,motorcycles and etc
You can take some time to have a check ,there must be something interesting
you 'd like to  purchase .
The contact email: superst...@188.com MSN: ele-superst...@hotmail.com
TEL: 0086+13699297418
Hope you can enjoy yourself in shopping from that company !

Regards
Hey,
how are you doing recently?
I would like to introduce you a very good company and its website is
www.ele-superstore.com It can offer you all kinds of electronic products
that you may be in need,such as laptops ,gps ,TV LCD,cell
 phones,ps3,MP3/4,motorcycles and etc
You can take some time to have a check ,there must be something interesting
you 'd like to  purchase .
The contact email: superst...@188.com MSN: ele-superst...@hotmail.com
TEL: 0086+13699297418
Hope you can enjoy yourself in shopping from that company !

Regards
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] tinyviz: Power profiling

2009-06-04 Thread Rubenalia
Sorry,

it'd be main -p -gui number of nodes

2009/6/4 Rubenalia rderu...@gmail.com

 Hi Raffaele,

 if you want to visualize the energy consuption througt Power profiling
 plug-in, you must run your application with -p flag as follows:

 main -

 2009/6/4 Raffaele Guida raff.gu...@yahoo.it

  Hi all,
 I'm testing the energy consumption of some applications, I can run the
 simulation and visualize them in TinyViz but the plug-in Power profiling
 does nothing! When I select the tab a table is shown, but it is empty, why?
 What do I have to do to visualize the power profiling?

 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




 --
 Hey,
 how are you doing recently?
 I would like to introduce you a very good company and its website is
 www.ele-superstore.com It can offer you all kinds of electronic products
 that you may be in need,such as laptops ,gps ,TV LCD,cell
  phones,ps3,MP3/4,motorcycles and etc
 You can take some time to have a check ,there must be something interesting
 you 'd like to  purchase .
 The contact email: superst...@188.com MSN: ele-superst...@hotmail.com
 TEL: 0086+13699297418
 Hope you can enjoy yourself in shopping from that company !

 Regards
 Hey,
 how are you doing recently?
 I would like to introduce you a very good company and its website is
 www.ele-superstore.com It can offer you all kinds of electronic products
 that you may be in need,such as laptops ,gps ,TV LCD,cell
  phones,ps3,MP3/4,motorcycles and etc
 You can take some time to have a check ,there must be something interesting
 you 'd like to  purchase .
 The contact email: superst...@188.com MSN: ele-superst...@hotmail.com
 TEL: 0086+13699297418
 Hope you can enjoy yourself in shopping from that company !

 Regards




-- 
Hey,
how are you doing recently?
I would like to introduce you a very good company and its website is
www.ele-superstore.com It can offer you all kinds of electronic products
that you may be in need,such as laptops ,gps ,TV LCD,cell
 phones,ps3,MP3/4,motorcycles and etc
You can take some time to have a check ,there must be something interesting
you 'd like to  purchase .
The contact email: superst...@188.com MSN: ele-superst...@hotmail.com
TEL: 0086+13699297418
Hope you can enjoy yourself in shopping from that company !

Regards
Hey,
how are you doing recently?
I would like to introduce you a very good company and its website is
www.ele-superstore.com It can offer you all kinds of electronic products
that you may be in need,such as laptops ,gps ,TV LCD,cell
 phones,ps3,MP3/4,motorcycles and etc
You can take some time to have a check ,there must be something interesting
you 'd like to  purchase .
The contact email: superst...@188.com MSN: ele-superst...@hotmail.com
TEL: 0086+13699297418
Hope you can enjoy yourself in shopping from that company !

Regards
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyViz solution

2009-03-20 Thread Amina Diarbakirli
sorry I have forget this:
when you run your application in TinyViz perhaps when you try again you can
not
so for this you have to do:
 out the management task: CTRL+ALT+DEL
and  stop the process main.exe

or you have a seconde solution :
 there is a red botton on top TinyViz click it before leaving your
application.sorry for  for my English
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyViz

2009-03-19 Thread Amina Diarbakirli
Hey every body
I have found the problem of TinyViz, I will write the solution today
so be patient
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] tinyviz prob

2009-03-13 Thread Kuldeep Yadav

Hi,
i am also finding same problem in TinyViz.If you have find out the
problem.Please help me out.

Thanks in Advance



Adeel Akhtar wrote:
 
 Hi All:
  i am working with tinyos1.x according to the tutorials found at
 www.tinyos.net i am unable to get output on tinyviz it is showing the
 radio model but not the dbg messages in tinyviz. any idea...
 
 -- 
 
 
 Thanks  Best Regards
 
 Adeel Akhtar
 
 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
 

-- 
View this message in context: 
http://www.nabble.com/tinyviz-prob-tp21188251p22493750.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] tinyviz prob

2008-12-27 Thread Adeel Akhtar
Hi All:
 i am working with tinyos1.x according to the tutorials found at
www.tinyos.net i am unable to get output on tinyviz it is showing the
radio model but not the dbg messages in tinyviz. any idea...

-- 


Thanks  Best Regards

Adeel Akhtar
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] tinyviz problems...

2008-11-20 Thread Dragan Sakota
I can't compile TinyViz... I get message like this one:

Simulation random seed 908280643
Initializing simulator objects...
Loading simulator plugins..
Exception in thread main java.lang.NullPoninterException
at net.tinyos.sim.PluginManager.register(PluginManager.java:77)
at net.tinyos.sim.SimDriver.init(SimDriver.java:258)
at net.tinyos.sim.SimDriver.main(SimDriver.java:539)

and the application doesn't run. How can I make the application run?



  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyViz - tinyos-2.x

2008-09-16 Thread Daniel Patrick
Hi All,

Is TinyViz working in tinyos-2x ?
Beyond the http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson5.html
link, where can I find more informatin about it?

Thanks all

Best regards
Daniel Patrick
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] tinyviz???

2008-04-19 Thread Ramanjit Singh
hi ..
greetings

*i have tried to install TinyViz from TestTinyVizM.nc (**
http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson5.html*http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson5.html
*) after using make command in tools/java/net/tinyos/sim. I am using
XUBUNTOS (LIVE CD) on vmwar*
*, I encountered the following error*

[EMAIL PROTECTED]:/opt/tinyos-1.x/tools/java/net/tinyos/sim$ make

... /opt/tinyos-1.x/tools/java/net/tinyos/sim

(cd msg; make)

make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'

make[1]: Nothing to be done for `all'.

make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'

javac ../sf/old/nido/NidoSerialDataSource.java

../sf/old/nido/NidoSerialDataSource.java:39: package net.tinyos.sim.event
does not exist

import net.tinyos.sim.event.*;

^

../sf/old/nido/NidoSerialDataSource.java:41: cannot find symbol

symbol: class DataSource

public class NidoSerialDataSource implements DataSource {

^

../sf/old/nido/NidoSerialDataSource.java:44: cannot find symbol

symbol : class SimProtocol

location: class net.tinyos.sf.old.nido.NidoSerialDataSource

private SimProtocol eventProtocol = null;

^

../sf/old/nido/NidoSerialDataSource.java:45: cannot find symbol

symbol : class SimProtocol

location: class net.tinyos.sf.old.nido.NidoSerialDataSource

private SimProtocol cmdProtocol = null;

^

../sf/old/nido/NidoSerialDataSource.java:46: cannot find symbol

symbol : class SerialForward

location: class net.tinyos.sf.old.nido.NidoSerialDataSource

private SerialForward sf;

^

../sf/old/nido/NidoSerialDataSource.java:50: cannot find symbol

symbol : class SerialForward

location: class net.tinyos.sf.old.nido.NidoSerialDataSource

public NidoSerialDataSource(SerialForward sf) {

^

../sf/old/nido/NidoSerialDataSource.java:53: cannot find symbol

symbol : class SerialForward

location: class net.tinyos.sf.old.nido.NidoSerialDataSource

public void setSerialForward(SerialForward sf) {

^

../sf/old/nido/NidoSerialDataSource.java:60: cannot find symbol

symbol : variable SimProtocol

location: class net.tinyos.sf.old.nido.NidoSerialDataSource

sf.VERBOSE(Connecting to TOSSIM event port  +
SimProtocol.TOSSIM_EVENT_PORT);

^

../sf/old/nido/NidoSerialDataSource.java:61: cannot find symbol

symbol : variable SimProtocol

location: class net.tinyos.sf.old.nido.NidoSerialDataSource

eventSocket = new Socket(127.0.0.1, SimProtocol.TOSSIM_EVENT_PORT);

^

../sf/old/nido/NidoSerialDataSource.java:64: cannot find symbol

symbol : class SimProtocol

location: class net.tinyos.sf.old.nido.NidoSerialDataSource

eventProtocol = new SimProtocol(is, os);

^

../sf/old/nido/NidoSerialDataSource.java:67: cannot find symbol

symbol : variable SimProtocol

location: class net.tinyos.sf.old.nido.NidoSerialDataSource

sf.VERBOSE(Connecting to TOSSIM command port  +
SimProtocol.TOSSIM_COMMAND_PORT);

^

../sf/old/nido/NidoSerialDataSource.java:68: cannot find symbol

symbol : variable SimProtocol

location: class net.tinyos.sf.old.nido.NidoSerialDataSource

cmdSocket = new Socket(127.0.0.1, SimProtocol.TOSSIM_COMMAND_PORT);

^

../sf/old/nido/NidoSerialDataSource.java:71: cannot find symbol

symbol : class SimProtocol

location: class net.tinyos.sf.old.nido.NidoSerialDataSource

cmdProtocol = new SimProtocol(is, os);

^

../sf/old/nido/NidoSerialDataSource.java:98: cannot find symbol

symbol : class TossimEvent

location: class net.tinyos.sf.old.nido.NidoSerialDataSource

TossimEvent ev = eventProtocol.readEvent();

^

../sf/old/nido/NidoSerialDataSource.java:99: cannot find symbol

symbol : class UARTMsgSentEvent

location: class net.tinyos.sf.old.nido.NidoSerialDataSource

if (ev.getMoteID() == 0  ev instanceof UARTMsgSentEvent) {

^

../sf/old/nido/NidoSerialDataSource.java:100: cannot find symbol

symbol : class UARTMsgSentEvent

location: class net.tinyos.sf.old.nido.NidoSerialDataSource

UARTMsgSentEvent mev = (UARTMsgSentEvent)ev;

^

../sf/old/nido/NidoSerialDataSource.java:100: cannot find symbol

symbol : class UARTMsgSentEvent

location: class net.tinyos.sf.old.nido.NidoSerialDataSource

UARTMsgSentEvent mev = (UARTMsgSentEvent)ev;

^

../sf/old/nido/NidoSerialDataSource.java:132: cannot find symbol

symbol : class UARTMsgSendCommand

location: class net.tinyos.sf.old.nido.NidoSerialDataSource

UARTMsgSendCommand cmd = new UARTMsgSendCommand((short)0, 0L, packet);

^

../sf/old/nido/NidoSerialDataSource.java:132: cannot find symbol

symbol : class UARTMsgSendCommand

location: class net.tinyos.sf.old.nido.NidoSerialDataSource

UARTMsgSendCommand cmd = new UARTMsgSendCommand((short)0, 0L, packet);

^

19 errors

make: *** [../sf/old/nido/NidoSerialDataSource.class] Error 1



-- 
Ramanjit Singh
NIT Jalandhar
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyViz autorun layout

2008-02-10 Thread Farhana Khan
 
  Hi,
   
  I am trying to script an autorun of tinyviz, and I want to load a layout from 
file. What is the proper syntax for this command, and what is the proper format 
of a layout 
file?

  regards
   
  Farhana

   
-
Never miss a thing.   Make Yahoo your homepage.___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Tinyviz Problem

2008-01-20 Thread Koray Ak
Hi,
I am trying to simulate my program using tinyviz. I have installed xubuntos
with tinyos and read tutorials. I can't compile my code for pc, there is
nothing in platform and support/make directory in tinyos-2.x for pc, so I
got following message when I try make pc:

ERROR, pc ident_flags tos_image bnp does not specify a valid target.
Stop.

I update tinyos 1x and 2x tree with cvs but could not solve problem.

Also in tinyos-1.x/tools/java/net/tinyos/sim/ directory when I type make (it
is stated in tutorial to compile tinyviz), I got so many errors while
compiling java files. What should I install to get rid of these errors?
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] tinyviz with tinyos 2.0.2

2007-11-14 Thread Vijayant Bhatnagar
Hi,
I just wanted to know if we have tinyviz with tinyos 2.0.2 ? Basically
I need a graphical interface for visualizing the packets from and to
the motes. I also need to analyze the events happening on some motes.

Thanks,
Vijayant
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] tinyviz with tinyos 2.0.2

2007-11-14 Thread Philip Levis


On Nov 14, 2007, at 8:44 AM, Vijayant Bhatnagar wrote:


Hi,
I just wanted to know if we have tinyviz with tinyos 2.0.2 ? Basically
I need a graphical interface for visualizing the packets from and to
the motes. I also need to analyze the events happening on some motes.


Because TOSSIM in TinyOS 2.0 can be run from a Python interpreter,  
doing this shouldn't be difficult. As far as I know, though, no-one  
has done so yet.


Phil
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Tinyviz Autorun (on cygwin)

2007-09-19 Thread Ray kah
Hi all,

I tried to use TinyViz Autorun (on cygwin) feature but unfortunately
encountered the following fatal error. Please help if you can. Thanks.

AUTORUN: Running simulation: /opt/tinyos-1.x/apps/MyApp/build/pc/main.exe
-gui -t=1500 -r=lossy -seed=1767255752 -nodbgout 2
AUTORUN: Unable to run simulation: java.io.IOException: CreateProcess:
/opt/tinyos-1.x/MyApp/Surge/build/pc/main.exe -gui -t=1500 -r=lossy
-seed=1767255752 -nodbgout 2 error=3
java.io.IOException: CreateProcess:
/opt/tinyos-1.x/apps/MyApp/build/pc/main.exe
-gui -t=1500 -r=lossy -seed=1767255752 -nodbgout 2 error=3
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.init(Win32Process.java:68)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at java.lang.Runtime.exec(Runtime.java:428)
at java.lang.Runtime.exec(Runtime.java:364)
at net.tinyos.sim.AutoRun$AutoRunThread.run(AutoRun.java:345)
at java.lang.Thread.run(Thread.java:534)
Goodbye!
AUTORUN: Stopping simulation.


I am using :
java version 1.4.2_15
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_15-b02)
Java HotSpot(TM) Client VM (build 1.4.2_15-b02, mixed mode)


Regards,
Ray
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Tinyviz Autorun (on cygwin)

2007-09-19 Thread Ray kah
Hi all,

I tried to use TinyViz Autorun (on cygwin) feature but unfortunately
encountered the following fatal error. Please help if you can. Thanks.

AUTORUN: Running simulation: /opt/tinyos-1.x/apps/MyApp/build/pc/main.exe
-gui -t=1500 -r=lossy -seed=1767255752 -nodbgout 2
AUTORUN: Unable to run simulation: java.io.IOException: CreateProcess:
/opt/tinyos-1.x/MyApp/Surge/build/pc/main.exe -gui -t=1500 -r=lossy
-seed=1767255752 -nodbgout 2 error=3
java.io.IOException: CreateProcess: /opt/tinyos-
1.x/apps/MyApp/build/pc/main.exe
-gui -t=1500 -r=lossy -seed=1767255752 -nodbgout 2 error=3
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.init(Win32Process.java:68)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at java.lang.Runtime.exec(Runtime.java:428)
at java.lang.Runtime.exec(Runtime.java:364)
at net.tinyos.sim.AutoRun$AutoRunThread.run(AutoRun.java:345)
at java.lang.Thread.run(Thread.java:534)
Goodbye!
AUTORUN: Stopping simulation.


I am using :
java version 1.4.2_15 
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_15-b02)
Java HotSpot(TM) Client VM (build 1.4.2_15-b02, mixed mode)


Regards,
Ray
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyViz replacement in TinyOS 2.x

2007-09-13 Thread Rui Zhang

Hi all,

I'm after the Location plugin offered by TinyViz. Apparently, TinyViz 
is no longer supported by TinyOS 2.x. I was wondering if there's sth 
equivalent in TinyOS 2.x that would provide me with the same 
functionality? Thanks much,


Rui

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] TinyViz Plugin - Import in Plugins menu

2007-05-29 Thread Fahad Munawar Jan
Hi,

I want to include plugins like SensorModelPlugin.java, 
PacketLoggerPlugin.java and also user defined (created) plugins in TinyViz 
Plugin menu. Could anybody guide me in accomplishing my task?

(SensorModelPlugin.java and PacketLoggerPlugin.java resides in sim/plugins 
directory)

Thanks for your time,

Best Regards,
Fahad



Send instant messages to your online friends http://uk.messenger.yahoo.com ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyViz error on Ubuntu

2007-05-24 Thread gsaxena
Dear all,

I executed 'make clean'; and 'make' on /opt/tinyos-1.x/tools/java/net/tinyos/sim
and I am getting the errors as attached. Can anyone please see what I am 
missing here?

Thanks
Gaurav
/opt/tinyos-1.x/tools/java/net/tinyos/sf/old/ListenServer.java:51: package 
javax.comm does not exist
import javax.comm.*;
^
/opt/tinyos-1.x/tools/java/net/tinyos/sf/old/QueuedSerialSource.java:37: 
package javax.comm does not exist
import javax.comm.*;
^
/opt/tinyos-1.x/tools/java/net/tinyos/sf/old/QueuedSerialSource.java:74: cannot 
find symbol
symbol  : class SerialPort
location: class net.tinyos.sf.old.QueuedSerialSource
private SerialPort   serialPort  = null;
^
/opt/tinyos-1.x/tools/java/net/tinyos/sf/old/QueuedSerialSource.java:261: 
cannot find symbol
symbol  : class NoSuchPortException
location: class net.tinyos.sf.old.QueuedSerialSource
NoSuchPortException, PortInUseException, IOException,
^
/opt/tinyos-1.x/tools/java/net/tinyos/sf/old/QueuedSerialSource.java:261: 
cannot find symbol
symbol  : class PortInUseException
location: class net.tinyos.sf.old.QueuedSerialSource
NoSuchPortException, PortInUseException, IOException,
 ^
/opt/tinyos-1.x/tools/java/net/tinyos/sf/old/QueuedSerialSource.java:262: 
cannot find symbol
symbol  : class UnsupportedCommOperationException
location: class net.tinyos.sf.old.QueuedSerialSource
UnsupportedCommOperationException
^
/opt/tinyos-1.x/tools/java/net/tinyos/sf/old/NetworkSource.java:37: package 
javax.comm does not exist
import javax.comm.*;
^
/opt/tinyos-1.x/tools/java/net/tinyos/sf/old/NetworkSource.java:47: cannot find 
symbol
symbol  : class SerialPort
location: class net.tinyos.sf.old.NetworkSource
private SerialPort   serialPort  = null;
^
/opt/tinyos-1.x/tools/java/net/tinyos/sf/old/SerialSource.java:37: package 
javax.comm does not exist
import javax.comm.*;
^
/opt/tinyos-1.x/tools/java/net/tinyos/sf/old/SerialSource.java:47: cannot find 
symbol
symbol  : class SerialPort
location: class net.tinyos.sf.old.SerialSource
private SerialPort   serialPort  = null;
^
/opt/tinyos-1.x/tools/java/net/tinyos/sf/old/SerialSource.java:200: cannot find 
symbol
symbol  : class NoSuchPortException
location: class net.tinyos.sf.old.SerialSource
NoSuchPortException, PortInUseException, IOException,
^
/opt/tinyos-1.x/tools/java/net/tinyos/sf/old/SerialSource.java:200: cannot find 
symbol
symbol  : class PortInUseException
location: class net.tinyos.sf.old.SerialSource
NoSuchPortException, PortInUseException, IOException,
 ^
/opt/tinyos-1.x/tools/java/net/tinyos/sf/old/SerialSource.java:201: cannot find 
symbol
symbol  : class UnsupportedCommOperationException
location: class net.tinyos.sf.old.SerialSource
UnsupportedCommOperationException
^
/opt/tinyos-1.x/tools/java/net/tinyos/sf/old/QueuedSerialSource.java:264: 
cannot find symbol
symbol  : class CommPortIdentifier
location: class net.tinyos.sf.old.QueuedSerialSource
  CommPortIdentifier portId = CommPortIdentifier.getPortIdentifier ( 
sf.commPort );
  ^
/opt/tinyos-1.x/tools/java/net/tinyos/sf/old/QueuedSerialSource.java:264: 
cannot find symbol
symbol  : variable CommPortIdentifier
location: class net.tinyos.sf.old.QueuedSerialSource
  CommPortIdentifier portId = CommPortIdentifier.getPortIdentifier ( 
sf.commPort );
  ^
/opt/tinyos-1.x/tools/java/net/tinyos/sf/old/QueuedSerialSource.java:265: 
cannot find symbol
symbol  : class SerialPort
location: class net.tinyos.sf.old.QueuedSerialSource
  serialPort = (SerialPort) portId.open (CLASS_NAME, 
CommPortIdentifier.PORT_SERIAL);
^
/opt/tinyos-1.x/tools/java/net/tinyos/sf/old/QueuedSerialSource.java:265: 
cannot find symbol
symbol  : variable CommPortIdentifier
location: class net.tinyos.sf.old.QueuedSerialSource
  serialPort = (SerialPort) portId.open (CLASS_NAME, 
CommPortIdentifier.PORT_SERIAL);
 ^
/opt/tinyos-1.x/tools/java/net/tinyos/sf/old/QueuedSerialSource.java:266: 
cannot find symbol
symbol  : variable SerialPort
location: class net.tinyos.sf.old.QueuedSerialSource
  serialPort.setFlowControlMode (SerialPort.FLOWCONTROL_NONE);
 ^
/opt/tinyos-1.x/tools/java/net/tinyos/sf/old/QueuedSerialSource.java:269: 
cannot find symbol
symbol  : class UnsupportedCommOperationException
location: class net.tinyos.sf.old.QueuedSerialSource
  } catch (UnsupportedCommOperationException e) {
   ^
/opt/tinyos-1.x/tools/java/net/tinyos/sf/old/QueuedSerialSource.java:274: 
cannot find symbol
symbol  : variable SerialPort
location: class net.tinyos.sf.old.QueuedSerialSource
  serialPort.setSerialPortParams (sf.BAUD_RATE, 

[Tinyos-help] TinyViz

2007-04-26 Thread Boushra MAALA
hi all,

  i want to know how can i use the plugin plot in TinyViz /TOSSIM 1.( if there 
is a reference this will be very good)

thank you
   
-
Ahhh...imagining that irresistible new car smell?
 Check outnew cars at Yahoo! Autos.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] tinyviz in Tinyos2.0

2007-04-02 Thread sara Khad

Hi all,
is there any visualisation tools to interact with TOSSIM? In tinyos2 I could
not find tinyviz !
Thank you for any help or suggestion
sara
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re:Re:[Tinyos-help] TinyViz

2007-03-30 Thread Boushra MAALA
hi,
you must do the followed steps :
cd to TestTinyViz directory
typemake pc
export DBG=usr1
build/pc/main.exe -gui 30
( do not press Ctrl +C ,you must keep it works and  do the followings)
 cd to  tools/java/net/tinyos/sim
typemake
then 
type java net.tinyos.sim.TinyViz 
 
you must see the window of TinyViz .then you can select the pluings that you 
want from the window. i tried that several times and these steps work very good.
 
good luck
boushra

[EMAIL PROTECTED] wrote: Hi Boushra,
 
  Thanks for your reply. Please help me in solving this TinyViz problem:
 I am mentioning the steps that I did:-
 
  1. First I did cd to  '/opt/tinyos-1.x/tools/java'
Then I executed 'make'. 
 
  2. Then I cd to '/opt/tinyos-1.x/apps/TestTinyViz
 Then I executed : make  clean; make pc; ./build/pc/main.exe -gui 30
 I get the following by doing this:
 SIM: Initializing sockets
 SIM: Created server socket listening on port 10584.
 SIM: Created server socket listening on port 10585.
 SIM: EEPROM system initialized.
 SIM: spatial model initialized.
 SIM: RFM model initialized at 40 kbit/sec.
 SIM: ADC model initialized.
 SIM: event queue initialized.
 SIM: Waiting for connection from GUI...
 SIM: clientAcceptThread running.
 SIM: commandReadThread running.
 
 3. (Since the terminal is running, i did not get # prompt) and wihout pressing 
Ctrl C, I executed 'java net.tinyos.sim.TinyViz'; now my screen looks like this
 
 SIM: Initializing sockets
 SIM: Created server socket listening on port 10584.
 SIM: Created server socket listening on port 10585.
 SIM: EEPROM system initialized.
 SIM: spatial model initialized.
 SIM: RFM model initialized at 40 kbit/sec.
 SIM: ADC model initialized.
 SIM: event queue initialized.
 SIM: Waiting for connection from GUI...
 SIM: clientAcceptThread running.
 SIM: commandReadThread running.
 java net.tinyos.sim.TinyViz
 
 (Basically the same as above, except the last line that the editor buffered 
when I executed step 3).
 
 I think that I have missed your steps. Could you please clarify.
  Thanks
 Gaurav
 
 
   Original message 
 Date: Thu, 29 Mar 2007 07:17:12 -0700 (PDT)
 From: Boushra MAALA [EMAIL PROTECTED]  
 Subject: Re:Re: [Tinyos-help] TinyVIz  
 To: Tinyos-help@Millennium.Berkeley.EDU
 
hi,
i am sorry, i did an error because i wrote the last
e_mail quickly:
type make  in tools/java instead of make i.e:
cd to tools/java/
 make
 
if you do all the steps and you can not see the
message you must follow the note .
note: when you do that you must not press Ctr + C,
but do the followed steps while the TOSSIM work
 
i wait you to inform me  if you have another error ,
normally it run correctly, i did that before with
good results.
boushra
 
[EMAIL PROTECTED] wrote:
 
  Hi Boushra,
 
  I did the following:
 
  1. I executed export DBG=usr1, all
  2. Then, build/pc/main.exe -gui 30
  (After some time I pressed Ctrl-C)
 
  3. cd /tools/java
  4. make java
  (I got an error here: No rule to make target
  'java' )
  I executed ls and it listed the following files:-
  images jar javapath jni Makefile Makefile.include
  net
 
  Where is the problem?
 
  Thanks
  Gaurav
 
   Original message 
  Date: Wed, 28 Mar 2007 14:01:02 -0700 (PDT)
  From: Boushra MAALA [EMAIL PROTECTED]
  Subject: Re: [Tinyos-help] TinyVIz
  To: Tinyos-help@Millennium.Berkeley.EDU
  
   try to use:
  
   export DBG=usr1,all
   build/pc/main.exe -gui number of nodes
  
   java net.tinyos.sim.TinyViz
  
   [EMAIL PROTECTED] wrote:
  
   Hi All,
  
   I am using TinyOS 1.1 on Redhat Linux.
  
   I am going through tutorial on TinyViz and I
   executed the following under 'TestTinyViz'
  
   export DBG=all
   tinyviz -run build/pc/main.exe 30
  
   The GUI opens but I can't see any messages on
  the
   GUI and the plugins buttons are diabled (except
   the autorun logger), i can't click on any plugin
  -
   debug, etc...
  
   Though on the window the simulation time (Sim
   time) shows the value.
  
   This is the message that it shows in the
   terminal:-
  
   AUTORUN: Initializing simulation.
   AUTORUN: Running simulation: build/pc/main.exe
   -gui -r=lossy 30
   AUTORUN: Connecting...
   SimComm: TossimInitEvent received, pausing
   system...
   SimComm: Continuing
   AUTORUN: Connecting...
   AUTORUN: Simulation running.
  
   Thanks for your help.
  
   Regards,
   Gaurav
   ___
   Tinyos-help mailing list
   Tinyos-help@Millennium.Berkeley.EDU
  
  https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re:Re: [Tinyos-help] TinyVIz

2007-03-29 Thread Boushra MAALA
hi,
i am sorry, i did an error because i wrote the last e_mail quickly:
type make  in tools/java instead of make i.e:
cd to tools/java/
 make 

if you do all the steps and you can not see the message you must follow the 
note .
note: when you do that you must not press Ctr + C, but do the followed steps 
while the TOSSIM work

i wait you to inform me  if you have another error , normally it run correctly, 
i did that before with good results.
boushra

[EMAIL PROTECTED] wrote: Hi Boushra,

I did the following:

1. I executed export DBG=usr1, all
2. Then, build/pc/main.exe -gui 30
(After some time I pressed Ctrl-C)

3. cd /tools/java
4. make java
(I got an error here: No rule to make target 'java' )
I executed ls and it listed the following files:-
images jar javapath jni Makefile Makefile.include net

Where is the problem?

Thanks
Gaurav

 Original message 
Date: Wed, 28 Mar 2007 14:01:02 -0700 (PDT)
From: Boushra MAALA   
Subject: Re: [Tinyos-help] TinyVIz  
To: Tinyos-help@Millennium.Berkeley.EDU

   try to use:

   export DBG=usr1,all
   build/pc/main.exe  -gui  number of nodes
 
   java  net.tinyos.sim.TinyViz

   [EMAIL PROTECTED] wrote:

 Hi All,

 I am using TinyOS 1.1 on Redhat Linux.

 I am going through tutorial on TinyViz and I
 executed the following under 'TestTinyViz'

 export DBG=all
 tinyviz -run build/pc/main.exe 30

 The GUI opens but I can't see any messages on the
 GUI and the plugins buttons are diabled (except
 the autorun logger), i can't click on any plugin -
 debug, etc...

 Though on the window the simulation time (Sim
 time) shows the value.

 This is the message that it shows in the
 terminal:-

 AUTORUN: Initializing simulation.
 AUTORUN: Running simulation: build/pc/main.exe
 -gui -r=lossy 30
 AUTORUN: Connecting...
 SimComm: TossimInitEvent received, pausing
 system...
 SimComm: Continuing
 AUTORUN: Connecting...
 AUTORUN: Simulation running.

 Thanks for your help.

 Regards,
 Gaurav
 ___
 Tinyos-help mailing list
 Tinyos-help@Millennium.Berkeley.EDU
 https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



 

   Looking for earth-friendly autos?
   Browse Top Cars by Green Rating at Yahoo! Autos'
   Green Center.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


 
-
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyVIz

2007-03-28 Thread gsaxena
Hi All,

I am using TinyOS 1.1 on Redhat Linux.

I am going through tutorial on TinyViz and I executed the following under 
'TestTinyViz'

export DBG=all
tinyviz -run build/pc/main.exe 30

The GUI opens but I can't see any messages on the GUI and the plugins buttons 
are diabled (except the autorun logger), i can't click on any plugin - debug, 
etc...

Though on the window the simulation time (Sim time) shows the value.

This is the message that it shows in the terminal:-

AUTORUN: Initializing simulation.
AUTORUN: Running simulation: build/pc/main.exe -gui -r=lossy 30
AUTORUN: Connecting...
SimComm: TossimInitEvent received, pausing system...
SimComm: Continuing
AUTORUN: Connecting...
AUTORUN: Simulation running.

Thanks for your help.

Regards,
Gaurav
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] TinyVIz

2007-03-28 Thread Boushra MAALA

try to use:

export DBG=usr1,all
build/pc/main.exe  -gui  number of nodes
cd to tools/java/
make java
java  net.tinyos.sim.TinyViz 

[EMAIL PROTECTED] wrote: Hi All,

I am using TinyOS 1.1 on Redhat Linux.

I am going through tutorial on TinyViz and I executed the following under 
'TestTinyViz'

export DBG=all
tinyviz -run build/pc/main.exe 30

The GUI opens but I can't see any messages on the GUI and the plugins buttons 
are diabled (except the autorun logger), i can't click on any plugin - debug, 
etc...

Though on the window the simulation time (Sim time) shows the value.

This is the message that it shows in the terminal:-

AUTORUN: Initializing simulation.
AUTORUN: Running simulation: build/pc/main.exe -gui -r=lossy 30
AUTORUN: Connecting...
SimComm: TossimInitEvent received, pausing system...
SimComm: Continuing
AUTORUN: Connecting...
AUTORUN: Simulation running.

Thanks for your help.

Regards,
Gaurav
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


 
-
Looking for earth-friendly autos? 
 Browse Top Cars by Green Rating at Yahoo! Autos' Green Center.  ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TinyVIz

2007-03-28 Thread gsaxena
Hi Boushra,

I did the following:

1. I executed export DBG=usr1, all
2. Then, build/pc/main.exe -gui 30
(After some time I pressed Ctrl-C)

3. cd /tools/java
4. make java
(I got an error here: No rule to make target 'java' )
I executed ls and it listed the following files:-
images jar javapath jni Makefile Makefile.include net

Where is the problem?

Thanks
Gaurav

 Original message 
Date: Wed, 28 Mar 2007 14:01:02 -0700 (PDT)
From: Boushra MAALA [EMAIL PROTECTED]  
Subject: Re: [Tinyos-help] TinyVIz  
To: Tinyos-help@Millennium.Berkeley.EDU

   try to use:

   export DBG=usr1,all
   build/pc/main.exe  -gui  number of nodes
   cd to tools/java/
   make java
   java  net.tinyos.sim.TinyViz

   [EMAIL PROTECTED] wrote:

 Hi All,

 I am using TinyOS 1.1 on Redhat Linux.

 I am going through tutorial on TinyViz and I
 executed the following under 'TestTinyViz'

 export DBG=all
 tinyviz -run build/pc/main.exe 30

 The GUI opens but I can't see any messages on the
 GUI and the plugins buttons are diabled (except
 the autorun logger), i can't click on any plugin -
 debug, etc...

 Though on the window the simulation time (Sim
 time) shows the value.

 This is the message that it shows in the
 terminal:-

 AUTORUN: Initializing simulation.
 AUTORUN: Running simulation: build/pc/main.exe
 -gui -r=lossy 30
 AUTORUN: Connecting...
 SimComm: TossimInitEvent received, pausing
 system...
 SimComm: Continuing
 AUTORUN: Connecting...
 AUTORUN: Simulation running.

 Thanks for your help.

 Regards,
 Gaurav
 ___
 Tinyos-help mailing list
 Tinyos-help@Millennium.Berkeley.EDU
 https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



 

   Looking for earth-friendly autos?
   Browse Top Cars by Green Rating at Yahoo! Autos'
   Green Center.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] TinyViz failed

2007-03-27 Thread Mostafa, Iman
Hi,
I am trying to run TinyViz, the interface launches but I get the error 
connection to simulator failed. 
I am following the steps in the online tutorial to run the TestTinyViz 
applivcation as follows:
 
cd C:/tinyos/cygwin/opt/tinyos-1.x/apps/TestTinyViz
export DBG=usr1
tinyviz -run build/pc/main.exe 30
 
I appreciate your help
 
Iman S Mostafa

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] TinyViz provlem

2007-03-18 Thread gsaxena
Hi,
 
I am using Boomerang TinyOS 1.1. I am trying to run apps/TestTinyViz appication 
by

tinyviz -run build/pc/main.exe 30 

but I get error- could not find a platform specific version of TOSMsg, though 
GUI app gets loaded.

I checked this problem in mailing list, and Phil suggested that by executing 
make clean and make in msg/ and packet/ might help. But I am still getting the 
same error.

Regards,
Gaurav

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] tinyviz: connection to simulator failed

2007-02-28 Thread ahmed dehbi

Hi,
i'm new to the tinyos env 
could someone help me
when i run simulations with tinyviz, it starts and immediately pauses,
i have two kind of error messages :
--- on tinyviz window : connection to simulator failed 
 on the bash: 
[...]
AUTORUN: Connecting...SimComm: TossimInitEvent received, pausing system...SimComm: ContinuingSimComm: TossimInitEvent received, pausing system...
[..]
however, when i run toscheck : toscheck completed without error.
thanks,
ahmedWindows Live Spaces : Partagez vos photos des fêtes sur votre blog Messenger! 

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyViz Error

2007-02-22 Thread Aon Safdar
While trying to run TinyViz in windows(via cygwin)...and running the 
TestTinyViz application in /opt/tinyosx-1.x/appsi get the following error 
after i run the command 
  ./tinyviz -run build/pc/main.exe 30
   
  
  AUTORUN: Initializing simulation.
AUTORUN: Running simulation: /opt/tinyos-1.x/apps/Blink/build/pc/main.exe -gui 
-r=lossy 3
AUTORUN: Unable to run simulation: java.io.IOException: CreateProcess: 
/opt/tinyos-1.x/apps/Blink/build/pc/main.exe -gui -r=lossy 3 error=3
Goodbye!
  and the tinyviz disappears after a while.
   
  Does anybody have a solution for this bug?please let me know
  [EMAIL PROTECTED] 

 Send instant messages to your online friends http://uk.messenger.yahoo.com ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TinyViz

2007-02-07 Thread Oier . Dominguez
Hi again,

Some days before I used to obtain the same error as yours, but now I can
neither compile Java-tools. I'm trying hard with this, and I always
encounter many errors. It says it cannot find ncc,ncg,mig. I followed all
the Ubuntu and other debian installation steps and still nothing.

when compiling java-tools (make), apparently javac was missing, so I
installed the java5-11, and fixed that problem, but still lots of
compilation errors (also javax.comm appears to be missing).

The nesc I have installed is the aliened nesc_1.2.8a-2_i386.deb and the
nescc works but none about ncc, so I have downloaded it from tinyos...
I don't understand why these files are missing, if so.

Any help will be estimated

Oier


 Hi~
 I am trying to run TinyViz as described in the TinyOS tutorial...I am able
 to run the command
 tinyviz -run build/pc/main.exe 30
 But, TinyViz does not work properly. The GUI comes up and then closes
 after
 a second and I get this error.



 java -Dpython.cachedir=/tmp/jython.cache -DDBG=usr1 -DSIMDBG= -jar
 C:/tinyos/cygwin/opt/tinyos-1.x/tools/java/net/tinyos/sim/simdriver.jar
 -gui
  -run build/pc/main.exe 30
 Starting SimDriver...
 Simulation random seed 1921424967
 Initializing simulator objects...
 Could not find a platform specific version of TOSMsg
 java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
 java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
   at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:140)
   at
 net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.java:122)
   at
 net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:44)
   at net.tinyos.sim.SimCommands.init(SimCommands.java:64)
   at net.tinyos.sim.SimDriver.init(SimDriver.java:244)
   at net.tinyos.sim.SimDriver.main(SimDriver.java:539)
 Loading simulator plugins...
 Creating TinyViz GUI...



 Welcome to Tython. Type 'quit' to exit.
 ESC on a line by itself will pause/resume the simulator.


 AUTORUN: Initializing simulation.
 AUTORUN: Running simulation: build/pc/main.exe -gui -r=lossy
  -seed=1921424967 -nodbgout 30
 AUTORUN: Unable to run simulation: java.io.IOException: CreateProcess:
 build/pc/main.exe -gui -r=lossy -seed=1921424967 -nodbgout 30 error=2
 java.io.IOException: CreateProcess: build/pc/main.exe -gui -r=lossy
  -seed=1921424967 -nodbgout 30 error=2
   at java.lang.Win32Process.create(Native Method)
   at java.lang.Win32Process.init(Win32Process.java:63)
   at java.lang.Runtime.execInternal(Native Method)
   at java.lang.Runtime.exec(Runtime.java:566)
   at java.lang.Runtime.exec(Runtime.java:428)
   at java.lang.Runtime.exec(Runtime.java:364)
   at net.tinyos.sim.AutoRun$AutoRunThread.run(AutoRun.java:344)
   at java.lang.Thread.run(Thread.java:536)
 Goodbye!
 AUTORUN: Stopping simulation.


 I have found several similar postings in TinyOs help but no solutions?  It
 seems to only happen (on the posts for telosb)??? Any ideas?
 Thanks,
 Nina
 ___
 Tinyos-help mailing list
 Tinyos-help@Millennium.Berkeley.EDU
 https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] TinyViz

2007-02-05 Thread Oier . Dominguez
Hi,

the error you got was the reason for me to join this list :)
I would like someone could help or advice us.

I'm running this stuff under Ubuntu 6.10 and I wondered whether it could
be due to a too new java platform (I got Java 1.6), so I tried to install
the Java 1.5 but I had several problems (and don't know yet why) and I
haven't been able to perform a real test yet. You may try doing that, and
please tell me if that works.

Oier


 Hi~
 I am trying to run TinyViz as described in the TinyOS tutorial...I am able
 to run the command
 tinyviz -run build/pc/main.exe 30
 But, TinyViz does not work properly. The GUI comes up and then closes
 after
 a second and I get this error.



 java -Dpython.cachedir=/tmp/jython.cache -DDBG=usr1 -DSIMDBG= -jar
 C:/tinyos/cygwin/opt/tinyos-1.x/tools/java/net/tinyos/sim/simdriver.jar
 -gui
  -run build/pc/main.exe 30
 Starting SimDriver...
 Simulation random seed 1921424967
 Initializing simulator objects...
 Could not find a platform specific version of TOSMsg
 java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
 java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
   at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:140)
   at
 net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.java:122)
   at
 net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:44)
   at net.tinyos.sim.SimCommands.init(SimCommands.java:64)
   at net.tinyos.sim.SimDriver.init(SimDriver.java:244)
   at net.tinyos.sim.SimDriver.main(SimDriver.java:539)
 Loading simulator plugins...
 Creating TinyViz GUI...



 Welcome to Tython. Type 'quit' to exit.
 ESC on a line by itself will pause/resume the simulator.


 AUTORUN: Initializing simulation.
 AUTORUN: Running simulation: build/pc/main.exe -gui -r=lossy
  -seed=1921424967 -nodbgout 30
 AUTORUN: Unable to run simulation: java.io.IOException: CreateProcess:
 build/pc/main.exe -gui -r=lossy -seed=1921424967 -nodbgout 30 error=2
 java.io.IOException: CreateProcess: build/pc/main.exe -gui -r=lossy
  -seed=1921424967 -nodbgout 30 error=2
   at java.lang.Win32Process.create(Native Method)
   at java.lang.Win32Process.init(Win32Process.java:63)
   at java.lang.Runtime.execInternal(Native Method)
   at java.lang.Runtime.exec(Runtime.java:566)
   at java.lang.Runtime.exec(Runtime.java:428)
   at java.lang.Runtime.exec(Runtime.java:364)
   at net.tinyos.sim.AutoRun$AutoRunThread.run(AutoRun.java:344)
   at java.lang.Thread.run(Thread.java:536)
 Goodbye!
 AUTORUN: Stopping simulation.


 I have found several similar postings in TinyOs help but no solutions?  It
 seems to only happen (on the posts for telosb)??? Any ideas?
 Thanks,
 Nina
 ___
 Tinyos-help mailing list
 Tinyos-help@Millennium.Berkeley.EDU
 https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] TinyViz

2007-01-30 Thread Nina Picone

Hi~
I am trying to run TinyViz as described in the TinyOS tutorial...I am able
to run the command
tinyviz -run build/pc/main.exe 30
But, TinyViz does not work properly. The GUI comes up and then closes after
a second and I get this error. 




java -Dpython.cachedir=/tmp/jython.cache -DDBG=usr1 -DSIMDBG= -jar
C:/tinyos/cygwin/opt/tinyos-1.x/tools/java/net/tinyos/sim/simdriver.jar -gui
-run build/pc/main.exe 30
Starting SimDriver...
Simulation random seed 1921424967
Initializing simulator objects...
Could not find a platform specific version of TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
 at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:140)
 at
net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.java:122)
 at 
net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:44)

 at net.tinyos.sim.SimCommands.init(SimCommands.java:64)
 at net.tinyos.sim.SimDriver.init(SimDriver.java:244)
 at net.tinyos.sim.SimDriver.main(SimDriver.java:539)
Loading simulator plugins...
Creating TinyViz GUI... 




Welcome to Tython. Type 'quit' to exit.
ESC on a line by itself will pause/resume the simulator. 



AUTORUN: Initializing simulation. 

AUTORUN: Running simulation: build/pc/main.exe -gui -r=lossy
-seed=1921424967 -nodbgout 30
AUTORUN: Unable to run simulation: java.io.IOException: CreateProcess:
build/pc/main.exe -gui -r=lossy -seed=1921424967 -nodbgout 30 error=2
java.io.IOException: CreateProcess: build/pc/main.exe -gui -r=lossy
-seed=1921424967 -nodbgout 30 error=2
 at java.lang.Win32Process.create(Native Method)
 at java.lang.Win32Process.init(Win32Process.java:63)
 at java.lang.Runtime.execInternal(Native Method)
 at java.lang.Runtime.exec(Runtime.java:566)
 at java.lang.Runtime.exec(Runtime.java:428)
 at java.lang.Runtime.exec(Runtime.java:364)
 at net.tinyos.sim.AutoRun$AutoRunThread.run(AutoRun.java:344)
 at java.lang.Thread.run(Thread.java:536)
Goodbye!
AUTORUN: Stopping simulation. 



I have found several similar postings in TinyOs help but no solutions?  It
seems to only happen (on the posts for telosb)??? Any ideas?
Thanks,
Nina 
___

Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] tinyviz error (tinyos tutorial 5)

2007-01-04 Thread umar hafeez
Hi, 

I got the following error when trying to use tinyviz (with the tinyviz -run 
/build/pc/main.exe 30)

[EMAIL PROTECTED]:/opt/tinyos-1.x/apps/TestTinyViz$ tinyviz -run 
build/pc/main.exe 30
java -Dpython.cachedir=/tmp/jython.cache -DDBG=usr1 -DSIMDBG= 
net.tinyos.sim.SimDriver -gui -run build/pc/main.exe 30
Starting SimDriver... 
Simulation random seed 1341307903
Initializing simulator objects...
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)
Loading simulator plugins...
Exception in thread main java.lang.NullPointerException
at net.tinyos.sim.PluginManager.register(PluginManager.java:77)
at net.tinyos.sim.SimDriver.init(SimDriver.java:258)
at net.tinyos.sim.SimDriver.main(SimDriver.java:539)


Any way to solve this???


Also :
sudo tinyviz -run build/pc/main.exe 30

throws an error which i think is odd since, to make the apps, i have to sudo
all the time in ubuntu (e.g. sudo make pc or sudo make mica2)



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


RE: [Tinyos-help] tinyviz error (tinyos tutorial 5)

2007-01-04 Thread umar hafeez



Yes, as instructed in chad metcalf's guide (5secondfuse.com) 

I think i have some broken packages nevertheless, usually when i follow the 
guide (with alteration for uisp), tinyos-1.x make mica2 works but make pc does 
never work. and tinyos-2.x make micaz sim works perfectly... this 
time the install is very strange, because this make pc is working and i get 
this far, but tinyos i just checked is not working at all... i think some 
packages are conflicting in this and i have no idea why, so i goin for a 
reinstall  (but i know i will be back to my original problem instead of this 
one)...

- Original Message 
From:
 Chalermphol T. [EMAIL PROTECTED]
To: umar hafeez [EMAIL PROTECTED]
Sent: Thursday, 4 January, 2007 7:45:36 PM
Subject: Re: [Tinyos-help] tinyviz error (tinyos tutorial 5)

Have you compile the java stuffes? using make

 

Chalermphol

 

On 1/4/07, umar hafeez [EMAIL PROTECTED] wrote:
Hi,

I got the following error when trying to use tinyviz (with the tinyviz -run 
/build/pc/main.exe 30)


[EMAIL PROTECTED]:/opt/tinyos-1.x/apps/TestTinyViz$ tinyviz -run 
build/pc/main.exe 30
java -Dpython.cachedir=/tmp/jython.cache -DDBG=usr1 -DSIMDBG= 
net.tinyos.sim.SimDriver -gui -run build/pc/main.exe 30
Starting SimDriver...

Simulation random seed 1341307903
Initializing simulator objects...
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)

Loading simulator plugins...
Exception in thread main java.lang.NullPointerException
   at net.tinyos.sim.PluginManager.register(PluginManager.java:77)
   at net.tinyos.sim.SimDriver.init(
SimDriver.java:258)
   at net.tinyos.sim.SimDriver.main(SimDriver.java:539)


Any way to solve this???


Also :
sudo tinyviz -run build/pc/main.exe 30

throws an error which i think is odd since, to make the apps, i have to sudo

all the time in ubuntu (e.g. sudo make pc or sudo make mica2)



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU

https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help










___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyViz plugin

2006-12-13 Thread JacKn|ghT ~*

Please give me a example code for TinyViz plugin. Thank you

 Get the latest Windows Live Messenger 8.1 Beta version. Join now. 

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] tinyviz simple

2006-11-16 Thread Yinying Yang
Hi, 

 

I use the following command to start tinyviz.

Tinyviz -run 'build/pc/main.exe -b=1 -r=simple' 25

 

Now even here I use -r=simple, when Tiinyviz starts, it shows :

AUTORUN: Running simulation: build/pc/main.exe -p -b=1 -gateway=1 -r=simple
-gui

 -r=lossy -seed=850073226 -nodbgout 25

 

There is -r=lossy there. So it seems tinyviz still uses lossy model, is it
right? Or it does not matter?

 

Thank you.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] tinyviz make error

2006-11-09 Thread Hairong Yan
after I use make under the directory of  tools/java/net/tinyos/sim, I
got the error as following:

.. /opt/tinyos-1.x/tools/java/net/tinyos/sim
(cd msg; make)
make[1]: Entering directory
`/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'
javac SimObjectAddRemoveListener.java
SimObjectAddRemoveListener.java:42: cannot resolve symbol
symbol  : class SimObject
location: interface net.tinyos.sim.SimObjectAddRemoveListener
public void simObjectAdded(SimObject simObject);
^
SimObjectAddRemoveListener.java:44: cannot resolve symbol
symbol  : class SimObject
location: interface net.tinyos.sim.SimObjectAddRemoveListener
public void simObjectRemoved(SimObject simObject);
^
2 errors
make: *** [SimObjectAddRemoveListener.class] Error 1


what's mean of that?  I know little about java. Can some one told me
how to correct? Thanks in advance.
Best regards!

hairong yan


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Tinyviz and Tossim with multi applications

2006-11-08 Thread Termodonte



Hello guys,
maybe this question is old as tinyos but i would 
like to know if it's possible to run more applications, using tossim and see 
them working together in tinyviz. For example, i would run OscilloscopeRF and 
TOSbase (or maybe TOSbase and TestTinySec) in the 
same time and see in tinyviz two motes with different applications installed. Is 
there some mod that can do this?

Best regards,

Rob.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

RE : [Tinyos-help] Tinyviz and Tossim with multi applications

2006-11-08 Thread walid hamdi
This was my first problem at all!!:)

This won´t be possible:-(

Tossim runs a simulation of up to 1000 motes but
implementing the same application.. 

Sorry:(






___ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: RE : [Tinyos-help] Tinyviz and Tossim with multi applications

2006-11-08 Thread Conor Todd
Is it possible to run multiple copies of TOSSIM (one for each application under test) connected to one serialforwarder so that they can talk to each other?

 - Conor
On 11/8/06, walid hamdi [EMAIL PROTECTED] wrote:
This was my first problem at all!!:)This won´t be possible:-(Tossim runs a simulation of up to 1000 motes but
implementing the same application..Sorry:(___Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponseshttp://fr.answers.yahoo.com___
Tinyos-help mailing listTinyos-help@Millennium.Berkeley.EDUhttps://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
-- Thought is only a flash in the middle of a long night, but the flash that means everything.- Poincaré 
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Tinyviz plugin problem

2006-10-19 Thread Rodrigo Melo
Hi,I'm trying to create a plugin for Tinyviz. My problem is that It is not added to the plugins list inside Tinyviz (so I can select it).Already executed make on /opt/tinyos-1.x/tools/java/net/tinyos/sim
It's compiling well, I've compared the code to other plugins (actually my code is based on code of other plugins) and its just fine.After the make the file plugins.list contains my new plugin. But when I open Tinyviz it is not there. 
Is there anything I'm missing??? Can anyone help me???I'm using TinyOS 1.1.15 and java 1.5.0_9.Thanks-- Rodrigo Melo 
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyViZ question

2006-10-04 Thread Jing Ma








Hi,



Need your help in TinyViz also. 



1. I have
problem loading a new application to tinyviz, it always load the very first
one. How can I do it?

2. If Mote A
running Application A and B running Application B, how can I load both of them
into tinyViz.



Many thanks,



Jenny 






___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Tinyviz problem

2006-09-27 Thread 刘晓杰 ^-^
   hi,everyone
   I want to simulate Blink in Tinyviz ,so  i compiled the Blink.nc to 
main.exe.And then i run the command tinyviz -run ./build/pc/main.exe 10 . It 
did start tinyviz ,but it didn't show any debug messages. And i notice that sim 
time is 0 sec.
   Can anyone give me some advice ,thanks a lot
  
   aspen
   
  

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Tinyviz Simulations

2006-09-22 Thread walid hamdi
Can anybody tell me please if there is a method to run
simulation of different sensors on the same pc (if
there is one), because i still don´t have my Hardware.

I tried yesterday to simulate CntToLedsAndRfm and
RfmtoLeds together but i could not due to the Tinyviz
simulator crash..

Thank you






___ 
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet 
! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos 
expériences. 
http://fr.answers.yahoo.com 

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Tinyviz Simulations

2006-09-22 Thread Firat TARAKTAS
Correct me if i am wrong, but as far as i know, tinyviz simulates only one 
application at a time. So you can not run CntToLedsAndRfm and RfmToLeds at 
the same time.
If you want to look at another simulation environment that runs more than 
one application at the same time, visit http://nesct.sourceforge.net


Firat Taraktas

- Original Message - 
From: walid hamdi [EMAIL PROTECTED]

To: tinyos-help@Millennium.Berkeley.EDU
Sent: Friday, September 22, 2006 10:15 AM
Subject: [Tinyos-help] Tinyviz Simulations



Can anybody tell me please if there is a method to run
simulation of different sensors on the same pc (if
there is one), because i still don´t have my Hardware.

I tried yesterday to simulate CntToLedsAndRfm and
RfmtoLeds together but i could not due to the Tinyviz
simulator crash..

Thank you






___
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le 
sujet !
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et 
vos expériences.

http://fr.answers.yahoo.com

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help 


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Tinyviz error?

2006-09-22 Thread ricardo tiago

Sometimes when i run tinyviz i get this exception:

 java.lang.ArrayIndexOutOfBoundsException: 500 = 500

I have both IBM SDK 1.42 and 1.5. This happens in both SDK's.

Does anyone  know why this happens?

Ricardo


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] tinyviz help

2006-09-13 Thread Nikolas

Yes I too had that problem and have fixed it by editing the makefile
(I added the missing class files to the jar file to fix this problem).

Why hasn't such a trivial fix already been comitted by one of the
developpers to the CVS repository?

On 13/09/06, Sumit Gupta [EMAIL PROTECTED] wrote:

Hi,

 I am trying to learn to use tinyviz but having a small problem. It doesn't
show me any simulated output and giving me some exceptions. I am not
familiar with this tool and even gone through the tutorial available on
www.tinyos.net but I am not getting desirable output on tinyviz windows. I
have also checked the classes (eg. TOSMsg) which it says is not available
but they are at the right location.


 [EMAIL PROTECTED] /opt/tinyos-1.x/apps/CntToLedsAndRfm
 $ ../../tools/java/net/tinyos/sim/tinyviz -run
build/pc/main.exe 12
 java -Dpython.cachedir=/tmp/jython.cache -DDBG= -DSIMDBG=
-jar C:/PROGRA~1/UCB/c
ygwin/opt/tinyos-1.x/tools/java/net/tinyos/sim/simdriver.jar
-gui -run build/pc/
 main.exe 12
 Starting SimDriver...
 Simulation random seed 229700344
 Initializing simulator objects...
 Could not find a platform specific version of TOSMsg
 java.lang.ClassNotFoundException:
net.tinyos.message.avrmote.TOSMsg
 java.lang.ClassNotFoundException:
net.tinyos.message.avrmote.TOSMsg
 at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
 at
java.security.AccessController.doPrivileged(Native Method)
 at
java.net.URLClassLoader.findClass(URLClassLoader.java:186)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
 at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
 at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:140)
 at
net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.ja
 va:122)
 at
net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:44
 )
 at net.tinyos.sim.SimCommands.init(SimCommands.java:64)
 at net.tinyos.sim.SimDriver.init(SimDriver.java:244)
 at net.tinyos.sim.SimDriver.main(SimDriver.java:539)
 Loading simulator plugins...
 Creating TinyViz GUI...


 Welcome to Tython. Type 'quit' to exit.
 ESC on a line by itself will pause/resume the simulator.

  AUTORUN: Initializing simulation.
 AUTORUN: Running simulation: build/pc/main.exe -gui -r=lossy
-seed=229700344 -no
 dbgout 12
 AUTORUN: Connecting...
 SimComm: TossimInitEvent received (12 motes)... initializing system.
 SimComm: Pausing system for TossimInitEvent
 SF enabled, 0 clients, 0 packets read, 0 packets written Could not find a
platfo
 rm specific version of TOSMsg
 java.lang.ClassNotFoundException:
net.tinyos.message.avrmote.TOSMsg
 java.lang.ClassNotFoundException:
net.tinyos.message.avrmote.TOSMsg
 at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
 at
java.security.AccessController.doPrivileged(Native Method)
 at
java.net.URLClassLoader.findClass(URLClassLoader.java:186)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
 at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
 at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:140)
 at
net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.ja
 va:122)
 at
net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:36
 )
 at
net.tinyos.packet.BrokenPacketizer.init(BrokenPacketizer.java:58)
 at
net.tinyos.sim.packet.TossimSource.init(TossimSource.java:44)
 at
net.tinyos.sim.packet.TossimSerialSource.init(TossimSerialSource.ja
 va:32)
 at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

 at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
 orAccessorImpl.java:39)
 at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
 onstructorAccessorImpl.java:27)
 at
java.lang.reflect.Constructor.newInstance(Constructor.java:274)
 at
net.tinyos.packet.BuildSource.makeTossimSource(BuildSource.java:509)
 at
net.tinyos.packet.BuildSource.makeTossimSerial(BuildSource.java:478)
 at
net.tinyos.packet.BuildSource.makeArgsTossimSerial(BuildSource.java:4
 69)
 at
net.tinyos.packet.BuildSource.makePacketSource(BuildSource.java:151)
 at
net.tinyos.packet.BuildSource.makePhoenix(BuildSource.java:87)
 at net.tinyos.sf.SFListen.run(SFListen.java:83)
 Could not find a platform specific version of TOSMsg
 java.lang.ClassNotFoundException:
net.tinyos.message.avrmote.TOSMsg
 java.lang.ClassNotFoundException:
net.tinyos.message.avrmote.TOSMsg
 at 

Re: [Tinyos-help] tinyviz help

2006-09-13 Thread Philip Levis

On Sep 13, 2006, at 8:04 AM, Nikolas wrote:


Yes I too had that problem and have fixed it by editing the makefile
(I added the missing class files to the jar file to fix this problem).

Why hasn't such a trivial fix already been comitted by one of the
developpers to the CVS repository?


TinyViz hasn't been actively supported for a while now. The principal  
authors (Matt Welsh, Nelson Lee, and Dennis Chi) last touched it four  
years ago. Mike Demmer and I last touched the Tython subsystem three  
years ago. A long time ago there was some talk of fixing all of these  
little nits and packaging up a final TinyOS 1.x release (1.2), but  
that effort never really gained much steam (the 1.2 WG).


If there's a good deal of community interest in such a project (and  
committal of time/effort), it might be a good idea to dust off the  
1.2 WG. My guess is that producing a 1.2 release would be ~80 hours  
of work. Split across a small team, that's not so bad at all.


If anyone is interested in contributing to such an effort, let me  
know. I'll get a sense of the level of resources available and assess  
whether it's feasible.


Phil
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] TinyViz: Trouble Finding Platform Specific Version ofTOSMsg

2006-08-31 Thread Firat TARAKTAS

edit tools/java/net/tinyos/sim/MakeFile
add these three new lines and try again.


  jar cmf net/tinyos/sim/simdriver.manifest \
  net/tinyos/sim/simdriver-tmp.jar \
  net/tinyos/sim/*.class  \
  net/tinyos/sim/event/*.class\
  net/tinyos/sim/lossy/*.class\
  net/tinyos/sim/msg/*.class  \
  net/tinyos/sim/packet/*.class   \
  net/tinyos/sim/plugins/*.class  \
  net/tinyos/sim/script/*.class   \
net/tinyos/sim/script/reflect/*.class   \
net/tinyos/sim/ui   \
net/tinyos/sim/plugins/plugins.list \
net/tinyos/sf/*.class   \
net/tinyos/util/*.class \
net/tinyos/message/*.class   \
net/tinyos/message/avrmote/*.class   \ # ADD 
THESE

LINES
net/tinyos/message/micaz/*.class \  #   ADD 
THESE

LINES
net/tinyos/packet/telos/*.class \  #   ADD 
THESE

LINES
net/tinyos/message/*.class  \
org/apache/oro/text/regex/*.class   \
org/python/compiler/*.class \
org/python/core/*.class \
org/python/modules/*.class  \

FIRAT TARAKTAS



- Original Message - 
From: Tarun Bansal [EMAIL PROTECTED]

To: tinyos-help@Millennium.Berkeley.EDU
Sent: Thursday, August 31, 2006 4:55 PM
Subject: [Tinyos-help] TinyViz: Trouble Finding Platform Specific Version 
ofTOSMsg




I am getting this error on TinyViz:

Could not find a platform specific version of TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
   at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:140)
   at 
net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.java:122)
   at 
net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:62)
   at 
net.tinyos.sim.event.RadioMsgSentEvent.init(RadioMsgSentEvent.java:58)

   at net.tinyos.sim.SimProtocol.readEvent(SimProtocol.java:102)
   at net.tinyos.sim.SimComm$PacketThread.run(SimComm.java:363)

Any suggestions??


Tarun
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help 


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] tinyviz in tinyos 2.x?

2006-08-30 Thread sam ribas

I can't find TinyViz  in the source  code of tinyos 2.x...
it's possible to import tinyviz from tinyos 1.x or it's simply not yet
developed?
(what can I use in this case?)

Thanks for the answer, bye.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] tinyViz running problems

2006-08-22 Thread MINO GB
Check java path in environment variables. If you install many version of java, the path in Environment may be not consistent.Go to opt\tinyos-1.x\tools\java folder runmake cleanmake
On 8/16/06, Firat TARAKTAS 
[EMAIL PROTECTED] wrote:






Yes, i am using eclipse with TinyOs 
plug-in.First, we thougt that eclipse 
requires java 1.5 and tinyos requires 1.4. We uninstalled 1.5 and install 
eclipse and tinyos plugin. But it didn't run the example applications. When i 
deal more with it, i faced a getenv.dll error. Then toanother computer, we 
installed tinyos directly from tinyos.net, but it didn't compile the files in 
tools/java/net/tinyos/sim directory. 
I almost searched every help-mail. But they did not 
get rid of my problem.




___Fırat 
TARAKTAŞ 





GENETLAB BİLGİ TEKNOLOJİLERİ A.Ş. 


Kayışdağı Caddesi Kar Plaza D Blok Kat:3 34752İçerenköy / 
İstanbul 


Tel: +90 (216) 573 00 85 | 354 
Fax:+90 (216) 469 85 07 




[EMAIL PROTECTED]www.genetlab.com

 





- Original Message - 

  

From: 
  MINO GB 
  To: 

Firat TARAKTAS 
  Cc: 

Munaretto, Daniel ; tinyos-help@millennium.berkeley.edu
 
  
  Sent: Wednesday, August 16, 2006 1:45 
  PM
  Subject: Re: [Tinyos-help] tinyViz 
  running problems
  Did you use TinyOsCygwinEnv in 
  Eclipse? I installed tinyos directly from tinyos.net and used TinyOS Wrapper in Eclipse. 
  TinyViz will run well. I tried run tinyViz with TinyOsCygwinEnv_1.0.0 and it cannot run.
  On 8/16/06, Firat 
  TARAKTAS [EMAIL PROTECTED] 
  wrote:
  


When i compile in sim directory, i've got 
errors:

[EMAIL PROTECTED] 
/opt/tinyos-1.x/tools/java/net/tinyos/sim$ make... 
/opt/tinyos-1.x/tools/java/net/tinyos/sim(cd msg; make)make[1]: 
Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'javac 
*.javaADCDataReadyEvent.java:9: cannot access 
net.tinyos.message.Messagebad class file: 
c:\eclipse\plugins\TinyOsCygwinEnv_1.0.0\env\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\message\Message.classclass 
file has wrong version 49.0, should be 48.0Please remove or make sure it 
appears in the correct subdirectory of the classpath.public class 
ADCDataReadyEvent extends net.tinyos.message.Message 
{ 
^1 errormake[1]: *** [DebugMsgEvent.class] Error 1make[1]: 
Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'make: 
*** [msgs] Error 2



___Fırat 
TARAKTAŞ 






GENETLAB BİLGİ TEKNOLOJİLERİ 
A.Ş. 

Kayışdağı Caddesi Kar Plaza D Blok Kat:3 34752 
İçerenköy / 
İstanbul 

Tel: +90 (216) 573 00 85 
| 354 
Fax:+90 (216) 469 85 07 





[EMAIL PROTECTED]www.genetlab.com

 




- Original Message - 


  

From: 
  MINO GB 
  To: 
  Munaretto, 
  Daniel 
  Cc: 
  Firat TARAKTAS 
  ; tinyos-help@millennium.berkeley.edu 


  Sent: 
  Wednesday, August 16, 2006 1:03 PM
  Subject: 
  Re: [Tinyos-help] tinyViz running problems
  I didn't install any driver to run tinyviz. I just install 
  tinyos, compile java, and it run. The first time, I still got connection 
  to simulator failed error and I found that my firewall (Zone Alarm) 
  blocked it. When I set my firewall config, tinyviz run well. 
  On 8/16/06, Munaretto, Daniel 

[EMAIL PROTECTED] wrote: 
  i 
think your problem is on the real file name. In the tutorial it's shown 
an old name, for example in my pc i call SimDriver to run tinyviz. Check 
your files, it's the only my own suggestion i can provide for 
you.cheers 
Daniele-Original 
Message-From: 
Firat TARAKTAS [mailto:[EMAIL PROTECTED]]Sent: 
Wed 8/16/2006 11:17 
AMTo: MINO GB 
Cc: tinyos-help@Millennium.Berkeley.EDUSubject: 
Re: [Tinyos-help] tinyViz running 
problemsHi,I 
see the tinyviz GUİ but, it gives connection to simulator failed error 
. Thanks for your 
interest. I am studying on this error for two days. And now i got 
crazy.___Fırat 
TARAKTAŞGENETLAB 
BİLGİ TEKNOLOJİLERİ 
A.Ş.Kayışdağı 
Caddesi Kar Plaza D Blok Kat:3 
34752İçerenköy / 
İstanbulTel: +90 
(216) 573 00 85 | 
354Fax:+90 (216) 469 
85 07 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

 
www.genetlab.com 
http://www.genetlab.com/- 
Original Message 
-From: 
MINO GB mailto:[EMAIL PROTECTED]To: 
Firat TARAKTAS mailto: [EMAIL PROTECTED]Cc: 
tinyos-help@millennium.berkeley.eduSent: 
Wednesday, August 16, 2006 10:01 AM 
Subject: 
Re: [Tinyos-help] tinyViz running 
problemsWhat's

RE: [Tinyos-help] TinyViz or TOSSIM

2006-08-17 Thread Diego Bartolomé Arquillo



TinyViz provides a GUI (Graphical User Interface) for 
visualizing the TOSSIM simulations. TinyViz has to work with TOSSIM. It is not a 
different simulator. The lesson 5 of the TinyOS tutorial (http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson5.html) 
explains you how to use TOSSIM and TinyViz.
BR,
Diego


De: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] En nombre de bhushan 
bhattEnviado el: jueves, 17 de agosto de 2006 3:10Para: 
tinyos-help@Millennium.Berkeley.EDUAsunto: [Tinyos-help] TinyViz or 
TOSSIM
Hello everyone, I am working on an 
application for wireless ad-hoc networking with Tmotes. I want to verify my 
application results with simulation results. I tried working with TOSSIM but for 
some reason i cannot get it working. I plan to work with TinyViz now. Can anyone 
tell me the difference ?? And is there any manual or tutorial on how to work 
with TinyViz ??Thanks,Bhushan


Stay in the know. Pulse on the new Yahoo.com. Check it 
out. 
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] tinyViz running problems

2006-08-16 Thread Firat TARAKTAS




Hi all,
I have a similar problem announcedby Pagliari 
on 10 March. The last message indicates that there is a solution. Can you inform 
me about it please?


rom pagliari at dibe.unige.it Fri Mar 10 
02:10:54 2006From: pagliari at dibe.unige.it (Roberto)Date: Fri Mar 10 
02:11:22 2006Subject: [Tinyos-help] tinyViz running problemsMessage-ID: 
[EMAIL PROTECTED]

I'm starting now with tinyOS and tinyViz tools. I 
tried to run tinyViz,as described in tinyos.net tutorial

http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson5.html

the windows of tinyViz is open after typingexport 
DBG=usr1tinyviz -run build/pc/main.exe 30

in apps/TestTinyViz. But the simulation does not run. In I push on 
theplay button, selecting some plugins before, does not happens 
anytthing.What is the reason ?rom pagliari at dibe.unige.it Fri 
Mar 10 02:48:56 2006From: pagliari at dibe.unige.it (Roberto)Date: Fri 
Mar 10 02:49:17 2006Subject: [Tinyos-help] tinyViz running 
problemsMessage-ID: [EMAIL PROTECTED]

In this way tinyViz runs correctly! Thank you very much!!



___Fırat 
TARAKTAŞ 





GENETLAB BİLGİ TEKNOLOJİLERİ A.Ş. 


Kayışdağı Caddesi Kar Plaza D Blok Kat:3 34752İçerenköy / 
İstanbul 


Tel: +90 (216) 573 00 85 | 354 
Fax:+90 (216) 469 85 07 


[EMAIL PROTECTED]www.genetlab.com 






___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] tinyViz running problems

2006-08-16 Thread MINO GB
What's error messages which you get in cygwin windows? I am using tinyViz Tool and it runs very well.On 8/15/06, Firat TARAKTAS 
[EMAIL PROTECTED] wrote:







Hi all,
I have a similar problem announcedby Pagliari 
on 10 March. The last message indicates that there is a solution. Can you inform 
me about it please?


rom pagliari at dibe.unige.it Fri Mar 10 
02:10:54 2006From: pagliari at dibe.unige.it (Roberto)Date: Fri Mar 10 
02:11:22 2006Subject: [Tinyos-help] tinyViz running problemsMessage-ID: 
[EMAIL PROTECTED]

I'm starting now with tinyOS and tinyViz tools. I 
tried to run tinyViz,as described in tinyos.net tutorial

http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson5.html


the windows of tinyViz is open after typingexport 
DBG=usr1tinyviz -run build/pc/main.exe 30

in apps/TestTinyViz. But the simulation does not run. In I push on 
theplay button, selecting some plugins before, does not happens 
anytthing.What is the reason ?rom pagliari at dibe.unige.it Fri 
Mar 10 02:48:56 2006From: pagliari at dibe.unige.it (Roberto)Date: Fri 
Mar 10 02:49:17 2006Subject: [Tinyos-help] tinyViz running 
problemsMessage-ID: [EMAIL PROTECTED]

In this way tinyViz runs correctly! Thank you very much!!



___Fırat 
TARAKTAŞ 





GENETLAB BİLGİ TEKNOLOJİLERİ A.Ş. 


Kayışdağı Caddesi Kar Plaza D Blok Kat:3 34752İçerenköy / 
İstanbul 


Tel: +90 (216) 573 00 85 | 354 
Fax:+90 (216) 469 85 07 



[EMAIL PROTECTED]www.genetlab.com 







___Tinyos-help mailing listTinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] tinyViz running problems

2006-08-16 Thread Firat TARAKTAS



Hi,
I see the tinyviz GUİ but, it gives "connection to 
simulator failed" error .
Thanks for your interest. I am studying on this 
error for two days. And now i got crazy.


___Fırat 
TARAKTAŞ 





GENETLAB BİLGİ TEKNOLOJİLERİ A.Ş. 


Kayışdağı Caddesi Kar Plaza D Blok Kat:3 34752İçerenköy / 
İstanbul 


Tel: +90 (216) 573 00 85 | 354 
Fax:+90 (216) 469 85 07 


[EMAIL PROTECTED]www.genetlab.com 





- Original Message - 

  From: 
  MINO GB 
  To: Firat TARAKTAS 
  Cc: tinyos-help@millennium.berkeley.edu 
  
  Sent: Wednesday, August 16, 2006 10:01 
  AM
  Subject: Re: [Tinyos-help] tinyViz 
  running problems
  What's error messages which you get in cygwin windows? I am 
  using tinyViz Tool and it runs very well.
  On 8/15/06, Firat 
  TARAKTAS  
  [EMAIL PROTECTED] wrote:
  



Hi 
all,
I have a similar 
problem announcedby Pagliari on 10 March. The last message indicates 
that there is a solution. Can you inform me about it 
please?


rom pagliari at dibe.unige.it Fri Mar 10 
02:10:54 2006From: pagliari at dibe.unige.it 
(Roberto)Date: Fri Mar 10 02:11:22 2006Subject: [Tinyos-help] 
    tinyViz running problemsMessage-ID: [EMAIL PROTECTED]

I'm starting now with 
tinyOS and tinyViz tools. I tried to run tinyViz,as described in tinyos.net 
tutorial

http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson5.html 


the windows of 
tinyViz is open after typingexport DBG=usr1tinyviz -run 
build/pc/main.exe 30

in apps/TestTinyViz. 
But the simulation does not run. In I push on theplay button, selecting 
some plugins before, does not happens anytthing.What is the reason 
?rom pagliari at dibe.unige.it Fri Mar 10 
02:48:56 2006From: pagliari at dibe.unige.it 
(Roberto)Date: Fri Mar 10 02:49:17 2006Subject: [Tinyos-help] 
    tinyViz running problemsMessage-ID: [EMAIL PROTECTED]

In this way tinyViz 
runs correctly! Thank you very much!!


___Fırat 
TARAKTAŞ 



GENETLAB BİLGİ TEKNOLOJİLERİ 
A.Ş. 

Kayışdağı Caddesi Kar Plaza D Blok Kat:3 
34752İçerenköy / İstanbul 

Tel: +90 (216) 573 00 85 | 
354 Fax:+90 (216) 469 85 07 

[EMAIL PROTECTED]www.genetlab.com 



___Tinyos-help 
mailing listTinyos-help@Millennium.Berkeley.EDU 
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help 

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] tinyViz running problems

2006-08-16 Thread MINO GB
Did you use TinyOsCygwinEnv in
Eclipse? I installed tinyos directly from tinyos.net and used TinyOS
Wrapper in Eclipse. TinyViz will run well. I tried run tinyViz with TinyOsCygwinEnv_1.0.0 and it cannot run.On 8/16/06, 
Firat TARAKTAS [EMAIL PROTECTED] wrote:







When i compile in sim directory, i've got 
errors:

[EMAIL PROTECTED] 
/opt/tinyos-1.x/tools/java/net/tinyos/sim$ make... 
/opt/tinyos-1.x/tools/java/net/tinyos/sim(cd msg; make)make[1]: Entering 
directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'javac 
*.javaADCDataReadyEvent.java:9: cannot access 
net.tinyos.message.Messagebad class file: 
c:\eclipse\plugins\TinyOsCygwinEnv_1.0.0\env\cygwin\opt\tinyos-1.x\tools\java\net\tinyos\message\Message.classclass 
file has wrong version 49.0, should be 48.0Please remove or make sure it 
appears in the correct subdirectory of the classpath.public class 
ADCDataReadyEvent extends net.tinyos.message.Message 
{ 
^1 errormake[1]: *** [DebugMsgEvent.class] Error 1make[1]: Leaving 
directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'make: *** [msgs] 
Error 2




___Fırat 
TARAKTAŞ 






GENETLAB BİLGİ TEKNOLOJİLERİ A.Ş. 


Kayışdağı Caddesi Kar Plaza D Blok Kat:3 34752
İçerenköy / 
İstanbul 


Tel: +90 (216) 573 00 85 
| 354 
Fax:+90 (216) 469 85 07 



[EMAIL PROTECTED]www.genetlab.com
 





- Original Message - 

  
From: 
  MINO GB 
  To: 
Munaretto, Daniel 
  Cc: 
Firat TARAKTAS ; tinyos-help@millennium.berkeley.edu
 
  
  Sent: Wednesday, August 16, 2006 1:03 
  PM
  Subject: Re: [Tinyos-help] tinyViz 
  running problems
  I didn't install any driver to run tinyviz. I just install 
  tinyos, compile java, and it run. The first time, I still got connection to 
  simulator failed error and I found that my firewall (Zone Alarm) blocked it. 
  When I set my firewall config, tinyviz run well. 
  On 8/16/06, Munaretto, 
  Daniel [EMAIL PROTECTED] 
  wrote:
  i 
think your problem is on the real file name. In the tutorial it's shown an 
old name, for example in my pc i call SimDriver to run tinyviz. Check your 
files, it's the only my own suggestion i can provide for you.cheers 
Daniele-Original 
Message-From: Firat 
TARAKTAS [mailto:[EMAIL PROTECTED]]Sent: 
Wed 8/16/2006 11:17 
AMTo: MINO GB 
Cc: tinyos-help@Millennium.Berkeley.EDUSubject: 
Re: [Tinyos-help] tinyViz running 
problemsHi,I 
see the tinyviz GUİ but, it gives connection to simulator failed error . 
Thanks for your 
interest. I am studying on this error for two days. And now i got 
crazy.___Fırat 
TARAKTAŞGENETLAB BİLGİ 
TEKNOLOJİLERİ 
A.Ş.Kayışdağı Caddesi 
Kar Plaza D Blok Kat:3 
34752İçerenköy / 
İstanbulTel: +90 (216) 
573 00 85 | 354Fax:+90 
(216) 469 85 07 [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]
www.genetlab.com 
http://www.genetlab.com/- 
Original Message 
-From: 
MINO GB mailto:[EMAIL PROTECTED]To: 
Firat TARAKTAS mailto: [EMAIL PROTECTED]Cc: 
tinyos-help@millennium.berkeley.eduSent: 
Wednesday, August 16, 2006 10:01 AM 
Subject: 
Re: [Tinyos-help] tinyViz running 
problemsWhat's 
error messages which you get in cygwin windows? I am using tinyViz Tool and 
it runs very 
well.On 
8/15/06, Firat TARAKTAS  [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] 
 
wrote:Hi 
all, 
I 
have a similar problem announced by Pagliari on 10 March. The last message 
indicates that there is a solution. Can you inform me about it 
please?rom 
pagliari at dibe.unige.itFri 
Mar 10 02:10:54 
2006From: 
pagliari at dibe.unige.it 
(Roberto)Date: 
Fri Mar 10 02:11:22 2006 
Subject: 
[Tinyos-help] tinyViz running 
problemsMessage-ID: 
[EMAIL PROTECTED] 
http://  
I'm 
starting now with tinyOS and tinyViz tools. I tried to run 
tinyViz,as 
described in tinyos.net 
tutorial 
http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson5.html 
http://the 
windows of tinyViz is open after typing 
export 
DBG=usr1tinyviz 
-run build/pc/main.exe 
30in 
apps/TestTinyViz. But the simulation does not run. In I push on 
theplay 
button, selecting some plugins before, does not happens anytthing. 
What 
is the reason 
?rom 
pagliari at dibe.unige.itFri 
Mar 10 02:48:56 
2006From: 
pagliari at dibe.unige.it 
(Roberto)Date: 
Fri Mar 10 02:49:17 
2006Subject: 
[Tinyos-help] tinyViz running 
problemsMessage-ID: 
 
[EMAIL PROTECTED] http:// 
In 
this way tinyViz runs correctly! Thank you very 
much!!___ 
Fırat 
TARAKTAŞGENETLAB 
BİLGİ TEKNOLOJİLERİ 
A.Ş.Kayışdağı 
Caddesi Kar Plaza D Blok Kat:3 
34752İçerenköy 
/ İstanbul 
Tel

Re: {Spam?} Re: [Tinyos-help] tinyViz running problems

2006-08-16 Thread Simon Willis
I am running the Eclipse plugin with the TinyOS core. It was very easy 
to install this way. I installed java 1.5 to run Eclipse and haven't had 
any problems with tinyos. Toscheck reports that this is the wrong 
version of Java, but everything seems to work OK.


Firat TARAKTAS wrote:
Yes, i am using eclipse with TinyOs plug-in.  First, we thougt that 
eclipse requires java 1.5 and tinyos requires 1.4. We uninstalled 1.5 
and install eclipse and tinyos plugin. But it didn't run the example 
applications. When i deal more with it, i faced a getenv.dll error. 
Then to another computer, we installed tinyos directly from 
tinyos.net, but it didn't compile the files in 
tools/java/net/tinyos/sim directory.

I almost searched every help-mail. But they did not get rid of my problem.
 
 
___

* Fırat TARAKTAŞ * * *
*GENETLAB BİLGİ TEKNOLOJİLERİ A.Ş.*
Kayışdağı Caddesi Kar Plaza D Blok Kat:3 34752
İçerenköy / İstanbul
Tel: +90 (216) 573 00 85 | 354
Fax:+90 (216) 469 85 07
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
*www.genetlab.com
*   * * http://www.genetlab.com/
 
 
- Original Message -


*From:* MINO GB mailto:[EMAIL PROTECTED]
*To:* Firat TARAKTAS mailto:[EMAIL PROTECTED]
*Cc:* Munaretto, Daniel mailto:[EMAIL PROTECTED] ;
tinyos-help@millennium.berkeley.edu
mailto:tinyos-help@millennium.berkeley.edu
*Sent:* Wednesday, August 16, 2006 1:45 PM
*Subject:* Re: [Tinyos-help] tinyViz running problems

Did you use TinyOsCygwinEnv in Eclipse? I installed tinyos
directly from tinyos.net http://tinyos.net and used TinyOS
Wrapper in Eclipse. TinyViz will run well. I tried run tinyViz
with TinyOsCygwinEnv_1.0.0 and it cannot run.

On 8/16/06, *Firat TARAKTAS* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:

When i compile in sim directory, i've got errors:
 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

/opt/tinyos-1.x/tools/java/net/tinyos/sim
$ make
... /opt/tinyos-1.x/tools/java/net/tinyos/sim
(cd msg; make)
make[1]: Entering directory
`/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'
javac *.java
ADCDataReadyEvent.java:9: cannot access net.tinyos.message.Message
bad class file:
c:\eclipse\plugins\TinyOsCygwinEnv_1.0.0\env\cygwin\opt\tinyos-1
.x\tools\java\net\tinyos\message\Message.class
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct
subdirectory of the classpa
th.
public class ADCDataReadyEvent extends
net.tinyos.message.Message {
 ^
1 error
make[1]: *** [DebugMsgEvent.class] Error 1
make[1]: Leaving directory
`/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'
make: *** [msgs] Error 2
 
 
___

* Fırat TARAKTAŞ * * *
*GENETLAB BİLGİ TEKNOLOJİLERİ A.Ş.*
Kayışdağı Caddesi Kar Plaza D Blok Kat:3 34752
İçerenköy / İstanbul
Tel: +90 (216) 573 00 85 | 354
Fax:+90 (216) 469 85 07
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
*www.genetlab.com
*   ** http://www.genetlab.com/
 
 
- Original Message -


*From:* MINO GB mailto:[EMAIL PROTECTED]
*To:* Munaretto, Daniel mailto:[EMAIL PROTECTED]
*Cc:* Firat TARAKTAS mailto:[EMAIL PROTECTED]
; tinyos-help@millennium.berkeley.edu
mailto:tinyos-help@millennium.berkeley.edu
*Sent:* Wednesday, August 16, 2006 1:03 PM
*Subject:* Re: [Tinyos-help] tinyViz running problems

I didn't install any driver to run tinyviz. I just install
tinyos, compile java, and it run. The first time, I still
got connection to simulator failed error and I found
that my firewall (Zone Alarm) blocked it. When I set my
firewall config, tinyviz run well.

On 8/16/06, *Munaretto, Daniel*
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:

i think your problem is on the real file name. In the
tutorial it's shown an old name, for example in my pc
i call SimDriver to run tinyviz. Check your files,
it's the only my own suggestion i can provide for you.
cheers
Daniele

-Original Message-
From: Firat TARAKTAS
[mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]]
Sent: Wed 8/16/2006 11:17 AM
To: MINO GB
Cc: tinyos-help@Millennium.Berkeley.EDU
mailto:tinyos-help@Millennium.Berkeley.EDU

Re: [Tinyos-help] tinyViz running problems

2006-08-16 Thread jryans
There is a text file at tools/java/net/tinyos/util/Env.INSTALL that explains how
to install getenv.dll, which should help with that issue.  For TinyOS 1.x, you
do need to use Java 1.4, but Eclipse works just fine with that too.  As far as
your compilation problems, you could try recompiling all the Java code:

cd /opt/tinyos-1.x/tools/java
make clean
make

- Ryan Stinnett

 Date: Wed, 16 Aug 2006 14:06:29 +0300
 From: Firat TARAKTAS [EMAIL PROTECTED]
 Subject: Re: [Tinyos-help] tinyViz running problems
 To: MINO GB [EMAIL PROTECTED]
 Cc: tinyos-help@millennium.berkeley.edu
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=iso-8859-9

 Yes, i am using eclipse with TinyOs plug-in. First, we thougt that eclipse
 requires java 1.5 and tinyos requires 1.4. We uninstalled 1.5 and install
 eclipse and tinyos plugin. But it didn't run the example applications. When i
 deal more with it, i faced a getenv.dll error. Then to another computer, we
 installed tinyos directly from tinyos.net, but it didn't compile the files in
 tools/java/net/tinyos/sim directory.
 I almost searched every help-mail. But they did not get rid of my problem.



 ___
 Fýrat TARAKTAÞ
 GENETLAB BÝLGÝ TEKNOLOJÝLERÝ A.Þ.
 Kayýþdaðý Caddesi Kar Plaza D Blok Kat:3 34752
 Ýçerenköy / Ýstanbul

 Tel: +90 (216) 573 00 85 | 354
 Fax:+90 (216) 469 85 07

 [EMAIL PROTECTED]
 www.genetlab.com






 - Original Message -
   From: MINO GB
   To: Firat TARAKTAS
   Cc: Munaretto, Daniel ; tinyos-help@millennium.berkeley.edu
   Sent: Wednesday, August 16, 2006 1:45 PM
   Subject: Re: [Tinyos-help] tinyViz running problems


   Did you use TinyOsCygwinEnv in Eclipse? I installed tinyos directly from
 tinyos.net and used TinyOS Wrapper in Eclipse. TinyViz will run well. I tried
 run tinyViz with TinyOsCygwinEnv_1.0.0 and it cannot run.


   On 8/16/06, Firat TARAKTAS [EMAIL PROTECTED] wrote:
 When i compile in sim directory, i've got errors:

 [EMAIL PROTECTED] /opt/tinyos-1.x/tools/java/net/tinyos/sim
 $ make
 ... /opt/tinyos-1.x/tools/java/net/tinyos/sim
 (cd msg; make)
 make[1]: Entering directory
 `/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'
 javac *.java
 ADCDataReadyEvent.java:9: cannot access net.tinyos.message.Message
 bad class file:
 c:\eclipse\plugins\TinyOsCygwinEnv_1.0.0\env\cygwin\opt\tinyos-1
 .x\tools\java\net\tinyos\message\Message.class
 class file has wrong version 49.0, should be 48.0
 Please remove or make sure it appears in the correct subdirectory of the
 classpa
 th.
 public class ADCDataReadyEvent extends net.tinyos.message.Message {
  ^
 1 error
 make[1]: *** [DebugMsgEvent.class] Error 1
 make[1]: Leaving directory
 `/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'
 make: *** [msgs] Error 2
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] TinyViz or TOSSIM

2006-08-16 Thread bhushan bhatt
Hello everyone, I am working on an application for wireless ad-hoc networking with Tmotes. I want to verify my application results with simulation results. I tried working with TOSSIM but for some reason i cannot get it working. I plan to work with TinyViz now. Can anyone tell me the difference ?? And is there any manual or tutorial on how to work with TinyViz ??Thanks,Bhushan 
		Stay in the know. Pulse on the new Yahoo.com.  Check it out. 
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] tinyviz plugins user manuals

2006-07-30 Thread Nilay Chheda
Hi,I am having problems using the built-in plugins for tinyiz. can somebody provide user manuals for them.if not all, if somebody could provide guidance for setting distance between the nodes and setting the radio strength of the motes.
Thanks,Nilay
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TinyViz ClassNotFoundException

2006-07-20 Thread ded1717
The output says toscheck completed without errors.
Tossim simulator is running, I can compile and run Blink without errors. The 
problem is just TinyViz..  =\

OUTPUT OF TOSCHECK:

[EMAIL PROTECTED] tinyos-1.x]# toscheck
Path:
/usr/kerberos/sbin
/opt/tinyos-1.x/tools/java/net/tinyos/sim
/usr/kerberos/bin
/opt/tinyos-1.x/tools/java/net/tinyos/sim
/usr/local/sbin
/usr/local/bin
/sbin
/bin
/usr/sbin
/usr/bin
/usr/X11R6/bin
/opt/tinyos-1.x/tools/java/net/tinyos/sim
/root/bin
/opt/tinyos-1.x/tools/java/net/tinyos/sim

Classpath:
/usr/share/java/comm.jar
/usr/lib/java/RXTXcomm.jar
/opt/tinyos-1.x/tools/java
.



avr-gcc:
/usr/local/bin/avr-gcc
Version: avr-gcc (GCC) 3.3-tinyos


perl:
/usr/bin/perl
Version: v5.8.6 built for i386-linux-thread-multi

flex:
/usr/bin/flex

bison:
/usr/bin/bison

java:
/usr/bin/java
java version 1.4.2

javax.comm:
javax.comm ok

uisp:
/usr/local/bin/uisp
uisp version 20030820tinyos

graphviz:
/usr/bin/dot
dot version 1.10 (Thu Jul 10 02:30:40 EDT 2003)

avr-as:
/usr/local/bin/avr-as
GNU assembler 2.13.2.1

avarice:
/usr/local/bin/avarice
AVaRICE version 2.0.20030825cvs, Aug 26 2003 03:14:15

avr-gdb:
/usr/local/bin/avr-gdb
GNU gdb cvs-pre6.0-tinyos


toscheck completed without error.


-- Início da mensagem original ---

  De: [EMAIL PROTECTED]
Para: ded1717 [EMAIL PROTECTED]
  Cc: 
Data: Wed, 19 Jul 2006 21:32:37 -0400
 Assunto: Re: [Tinyos-help] TinyViz ClassNotFoundException

 What is the output when you type toscheck?
 
 On 7/18/06, ded1717 [EMAIL PROTECTED] wrote:
 
  First, thank you the reply!
 
  When I only type the command tinyviz, the same error occurs.
 
  my classpath:
  /usr/share/java/comm.jar:/usr/lib/java/RXTXcomm.jar:/opt/tinyos-1.x
  /tools/java:.
  my path:
 
  /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/opt/tinyos-
  1.x/tools/java/net/tinyos/sim
 
  I'm using tinyos version 1.1.0-1
 
 
  -- Início da mensagem original ---
 
De: [EMAIL PROTECTED]
  Para: ded1717 [EMAIL PROTECTED]
Cc:
  Data: Mon, 17 Jul 2006 21:37:14 -0400
  Assunto: Re: [Tinyos-help] TinyViz ClassNotFoundException
 
   Have you set the classpath?
  
   CM
 
  -- Início da mensagem original ---
 
De: zhiqiang zhang [EMAIL PROTECTED]
  Para: ded1717 [EMAIL PROTECTED]
Cc:
  Data: Tue, 18 Jul 2006 09:04:18 +0800
  Assunto: Re: [Tinyos-help] TinyViz ClassNotFoundException
 
   how about when you only type the command tinyviz?
  
  
  
  
   On 18/07/06, ded1717 [EMAIL PROTECTED] wrote:
   
Hi,
I'm trying to run tinyViz with Blink application, but got a Exception
  in
thread main java.lang.ClassNotFoundException.
   
How can I fix it? I'm on fedora core 4. Below the entire error log.
Thanks in advance
Denise
   
[EMAIL PROTECTED] Blink]# tinyviz -run build/pc/main.exe 30
Exception in thread main java.lang.ClassNotFoundException:
javax.swing.plaf.me tal.MetalCheckBoxIcon not found in
gnu.gcj.runtime.SystemClassLoader{urls=[file: /bin/tinyviz.jar],
  parent=
gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=n ull}}
  at java.net.URLClassLoader.findClass(java.lang.String)
(/usr/lib/libgcj.so.6. 0.0)
  at java.lang.ClassLoader.loadClass(java.lang.String, boolean)
(/usr/lib/libgc j.so.6.0.0)
  at java.lang.ClassLoader.loadClass(java.lang.String)
(/usr/lib/libgcj.so.6.0. 0)
  at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader,
java.lang.Strin g, byte[], int, int, java.security.ProtectionDomain)
(/usr/lib/libgcj.so.6.0.0)
  at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int,
  int,
java .security.ProtectionDomain) (/usr/lib/libgcj.so.6.0.0)
  at java.security.SecureClassLoader.defineClass(java.lang.String,
  byte[],
int,  int, java.security.CodeSource) (/usr/lib/libgcj.so.6.0.0)
  at java.net.URLClassLoader.findClass(java.lang.String)
(/usr/lib/libgcj.so.6. 0.0)
  at java.lang.ClassLoader.loadClass(java.lang.String, boolean)
(/usr/lib/libgc j.so.6.0.0)
  at java.lang.ClassLoader.loadClass(java.lang.String)
(/usr/lib/libgcj.so.6.0. 0)
  at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader,
java.lang.Strin g, byte[], int, int, java.security.ProtectionDomain)
(/usr/lib/libgcj.so.6.0.0)
  at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int,
  int,
java .security.ProtectionDomain) (/usr/lib/libgcj.so.6.0.0)
  at java.security.SecureClassLoader.defineClass(java.lang.String,
  byte[],
int,  int, java.security.CodeSource) (/usr/lib

Re: [Tinyos-help] TinyViz ClassNotFoundException

2006-07-18 Thread ded1717
First, thank you the reply!

When I only type the command tinyviz, the same error occurs.

my classpath:
/usr/share/java/comm.jar:/usr/lib/java/RXTXcomm.jar:/opt/tinyos-1.x/tools/java:.
my path:
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/opt/tinyos-1.x/tools/java/net/tinyos/sim

I'm using tinyos version 1.1.0-1


-- Início da mensagem original ---

  De: [EMAIL PROTECTED]
Para: ded1717 [EMAIL PROTECTED]
  Cc: 
Data: Mon, 17 Jul 2006 21:37:14 -0400
 Assunto: Re: [Tinyos-help] TinyViz ClassNotFoundException

 Have you set the classpath?
 
 CM

-- Início da mensagem original ---

  De: zhiqiang zhang [EMAIL PROTECTED]
Para: ded1717 [EMAIL PROTECTED]
  Cc: 
Data: Tue, 18 Jul 2006 09:04:18 +0800
 Assunto: Re: [Tinyos-help] TinyViz ClassNotFoundException

 how about when you only type the command tinyviz?
 
 
 
 
 On 18/07/06, ded1717 [EMAIL PROTECTED] wrote:
 
  Hi,
  I'm trying to run tinyViz with Blink application, but got a Exception in
  thread main java.lang.ClassNotFoundException.
 
  How can I fix it? I'm on fedora core 4. Below the entire error log.
  Thanks in advance
  Denise
 
  [EMAIL PROTECTED] Blink]# tinyviz -run build/pc/main.exe 30
  Exception in thread main java.lang.ClassNotFoundException:
  javax.swing.plaf.me tal.MetalCheckBoxIcon not found in
  gnu.gcj.runtime.SystemClassLoader{urls=[file: /bin/tinyviz.jar], parent=
  gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=n ull}}
at java.net.URLClassLoader.findClass(java.lang.String)
  (/usr/lib/libgcj.so.6. 0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean)
  (/usr/lib/libgc j.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String)
  (/usr/lib/libgcj.so.6.0. 0)
at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader,
  java.lang.Strin g, byte[], int, int, java.security.ProtectionDomain)
  (/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int,
  java .security.ProtectionDomain) (/usr/lib/libgcj.so.6.0.0)
at java.security.SecureClassLoader.defineClass(java.lang.String, byte[],
  int,  int, java.security.CodeSource) (/usr/lib/libgcj.so.6.0.0)
at java.net.URLClassLoader.findClass(java.lang.String)
  (/usr/lib/libgcj.so.6. 0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean)
  (/usr/lib/libgc j.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String)
  (/usr/lib/libgcj.so.6.0. 0)
at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader,
  java.lang.Strin g, byte[], int, int, java.security.ProtectionDomain)
  (/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int,
  java .security.ProtectionDomain) (/usr/lib/libgcj.so.6.0.0)
at java.security.SecureClassLoader.defineClass(java.lang.String, byte[],
  int,  int, java.security.CodeSource) (/usr/lib/libgcj.so.6.0.0)
at java.net.URLClassLoader.findClass(java.lang.String)
  (/usr/lib/libgcj.so.6. 0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean)
  (/usr/lib/libgc j.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String)
  (/usr/lib/libgcj.so.6.0. 0)
at 
  com.oyoaha.swing.plaf.oyoaha.OyoahaLookAndFeel.initComponentDefaults(javax
  .swing.UIDefaults) (Unknown Source)
at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults()
  (/usr/lib/libgcj.so. 6.0.0)
at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults()
  (/usr/lib/libgcj.so. 6.0.0)
at com.oyoaha.swing.plaf.oyoaha.OyoahaLookAndFeel.getDefaults() (Unknown
  Sour ce)
at javax.swing.UIManager.getDefaults() (/usr/lib/libgcj.so.6.0.0)
at javax.swing.UIManager.getUI(javax.swing.JComponent)
  (/usr/lib/libgcj.so.6. 0.0)
at javax.swing.JPanel.updateUI() (/usr/lib/libgcj.so.6.0.0)
at javax.swing.JPanel.JPanel(java.awt.LayoutManager, boolean)
  (/usr/lib/libgc j.so.6.0.0)
at javax.swing.JPanel.JPanel() (/usr/lib/libgcj.so.6.0.0)
at javax.swing.JRootPane.createGlassPane() (/usr/lib/libgcj.so.6.0.0)
at javax.swing.JRootPane.getGlassPane() (/usr/lib/libgcj.so.6.0.0)
at javax.swing.JRootPane.JRootPane() (/usr/lib/libgcj.so.6.0.0)
at javax.swing.JFrame.createRootPane() (/usr/lib/libgcj.so.6.0.0)
at javax.swing.JFrame.getRootPane() (/usr/lib/libgcj.so.6.0.0)
at javax.swing.JFrame.frameInit() (/usr/lib/libgcj.so.6.0.0)
at javax.swing.JFrame.JFrame(java.lang.String)
  (/usr/lib/libgcj.so.6.0.0)
at net.tinyos.sim.TinyViz.TinyViz(java.lang.String[]) (Unknown Source)
at net.tinyos.sim.TinyViz.main(java.lang.String[]) (Unknown Source)
at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
 
 
 
  ___
  Tinyos-help mailing list
  Tinyos-help@Millennium.Berkeley.EDU
  https://mail.millennium.berkeley.edu/cgi-bin

[Tinyos-help] TinyViz ClassNotFoundException

2006-07-17 Thread ded1717
Hi, 
I'm trying to run tinyViz with Blink application, but got a Exception in 
thread main java.lang.ClassNotFoundException.

How can I fix it? I'm on fedora core 4. Below the entire error log.
Thanks in advance
Denise

[EMAIL PROTECTED] Blink]# tinyviz -run build/pc/main.exe 30
Exception in thread main java.lang.ClassNotFoundException: 
javax.swing.plaf.me tal.MetalCheckBoxIcon not found in 
gnu.gcj.runtime.SystemClassLoader{urls=[file: /bin/tinyviz.jar], 
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=n ull}}
   at java.net.URLClassLoader.findClass(java.lang.String) 
(/usr/lib/libgcj.so.6. 0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String, boolean) 
(/usr/lib/libgc j.so.6.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String) 
(/usr/lib/libgcj.so.6.0. 0)
   at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader, 
java.lang.Strin g, byte[], int, int, java.security.ProtectionDomain) 
(/usr/lib/libgcj.so.6.0.0)
   at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, 
java .security.ProtectionDomain) (/usr/lib/libgcj.so.6.0.0)
   at java.security.SecureClassLoader.defineClass(java.lang.String, byte[], 
int,  int, java.security.CodeSource) (/usr/lib/libgcj.so.6.0.0)
   at java.net.URLClassLoader.findClass(java.lang.String) 
(/usr/lib/libgcj.so.6. 0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String, boolean) 
(/usr/lib/libgc j.so.6.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String) 
(/usr/lib/libgcj.so.6.0. 0)
   at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader, 
java.lang.Strin g, byte[], int, int, java.security.ProtectionDomain) 
(/usr/lib/libgcj.so.6.0.0)
   at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, 
java .security.ProtectionDomain) (/usr/lib/libgcj.so.6.0.0)
   at java.security.SecureClassLoader.defineClass(java.lang.String, byte[], 
int,  int, java.security.CodeSource) (/usr/lib/libgcj.so.6.0.0)
   at java.net.URLClassLoader.findClass(java.lang.String) 
(/usr/lib/libgcj.so.6. 0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String, boolean) 
(/usr/lib/libgc j.so.6.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String) 
(/usr/lib/libgcj.so.6.0. 0)
   at 
com.oyoaha.swing.plaf.oyoaha.OyoahaLookAndFeel.initComponentDefaults(javax 
.swing.UIDefaults) (Unknown Source)
   at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults() 
(/usr/lib/libgcj.so. 6.0.0)
   at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults() 
(/usr/lib/libgcj.so. 6.0.0)
   at com.oyoaha.swing.plaf.oyoaha.OyoahaLookAndFeel.getDefaults() (Unknown 
Sour ce)
   at javax.swing.UIManager.getDefaults() (/usr/lib/libgcj.so.6.0.0)
   at javax.swing.UIManager.getUI(javax.swing.JComponent) 
(/usr/lib/libgcj.so.6. 0.0)
   at javax.swing.JPanel.updateUI() (/usr/lib/libgcj.so.6.0.0)
   at javax.swing.JPanel.JPanel(java.awt.LayoutManager, boolean) 
(/usr/lib/libgc j.so.6.0.0)
   at javax.swing.JPanel.JPanel() (/usr/lib/libgcj.so.6.0.0)
   at javax.swing.JRootPane.createGlassPane() (/usr/lib/libgcj.so.6.0.0)
   at javax.swing.JRootPane.getGlassPane() (/usr/lib/libgcj.so.6.0.0)
   at javax.swing.JRootPane.JRootPane() (/usr/lib/libgcj.so.6.0.0)
   at javax.swing.JFrame.createRootPane() (/usr/lib/libgcj.so.6.0.0)
   at javax.swing.JFrame.getRootPane() (/usr/lib/libgcj.so.6.0.0)
   at javax.swing.JFrame.frameInit() (/usr/lib/libgcj.so.6.0.0)
   at javax.swing.JFrame.JFrame(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
   at net.tinyos.sim.TinyViz.TinyViz(java.lang.String[]) (Unknown Source)
   at net.tinyos.sim.TinyViz.main(java.lang.String[]) (Unknown Source)
   at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
   at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Tinyviz autorun layout

2006-07-15 Thread Jason Hemann
TinyOS helpers,I am trying to script an autorun of tinyviz, and I want to load a layout from file. What is the proper syntax (e.g. layout fileload="layout.mps") for this command, and what is the proper format of a layout file?thanks ever so much,Jason Hemann 
		Do you Yahoo!? Next-gen email? Have it all with the  all-new Yahoo! Mail Beta.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyViz: Trouble Finding Platform Specific Version of TOSMsg

2006-06-23 Thread Hua Yue
Hello, guys. I get the following error when trying to start TinyViz. Does anyone have an idea what might be the cause?
Also the simulation would not run, even after i disable the pause button. (Sim Time stays at 0.0 sec) 

Any help would be greatly appreciated. 
Thanks


AUTORUN: Connecting...SF enabled, 0 clients, 0 packets read, 0 packets written Could not find a platform specific version of TOSMsgjava.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg at java.net.URLClassLoader$1.run(URLClassLoader.java:198) at java.security.AccessController.doPrivileged(Native Method) at 
java.net.URLClassLoader.findClass(URLClassLoader.java:186) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265) at java.lang.ClassLoader.loadClass
(ClassLoader.java:255) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:140) at 
net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.java:122) at net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:36) at net.tinyos.packet.BrokenPacketizer.init(
BrokenPacketizer.java:58) at net.tinyos.sim.packet.TossimSource.init(TossimSource.java:44) at net.tinyos.sim.packet.TossimSerialSource.init(TossimSerialSource.java:32) at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java
:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at net.tinyos.packet.BuildSource.makeTossimSource(BuildSource.java:503) at net.tinyos.packet.BuildSource.makeTossimSerial
(BuildSource.java:472) at net.tinyos.packet.BuildSource.makeArgsTossimSerial(BuildSource.java:463) at net.tinyos.packet.BuildSource.makePacketSource(BuildSource.java:151) at net.tinyos.packet.BuildSource.makePhoenix
(BuildSource.java:87) at net.tinyos.sf.SFListen.run(SFListen.java:84)SimComm: TossimInitEvent received (30 motes)... initializing system.SimComm: Pausing system for TossimInitEventCould not find a platform specific version of TOSMsg
java.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsgjava.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
 at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at 
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) at java.lang.Class.forName0
(Native Method) at java.lang.Class.forName(Class.java:140) at net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.java:118) at net.tinyos.message.MessageFactory.createTOSMsg
(MessageFactory.java:44) at net.tinyos.packet.AbstractSource.open(AbstractSource.java:81) at net.tinyos.packet.PhoenixSource.run(PhoenixSource.java:167)java.lang.NullPointerException at 
net.tinyos.packet.AbstractSource.open(AbstractSource.java:82) at net.tinyos.packet.PhoenixSource.run(PhoenixSource.java:167)AUTORUN: Simulation running.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] TinyViz

2006-06-15 Thread Keyan Mahadevan
Hello,
I generated the locations for sensor nodes using LossyBuilder. The
question I have is whether I would be able to use that as the location
of the sensor nodes. In other words how can I use the .nss file I
generated in my code.
Thanks for the help
Kn
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] TinyViz

2006-06-15 Thread Keyan Mahadevan
Sorry I should have phrased my question better. I have the nss file. How can I use it in my program. Say for example the nss file has the location of node 4 as (2,6). How can I access it programmatically. That is when node 4 broadcasts a message, I want the location (2,6) sent out.
Thanks again for the helpOn 6/15/06, Liu Haibin [EMAIL PROTECTED] wrote:
build/pc/main.exe -rf loss.nssOn 6/16/06, Keyan Mahadevan 
[EMAIL PROTECTED] wrote:

Hello,
I generated the locations for sensor nodes using LossyBuilder. The
question I have is whether I would be able to use that as the location
of the sensor nodes. In other words how can I use the .nss file I
generated in my code.
Thanks for the help
Kn

___Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] [Tinyos Help] TinyViz

2006-06-05 Thread Marcus Phillips
Does anyone know of any replacements for tinyviz?
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] TinyViz problem

2006-05-23 Thread liuyanwen
Dear sir:
 WhenI input the command:tinyviz -run build/pc/main.exe 30 in the directory /opt/tinyos-1.x/apps/TestTinyViz.I get these output information in the following:
 
[EMAIL PROTECTED] /opt/tinyos-1.x/apps/TestTinyViz$ tinyviz -run build/pc/main.exe 30java -Dpython.cachedir=/tmp/jython.cache -DDBG= -DSIMDBG= -jar C:/tinyos/cygwin/opt/tinyos-1.x/tools/java/net/tinyos/sim/simdriver.jar -gui -run build/pc/main.exe 30Starting SimDriver...Simulation random seed 625953024Initializing simulator objects...Could not find a platform specific version of TOSMsgjava.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsgjava.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg at java.net.URLClassLoader$1.run(URLClassLoader.java:198) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:140) at net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.java:122) at net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:44) at net.tinyos.sim.SimCommands.init(SimCommands.java:64) at net.tinyos.sim.SimDriver.init(SimDriver.java:244) at net.tinyos.sim.SimDriver.main(SimDriver.java:539)Loading simulator plugins...Creating TinyViz GUI...SF enabled, 0 clients, 0 packets read, 0 packets written Could not find a platform specific version of TOSMsgjava.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsgjava.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg at java.net.URLClassLoader$1.run(URLClassLoader.java:198) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:140) at net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.java:122) at net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:36) at net.tinyos.packet.BrokenPacketizer.init(BrokenPacketizer.java:58) at net.tinyos.sim.packet.TossimSource.init(TossimSource.java:44) at net.tinyos.sim.packet.TossimSerialSource.init(TossimSerialSource.java:32) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at net.tinyos.packet.BuildSource.makeTossimSource(BuildSource.java:503) at net.tinyos.packet.BuildSource.makeTossimSerial(BuildSource.java:472) at net.tinyos.packet.BuildSource.makeArgsTossimSerial(BuildSource.java:463) at net.tinyos.packet.BuildSource.makePacketSource(BuildSource.java:151) at net.tinyos.packet.BuildSource.makePhoenix(BuildSource.java:87) at net.tinyos.sf.SFListen.run(SFListen.java:84)SimComm: TossimInitEvent received (30 motes)... initializing system.SimComm: Pausing system for TossimInitEventCould not find a platform specific version of TOSMsgjava.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsgjava.lang.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsg at java.net.URLClassLoader$1.run(URLClassLoader.java:198) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:140) at net.tinyos.message.MessageFactory.instantiateTOSMsg(MessageFactory.java:118) at net.tinyos.message.MessageFactory.createTOSMsg(MessageFactory.java:44) at net.tinyos.packet.AbstractSource.open(AbstractSource.java:81) at net.tinyos.packet.PhoenixSource.run(PhoenixSource.java:167)java.lang.NullPointerException at net.tinyos.packet.AbstractSource.open(AbstractSource.java:82) at net.tinyos.packet.PhoenixSource.run(PhoenixSource.java:167)DRIVER: Can't use AutoRun when SimComm already connected
Welcome to Tython. Type 'quit' to exit.ESC on a line by itself will pause/resume the simulator.
(check for stale main.exe processes)



 my tinyos version is 1.1.7.I remenber that I haven't any problem in the version 1.1.0.But 
when I updata my tinyos, 

[Tinyos-help] TinyViz make errors

2006-04-14 Thread Patrick O'Callaghan
Hi all,
I am new to tinyOS so be patient.
when i try to make TinyViz I recieve the following error:

[EMAIL PROTECTED] java]# cd /opt/tinyos-1.x/tools/java/net/tinyos/sim/
[EMAIL PROTECTED] sim]# make
... /opt/tinyos-1.x/tools/java/net/tinyos/sim
(cd msg; make)
make[1]: Entering directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/tinyos-1.x/tools/java/net/tinyos/sim/msg'
javac AdditiveSensorModel.java
AdditiveSensorModel.java:44: cannot resolve symbol
symbol : class SensorModel
location: class net.tinyos.sim.AdditiveSensorModel
abstract class AdditiveSensorModel implements SensorModel {

^
AdditiveSensorModel.java:45: cannot resolve symbol
symbol : class SimDebug
location: class net.tinyos.sim.AdditiveSensorModel
 private static SimDebug debug = SimDebug.get(sensor);
 ^
AdditiveSensorModel.java:49: cannot resolve symbol
symbol : class MoteSimObject
location: class net.tinyos.sim.AdditiveSensorModel
 public int getValue(MoteSimObject mote, String field, Set sensableObjects) {
 ^
AdditiveSensorModel.java:45: cannot resolve symbol
symbol : variable SimDebug
location: class net.tinyos.sim.AdditiveSensorModel
 private static SimDebug debug = SimDebug.get(sensor);

^
AdditiveSensorModel.java:54: cannot resolve symbol
symbol : class SimObject
location: class net.tinyos.sim.AdditiveSensorModel
 SimObject obj = (SimObject)it.next();
 ^
AdditiveSensorModel.java:54: cannot resolve symbol
symbol : class SimObject
location: class net.tinyos.sim.AdditiveSensorModel
 SimObject obj = (SimObject)it.next();

^
AdditiveSensorModel.java:55: cannot resolve symbol
symbol : class CoordinateAttribute
location: class net.tinyos.sim.AdditiveSensorModel
 CoordinateAttribute coord = obj.getCoordinate();
 ^
AdditiveSensorModel.java:56: cannot resolve symbol
symbol : class SensorAttribute
location: class net.tinyos.sim.AdditiveSensorModel
 SensorAttribute sensor = (SensorAttribute)obj.getAttribute(field);
 ^
AdditiveSensorModel.java:56: cannot resolve symbol
symbol : class SensorAttribute
location: class net.tinyos.sim.AdditiveSensorModel
 SensorAttribute sensor = (SensorAttribute)obj.getAttribute(field);

^
9 errors
make: *** [AdditiveSensorModel.class] Error 1

Please help!!!
thanks in advance,
Patrick
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Tinyviz :: Class Not Found Exception

2006-04-01 Thread Roberto
did you try to do

export DBG=usr1

./build/pc/main.exe -gui 30 

java net.tinyos.sim.SimDriver -gui
?

roberto


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re:[Tinyos-help] Tinyviz :: Class Not Found Exception

2006-03-31 Thread Pradeepkumar Mani

check out this page for a solution that worked for me:

www.cs.virginia.edu/~jwang/STIL_files/ 
Implementation_documents/nescProgrammingNotes.doc



--
Pradeepkumar Mani
==
Graduate Research Assistant (PhD Candidate)
Room 217, ITTC,
University of Kansas
Lawrence, KS- 66045
Ph: 785-864-7290
=
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] TinyViz not working

2006-03-30 Thread Venkat Manoj
Hello All,I tried testing the TestTinyViz application as in the lesson 5 of the TinyOS tutorial. But when I use the command tinyviz -run build/pc/main.exe 30I get the following error(s)...Could not find a platform specific version of TOSMsg,  java.lan.ClassNotFoundException: net.tinyos.message.avrmote.TOSMsgPlease help...Regards,  Venkat.
		Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo! Messenger with Voice.___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] tinyViz running problems

2006-03-10 Thread Roberto
I'm starting now with tinyOS and tinyViz tools. I tried to run tinyViz,
as described in tinyos.net tutorial

http://www.tinyos.net/tinyos-1.x/doc/tutorial/lesson5.html


the windows of tinyViz is open after typing
export DBG=usr1
tinyviz -run build/pc/main.exe 30

in apps/TestTinyViz. But the simulation does not run. In I push on the
play button, selecting some plugins before, does not happens anytthing.
What is the reason ?


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: Re: [Tinyos-help] tinyViz running problems

2006-03-10 Thread Roberto
In this way tinyViz runs correctly! Thank you very much!!


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] tinyviz and tossim installation

2006-03-09 Thread Roberto Pagliari
I installed tinyOS under Ubunto, and it seems to run correctly. But at
this time I have no idea of how to install tossim and tinyviz for
simulations. Can someone tell me where can I find that files within
tinos-1.x directory?

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] tinyviz

2006-03-08 Thread Roberto
I am not abel to run simulations with tinyviz and TinyOS1.x. The windows
disappear and the only message is
... java.io.IOException...
GoodBye!

cane someone tell me more aout it?


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Tinyviz started but some probs remain

2006-03-03 Thread Bruno Bianco
I re-run the tinyviz with CntToLeds and just 1 mote.
this is the end of message part in the cygwin shell:

.net.tinyos.packet.PhoenixSource.run(PhoenixSource.java:167)
SimComm: TossimInitEvent received (1 motes)...
initializing system.
SimComm: Pausing system for TossimInitEvent

What means? Waiting for some input? And how?

Kind Regards






___ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] tinyviz help

2006-03-02 Thread wassim znaidi
i'm a new user for tinyos and i' m trying to simulate in tossim a network to collect temperaturei want to know if it 's possible if i can enter my own value in tinyviz because i will not use real sensorplease help me
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] tinyviz not working

2006-03-02 Thread Bruno Bianco
Hi.
I installed TinyOS on my laptop (Win XP Pro ). My
current project is to find out features of zigbee and
tinyOS.
What happens?
Once installed everything and build tinyviz.jar ( as
it comes from tutorial ) I do this:

./tinyviz -run build/pc/main.exe 30

And that's the result:

AUTORUN: Initializing simulation.
AUTORUN: Running simulation: build/pc/main.exe -gui
-r=lossy 2
AUTORUN: Unable to run simulation:
java.io.IOException: CreateProcess: build/pc/
main.exe -gui -r=lossy 2 error=2
Goodbye!

In synthesis, the gui starts and soon get killed.
Which can be the problem?

Kind Regards



___ 
Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive 
http://it.messenger.yahoo.com
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] tinyviz not working

2006-03-02 Thread Andrea Pacini



Have you tried to do this:

build/pc/main.exe 30 


Then:

java net.tinyos.sim.SimDriver -gui 


?

- Original Message - 
From: "Bruno Bianco" [EMAIL PROTECTED]
To: tinyos-help@Millennium.Berkeley.EDU
Sent: Thursday, March 02, 2006 10:14 
PM
Subject: [Tinyos-help] tinyviz not 
working
 Hi. I installed TinyOS on my laptop (Win XP Pro ). 
My current project is to find out features of zigbee and 
tinyOS. What happens? Once installed everything and build 
tinyviz.jar ( as it comes from tutorial ) I do this:  
./tinyviz -run build/pc/main.exe 30  And that's the 
result:  AUTORUN: Initializing simulation. AUTORUN: 
Running simulation: build/pc/main.exe -gui -r=lossy 2 AUTORUN: 
Unable to run simulation: java.io.IOException: CreateProcess: 
build/pc/ main.exe -gui -r=lossy 2 error=2 Goodbye! 
 In synthesis, the gui starts and soon get killed. Which can be 
the problem?  Kind Regards
___  Yahoo! Messenger with Voice: chiama 
da PC a telefono a tariffe esclusive  http://it.messenger.yahoo.com 
___ Tinyos-help mailing 
list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Email.it, the professional e-mail, gratis per te:clicca qui

Sponsor:
Ricevi picture SMS per il tuo cellulare da Jamba!
Clicca qui


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] tinyviz: java.lang.Interruptedexception

2006-01-14 Thread Michael Schippling

odd. The only places I see anything throwing an Interrupt in the sim
directory are when one wants to Stop the program (runthread.interrupt()),
so it may be coming from your system. You might get this from CNTL-Cing
the program for instance.

Barring phil levis having a cogent comment you might just try putting
the call in AutoRun.java into a catch loop to skip the exception a couple
times to see if you can get past it...

MS


fiasco wrote:

Hi all,

I try to run tinyviz just as lesson 5 in tutorial. But I got java.lang
InterruptedException just like following:

AUTORUN: unable to run simulation: java.lang.InterruptedException
java.lang.InterruptedException
  at java.lang.Object.wait(Native Method)
  at java.lang.Object.wait(Object.java:426)
  at net.tinyos.sim.SimComm.waitUntilInit(SimComm.java:226)
  at net.tinyos.sim.AutoRun$AutoRunThread.run(AutoRun.java:349)
  at java.lang.Thread.run(Thread.java:536)

Any suggestions are very appreciated.

Regards,
fiascoo

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] TinyViz Starts Immediately

2006-01-06 Thread Srivathsan_Srinivasagopalan








Hi,

 I would like to know how one can start TinyViz
without trigerring the user application. That is, it must be in the pause mode
until the user wants the simulation to run. The same question has been posted
long back and link is given below. I do not understand the workaround mentioned
by M.Demmler. It would be nice if someone explains that in more detail.



http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2004-February/003149.html





Thanks,

Sri





DISCLAIMER:This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated..


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


RE: [Tinyos-help] TinyViz, neighbor size--, network size++

2005-12-23 Thread Jongkeun NA








I also had
experienced such a thing in using TOSSIM. Its not
intuitive to me in setting a topology what I want by specifying a radio model
and a distance scaling factor. It seems to not correctly work. Current topology
visualization of TOSSIM is also not enough in showing the neighborhood of a
node under a fixed radio model. Is there any effort to fix or enhance those
points of TOSSIM?



Thanks

Jong











From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sivaharan Thirunavukkarasu
Sent: Friday, December 16, 2005 10:34 PM
To: tinyos-help@Millennium.Berkeley.EDU
Subject: [Tinyos-help] TinyViz,
neighbor size--, network size++









Hi,





Not sure how to fix the following problem :





In TinyViz i came across the problem of unable to
limit the number of connected neighbors to say 4 or 5 while increasing
the network size using the radio model option Fixed radius(10). When the
network size is increased, as expectced the network becomes a higly dense
network with neighbors ranging from 10 -15. So i tried changing the distance
scaling factor by increasng the distance scaling factor and updating it hoping
the a nodes radio range would get smaller. Thats the way i understood from the
tutorial lesson 5 which states Increasing the scaling factor will
decrease the connectivity range of the chosen model. but increasing the
scaling factor dont seem to decrease the radio range??( after update ) I guess
i am missing something here? 











Would you pls advice as to how to get nework size
around 400 with neighbor size aroung 5 for each node? using fixed
radious(10) radio model??











Thanks





Siva 










___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] TinyViz, neighbor size--, network size++

2005-12-19 Thread Martin Gercke

Hi Siva,

I ran into a similar problem using TOSSIM for TelosB(CC2420).
I am not sure about mica(2/z) though.
If you are also using the beta-version TOSSIM-CC2420 we can discuss this 
issue here.


Martin


Sivaharan Thirunavukkarasu wrote:


Hi,
Not sure how to fix the following problem :
In TinyViz i came across the problem of unable to limit  the number of 
connected neighbors to say 4 or 5 while increasing the network size 
using the radio model option Fixed radius(10). When the network size 
is increased, as expectced the network becomes a higly dense network 
with neighbors ranging from 10 -15. So i tried changing the distance 
scaling factor by increasng the distance scaling factor and updating 
it hoping the a nodes radio range would get smaller. Thats the way i 
understood from the tutorial lesson  5 which states Increasing the 
scaling factor will decrease the connectivity range of the chosen 
model. but increasing the scaling factor dont seem to decrease the 
radio range??( after update ) I guess i am missing something here?
 
Would you pls advice as to how to get nework size around 400 with  
neighbor size aroung 5 for each node? using fixed radious(10) radio 
model??
 
Thanks
Siva   




___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
 



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] TinyViz, neighbor size--, network size++

2005-12-16 Thread Sivaharan Thirunavukkarasu
Hi,
Not sure how to fix the following problem :
In TinyViz i came across the problem of unable to limit the number of connected neighbors to say 4 or 5 while increasing the network size using the radio model option Fixed radius(10). When the network size is increased, as expectced the network becomes a higly dense network with neighbors ranging from 10 -15. So i tried changing the distance scaling factor by increasng the distance scaling factor and updating it hoping the a nodes radio range would get smaller. Thats the way i understood from the tutorial lesson 5 which states "Increasing the scaling factor will decrease the connectivity range of the chosen model." but increasing the scaling factor dont seem to decrease the radio range??( after update ) I guess i am missing something here? 

Would you pls advice as to how to get nework size around 400 with neighbor size aroung 5 for each node? using fixed radious(10) radio model??

Thanks
Siva 

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] tinyviz

2005-12-09 Thread Xenia Economidou
Thank you very much. That is what I needed to do to make it work. I appreciate your help. Kind Regards, Xenia Economidou 


From: Andrea Pacini [EMAIL PROTECTED]Reply-To: [EMAIL PROTECTED]To: Xenia Economidou [EMAIL PROTECTED]CC: tinyos-help@Millennium.Berkeley.EDUSubject: Re: [Tinyos-help] tinyvizDate: Wed, 07 Dec 2005 13:02:45 +0100MIME-Version: 1.0Received: from smtp.ing.unipi.it ([131.114.28.23]) by bay0-mc2-f9.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Wed, 7 Dec 2005 04:02:52 -0800Received: from [127.0.0.1] (wirelessgw.iet.unipi.it [131.114.9.11])by smtp.ing.unipi.it (Postfix) with ESMTP id 8FDDB12ECA4;Wed, 7 Dec 2005 13:02:44 +0100 (CET)
I usually run TinyViz as./build/pc/main.exe -gui 30  (run the program and make it wait for GUI)java net.tinyos.sim.SimDriver -gui ( run TinyViz)and it works with debug messages (after you have exported DBG=usr1)AndreaXenia Economidou wrote:


Hello everyone, 
I am trying to test tinyviz. I went to apps/TestTinyViz and typed make pc, and then in tools/java/net/tinyos/sim and typed make. Everything went fine. Then back to apps/TestTinyViz and typed export DBG=usr1 and tinyviz -run build/pc/main.exe 30. The tinyviz window opens up with the 30 modes. I followed the trying it out part exactly as described in the lesson 5 of the tutorial and yet the debug message is not displayed. 
I also tried starting the tinyviz with export DBG=usr1,am and it doesn't work either. Is there something I am doing wrong? If you can please help. 

Thank you very much, 
Xenia Economidou
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
  

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


  1   2   >