In worked with that. Thanks a lot. Javier
2008/4/17, Giri Baleri <[EMAIL PROTECTED]>: > You would need to put this entry in the <XDatasinks> portion of the xml > file for the sensor board you are using. > > > <XDataSink name="Generic File Datasink"> > > <XDSParam name="rawfilename" value="<absolute > path>/<SensorName>_Results_Raw.csv"/> > <XDSParam name="parsedfilename" value="<absolute > path>/<SensorName>_Results_Parsed.csv"/> > <XDSParam name="convertedfilename" value="<absolute > path>/<SensorName>_Results_Converted.csv"/> > > <XDSParam name="delim" value=","/> > <XDSParam name="header" value="yes"/> > </XDataSink> > > > The absolute path is the complete cygwin path to where you want their > file located. The <SensorName> is the name of the sensor board you are > using. You can look in the xserve manual for information on the other > features. > > You then need to start Xserve with -xr and -xc flags. > xserve -s=comX -xr -xc > > > Giri > > -----Original Message----- > From: Javier Zazo [mailto:[EMAIL PROTECTED] > > Sent: Thursday, April 17, 2008 12:04 PM > To: Giri Baleri > Cc: [email protected] > Subject: Re: [Tinyos-help] Generic File Datasink in Xserve > > Hi Giri, > Could you please send me the piece of code that works for you? I have > tried several times, in different ways, and got no improvement. > Thanks, > Javier > > 2008/4/14, Javier Zazo <[EMAIL PROTECTED]>: > > Yes, I started with and without them, and nothing happened either way. > > ./xserve.exe -device=com5 or > > ./xserve.exe -device=com5 -xpr > > Can you post me a working xml example? > > Thanks for your help. > > > > 2008/4/14, Giri Baleri <[EMAIL PROTECTED]>: > > > > > How did you start XServe? (i.e. did you use -xr, -xp flags)? > > > > > > > > > Giri > > > > > > > > > -----Original Message----- > > > From: Javier Zazo [mailto:[EMAIL PROTECTED] > Sent: Saturday, > > > April 12, 2008 3:44 PM > To: Giri Baleri > Cc: > > [email protected] > > > Subject: Re: [Tinyos-help] Generic File Datasink in Xserve > > > > Thanks, but it didn't work either. I also changed the slashes "/" to > "\" > > > that are the ones that windows uses, but still didn't work. > > > Any other ideas? Thanks a lot. > > > Javier > > > > > > 2008/4/11, Giri Baleri <[EMAIL PROTECTED]>: > > > > I think you need to specify the absolute path (not the relative > > path > > that Cygwin uses). > > > > Eg. C:/Crossbow/Cygwin/opt/raw_surge_data.txt > > > > > > > > Giri > > > > > > > > > > > > -----Original Message----- > > > > From: [EMAIL PROTECTED] > > > > [mailto:[EMAIL PROTECTED] On Behalf > > Of > > Javier Zazo > > Sent: Friday, April 11, 2008 10:41 AM > > > > > To: [email protected] > > > > Subject: [Tinyos-help] Generic File Datasink in Xserve > > > > > > > Hi, > > I am using Xserve in Moteworks, and when I create a xml > > file for > > parsing, I cannot make the Generic File Datasink create > > > any file (not > > > the raw, parsed or converted). This is the > > datasink code: > > > > <XDataSink name="Generic File Datasink"> > > > > <XDSParam name="rawfilename" > > > > value="/opt/raw_surge_data.txt" /> > > > > <XDSParam name="parsedfilename" > > > > value="/opt/parsed_surge_data.txt" /> > > > > <XDSParam name="delim" value="," > /> > > > > <XDSParam name="header" > value="yes" /> > > > > </XDataSink> > > > > Xserve gives no error, and the Generic Print Datasink works > well. > > > > When I start sending packages they are shown in the screen. > > Then I > > shut xserve and close cygwin, but I find no file in the > > location > directory. > > > > What I am doing wrong? (I have already read the manual, and I > > think > > I've followed it correctly). How should it be done? Could > > > anyone post > > > a working example? > > > > Thank you in advance. > > > > > > > > _______________________________________________ > > > > Tinyos-help mailing list > > > > [email protected] > > > > > > > > > > > > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-he > > lp > > > > > > > > > > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
