Re: [Tinyos-help] send value to file .txt

2007-07-17 Thread Peizhao Hu
what Michael means is if you already have the values output to a terminal windows, in Linux you can redirect the values to a file, for writing a collection program, please check my early reply. CASTEL Myriam wrote: I'm sorry but I don't really understand what I have to do. I have understood th

Re: [Tinyos-help] send value to file .txt

2007-07-17 Thread Michael Schippling
As I said, you may be able to just get the data from Xsniffer into a file using the redirection thing...I don't know what Xsniffer is or does however. If it comes to writing your own host side program there are a number of examples in: tools/java/net/tinyos/tools on T1 or where-ever they'v

Re: [Tinyos-help] send value to file .txt

2007-07-17 Thread CASTEL Myriam
I'm sorry but I don't really understand what I have to do. I have understood that I have to write a program in Java to do the acquisition of the port COM and send the values in a file .txt. But how can I do that? Is there some examples of such programs? Where did you post the necessary stream op

Re: [Tinyos-help] send value to file .txt

2007-07-16 Thread Michael Schippling
If you have a program that is writing the values to the console window, you can redirect it's output into a file like this: program > file.txt See the bash man page or info for more details on redirection. And you can of course add a file write to any java program for which you have the

Re: [Tinyos-help] send value to file .txt

2007-07-16 Thread Peizhao Hu
Hi, You can implement your own data collection program using the AntiTheft example, shipped with TinyOS-2.X. Having a basic station to listen or collect all broadcast data, you can store this data in any form you like. any other useful example is the Osilloscope. Good Luck CASTEL Myriam wro

[Tinyos-help] send value to file .txt

2007-07-16 Thread CASTEL Myriam
Hi, In the end of my application (with the mica2 and mib520), I need to store some values (but not all) send by the motes because I want to read them with Matlab. At the moment, I am using XSniffer. I can read the packets and put them manually in Matlab.But it is too long and I prefer to do i