This is a function of the samplestream class.
This gets the next sample from the SampleStream.
This includes both a time for the sample, and a Pandas Dataframe that includes each of the query points placed into evenly-spaced time buckets.
None
A sample object if there are more samples available, or None if the end of the query has been reached.