hi,
you must do the followed steps :
cd to TestTinyViz directory
type    make 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
type    make
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
 >     >
 >     >
 >     >
 >     > ------------------------------------------------
 >     >
 >     > 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
 >     </[EMAIL PROTECTED]>
 >
 >
 >
 >     ------------------------------------------------
 >
 >   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

  
---------------------------------
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

Reply via email to