[Tinyos-help] how to get the tinyviz from cygwin

Pablo Gil Montaño pgilmon at yahoo.es
Fri Sep 8 06:51:28 PDT 2006


Once you've built the application for pc, try with:

export DBG=usr3
build/pc/main.exe –gui 4

then, open a second cygwin window and execute:

java net.tinyos.sim.TinyViz

For more information, type:
build/pc/main.exe –h


The export DBG=... tells the TinyOS simulator which debugging messages should be displayed on the terminal window.


primalfear 69 <primeballerina at gmail.com> escribió: hello all
  
 i am using tinyos-1.x, in windows XP.
  
 i have built the tinyviz and now i have the gui with me.
  
 now comes few questions......:)
  
 1)    what are the commands to call tinyviz from cygwin.
  
         i went through the tutorials lesson5 and am not able to exactly understand 
  
 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  
  To get started, look at the apps/TestTinyViz  application, which causes motes to periodically send a message to a random neighbor. There isn't anything interesting about the application itself, but it will allow us to demonstrate the basic features of TinyViz. Go ahead and build the app with  make pc.  
To compile TinyViz, cd to the tools/java/net/tinyos/sim directory and type make. This will build the TinyOS program as tinyviz.jar, a stand-alone Java JAR file that you can run with the  tinyviz script, found in this directory. Place this script on your PATH and you will be able to run tinyviz directly from the command line.  
Start up TinyViz, running the TestTinyViz app, as follows:  
    
export DBG=usr1
tinyviz -run build/pc/main.exe 30




  
 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  
          what are these commands.

         export DBG=usr1   (usr1,usr2,temp)........... what does this line exactly means.
         
         tinyviz -run build/pc/main.exe 30........ i get bash: tinyviz: command not found
  
  
 2) what is *.mps files?   if i want to load directly to the tinyviz GUI how to build these files/where to get these to try out few.
  
 Regards
 Primlfear
  
                                         
 _______________________________________________
Tinyos-help mailing list
Tinyos-help at Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

 		
---------------------------------

LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060908/440a48e5/attachment.htm


More information about the Tinyos-help mailing list