Hey all,

 

I am trying to simulate an application but something goes wrong when using the –ef parameter for the main.exe file. I tried to simulate the simplest application Blink, and I had the same problems.. I execute the main.exe using the command build/pc/main.exe –gui –ef=temp.txt 10 & tinyviz and I can see the red led blinking in tinyviz. When I press the ctrl+c to stop the simulation I get the following

 

[…]

9: LEDS: Red off.

9: Popping event for mote 6 with time 0:0:19.16369425.

SIM: Reading command from client fd 7

SIM: Reading in GuiMsg header of size 14 with length 0

SIM: Closing client socket 7.

 

[EMAIL PROTECTED]@spoon /opt/tinyos-1.x/apps/BlinkSIM: commandReadThreadFunc: error in selec

t(): Bad file descriptor

SIM: Reading command from client fd 7

SIM: Reading in GuiMsg header of size 14 with length 0

 

$ SIM: Closing client socket 7.

 

…I believe that something goes wrong with the file descriptor but I can’t find any solution. The paradox is that I get a temp.txt file size of 5Mbytes, but it has only spaces in it….

 

Any ideas?

Thanks in advance!

Nick

 

 

Ps. How can I set a log file for bash ? And how can I set the number of lines or the size of it? I use win xp and I have installed the tinyos-1.1.0-1is.exe…

 



____________________________________________________________________
http://www.freemail.gr - äùñåÜí õðçñåóßá çëåêôñïíéêïý ôá÷õäñïìåßïõ.
http://www.freemail.gr - free email service for the Greek-speaking.

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

Reply via email to