3.4
Programming
3.4.1
Introduction
We supply examples for the following programming languages:
C and C++
Delphi
Excel
LabVIEW
Visual Basic
Agilent VEE
The example programs are installed in the
program directory.
3.4.2
C and C++
C
The C example program is a generic Windows application: it does not use Borland
AppExpert or Microsoft AppWizard. To compile the program, create a new project
containing the following files:
usb_tc08.c
usb_tc08.rc
usbtc08bc.lib
either
usbtc08.lib
or
The following files must be in the same directory:
usb_tc08.rch
usbtc08.h
usbtc08.dll
C++
C++ programs can access all versions of the driver. If
C++ program, the PREF1 macro expands to extern "C": this disables name-mangling
(or name-decoration), and enables C++ routines to make calls to the driver routines
using C headers.
3.4.3
Delphi
The WIN sub-directory contains a simple program
drivers and reads temperatures from the three channels. You will need the following
files to build a complete program.
USBTC08FM.dfm
USBTC08FM.PAS
usbtc08.inc
The file usbtc
include this file in your application.
This example has been tested with Delphi versions 1, 2 and 3.
(Borland 32-bit applications)
(Microsoft Visual C 32-bit applications)
(all 32-bit applications)
contains procedure prototypes for the driver routines. You can
08.inc
Technical reference
subdirectory of your TC-08
Examples
usbtc08.h
usbtc08.dpr
41
is included in a
which opens the
Need help?
Do you have a question about the 8 Channel Thermocouple USB Data Acquisition Module TC-08 and is the answer not in the manual?