Hi all,

As I known, MDA300 uses sample interface to call Sample.getSample(...) command 
to get sense data. There is an interval variable in the getSample(...) command. 
It specifies the frequency of samping. I am wondering if there is a command 
that can stop samping after calling getSample? I just want to call 
getSample(...) and receive one result and stop. I checked the XsensorMDA300 
code and it seems that the event handler to the Sample.dataReady() keep 
processing once getSample(...) is executed. Besides, it seems that the 
SamplerControl.stop command from SamplerM.nc does not help. Does anyone know 
how to solve the problem? Thanks in advance.

Gary Pan
 
---------------------------------
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to