Technical reference
10
© 2005 Pico Technology Limited. All rights reserved.
USBTC08044-2
3
Technical reference
3.1
Introduction
The USB TC-08 is supplied with driver routines that you can build into your own
programs. The USB TC-08 driver supports the following versions of the Windows
operating system: 98SE, ME, 2000, and XP.
Once you have installed the software, the
directory will contain the drivers and a
selection of examples of how to use the drivers.
The driver is supplied as a Windows
convention and can be used with C, Delphi and Visual Basic programs. It can also be
used with programs like Microsoft Excel, where the macro language is a form of Visual
3.2
Modes of operation
3.2.1
Introduction
The USB TC-08 is designed for three specific modes of operation to suit a variety of
applications. The following modes are supported:
3.2.2
Streaming mode
is an operational mode in which the USB TC-08 unit samples data and
returns it to the computer in an unbroken sequence, using the onboard clock to ensure
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
sampling loops (see example below) to make sure that your application does not use too
call for less than 50-100 milliseconds, e.g.,
. If you are programming a Windows GUI application, a good alternative