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

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

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

[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

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