User manual
USB TC-08 Help25
Copyright 2004 Pico Technology Limited. All rights reserved.
float * temp_buffer,
long * times_ms_buffer,
long buffer_length,
short * overflow,
short channel,
short units,
short fill_missing)
Once you open the driver and set up some channels, you can call the
usb_tc08_run
routine. The driver
will then begin to continually take readings from the USB TC-08. Use the
usb_tc08_get_temp
routine to retrieve readings from the driver's buffer periodically. The function must be called at least
once per minute to avoid losing data (the driver's buffer is circular, so the oldest readings will be
overwritten first).
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.