Streaming mode with the TC-08

Post any questions you may have about our current range of USB data loggers
Post Reply
JeffLikesC++
Newbie
Posts: 0
Joined: Wed May 14, 2014 5:00 pm

Streaming mode with the TC-08

Post by JeffLikesC++ »

The documentation states the following.
The unit can buffer up to two sets of readings at once. To avoid loss of readings, make
sure that another application on the PC - including the one you are writing - does not
prevent the driver from collecting readings for more than three sampling intervals.
To allow the driver to sample continuously, call the Windows Sleep() function in any
How would I know if a sample was missed? Would I know this from the times reported by usb_tc08_get_temp?

Hitesh

Re: Streaming mode with the TC-08

Post by Hitesh »

Hi,

The buffer will be padded with QNaN floating integers as detailed in the usb_tc08_get_temp function description:
Streaming mode relies on the driver to buffer readings without interruption. If the driver
does not get enough share of the PC's processor time (the most frequent cause of
which is too many applications running at the same time), readings will be dropped and
the sample buffer will be padded with QNaN floating integers.

Warning: The padding of the buffer is also dependent on the performance of the PC
and under very heavy processor loading, padding may not always be accurate.
I hope this help.

Post Reply