Hello to everybody,
I am working in the Xsensor application and I am trying to acquire data as fast as it is possible. In this sense, in the file called TestMTS400M there is a command which define the sampling rate: #define TIMER_PERIOD 1000 // timer period in msec #define GPS_MAX_WAIT 20 // max wait time for gps packet = GPS_MAX_WAIT*TIMER_PERIOD #define MSG_LEN 29 // excludes TOS header, but includes xbow header If it is defined like this, it means that the program will wait 1000 ms for the next reading is it ok?. How can I vary the command to acquired faster data, because using the xlisten application after varying the command " #define TIMER_PERIOD 10" seems that it is not acquiring data at 100Hz. Another question that I have is that following an existing post the sampling time is defined in binary seconds which means that for acquiring data to 1 Hz the command should be 1024 and not 1000. Is this an error of the tutorials or I am misunderstanding the problem? Many thanks for your help!!!! Rafael
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
