User`s guide
14
3
Getting Started
The Universal Library is callable from many languages and environments, including Visual Basic
®
, Visual
C++, Borland C++ Builder, and Delphi. A list of the languages currently supported by the Universal Library
is provided on page 11. Additionally, the UL is now callable from any language supported by the .NET
framework. This chapter describes how to use the library from each of the languages. The first section of the
chapter describes details of the library that apply to all languages. The following sections describe the
differences for each language.
Before starting your application, you should perform the following:
Set up and test your boards with InstaCal. The Universal Library will not function until InstaCal has
created a configuration file (CB.CFG).
Run the example programs for the language you program in.
Example programs
You can install example programs for supported languages when you install the Universal Library software. If
selected, the example programs are installed into the following installation subdirectories:
C
C#
CWIN
DELPHI
VB.NET
VBWIN
On Windows 2000 and Windows XP, the example programs are installed by default to \Program
Files\Measurement Computing\DAQ.
On Windows Vista, the example programs are installed by default to \Users\Public\Documents\Measurement
Computing\DAQ. When you install the example programs, an "Examples" shortcut is added to the directory
where you installed the Universal Library software. When selected, the directory containing the example
programs opens in Windows Explorer.
For a complete list of example programs, refer to the Universal Library Function Reference
The Universal Library Function Reference contains tables that list the UL and UL for .NET example
programs. Each table contains the name of the sample program and the functions that the program
demonstrates. This document is available on our web site at www.mccdaq.com/PDFmanuals/sm-ul-
functions.pdf.