Hi

The problem is solved, I didn't make any text file. What I wanted is to get
the power received and take their averages. I made this in java and now I
can get it in real time.

Thanks for your cooperation, Breno ..


Best Regards,

Yasser Zahedi


2011/3/22 Breno Guimarães <bren...@gmail.com>

> Hmm.. I see...
> Well, maybe than, its easier for you to modify the your program in Java, to
> write it into the file.
> My application is written in C and uses windows.h (to make serial port
> connection and run threads) so it won't work any other OS.
>
> I use xubuntu on a virtual machine (WMV) to program the motes, but I
> communicate using windows.
>
> I can understand some Java (because I also program in C++) but Im not
> really fluent (eheh) on it.
>
> maybe this can give you a clue
> http://www.roseindia.net/java/beginners/WriteTextFileExample.shtml
> but thats just a result for a quick google search, maybe you already tried
> this stuff.
>
> Its kind of late here in Brazil, so good luck on that. Tomorow I might have
> some time to help more if still are having trouble.
>
> Best Regards,
>
> Breno Rodrigues Guimaraes
>
>
>
> 2011/3/22 Yasser Zahedi <yasserzah...@gmail.com>
>
>> Thanks Breno !
>> But I'm working in TinyOS installed on Ubuntu 9.10, If this works for me,
>> I will appreciate your help if you send it to me.
>>
>> Actually, I'm viewing my data using Java application in real time (From
>> transmitter to the base station). I just want to write this real time data
>> into a text file because if it is viewed in real time I cannot check all of
>> it..
>>
>>
>> Thank you
>> Yasser Zahedi
>>
>>
>>
>> 2011/3/22 Breno Guimarães <bren...@gmail.com>
>>
>>> Hi,
>>> I've been developing a serial fowarder in C to be used on windows
>>> platform.
>>> It still need some adjustments but I can comunicate with my network very
>>> well.
>>> It would be very easy to print out information or to put it on a text
>>> file ( I actually do that ).
>>>
>>> If you have interest on that (if you like C and windows platform hehe) ,
>>> I can finish somethings up and send it to you.
>>>
>>> Breno Rodrigues Guimaraes
>>>
>>>  2011/3/21 Yasser Zahedi <yasserzah...@gmail.com>
>>>
>>>>  Hello All
>>>>
>>>> How can I write the results I got from serial forwarder and Java
>>>> application into a text file..
>>>> I want to put the results into a text file to read them after that
>>>> easily..
>>>>
>>>> Any one can help me ?
>>>>
>>>> Thank you
>>>>
>>>> _______________________________________________
>>>> Tinyos-help mailing list
>>>> Tinyos-help@millennium.berkeley.edu
>>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>>
>>>
>>>
>>
>
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to