Hi Everyone.
What does "SAMPLE PERIOD y" do in the following?
In the TinyDB docs they say they can write to buffers with the following
example.
CREATE BUFFER name SIZE X
(field1 type, field2 type)
SELECT field1, field2 FROM sensors
SAMPLE PERIOD x
INTO name
SELECT field1, feild2
SAMPLE PERIOD y
FROM name
What does the line
"SAMPLE PERIOD y" actually do?
The query that filled the buffer has stopped so I would expect the
retrieving query to just return the whole stored buffer. I do not
understand what the SAMPLE PERIOD Y does.
--
Christian Brenninkmeijer
PhD Student - DIAS-MC project
Department of Computer Science
The University of Manchester
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help