
iii
Table of Contents
1 Introducing the CYDAS UDR (Universal Driver) Library .......................1
CYDAS UDR Library overview.......................................................................................................... 1
2 Installation and Configuration.................................................................3
Installing the CYDAS UDR Library.................................................................................................... 3
The CB.CFG file and InstaCal........................................................................................................... 3
Installation – .NET support................................................................................................................ 3
Installation – HP VEE support........................................................................................................... 3
Licensing information ........................................................................................................................ 4
Redistributing a custom UDR Library application.............................................................................. 4
Distributing InstaCal in addition to your custom UDR Library application...................................... 4
Integrating InstaCal into your custom UDR Library installation CD or disk.................................... 4
3 Getting Started .........................................................................................5
Example programs............................................................................................................................ 5
4 CYDAS UDR Library Description and Use .............................................6
General UDR Library language interface description........................................................................ 6
Function arguments....................................................................................................................... 6
Constants...................................................................................................................................... 6
Options arguments........................................................................................................................ 6
Error handling................................................................................................................................ 7
16-bit values using a signed integer data type .............................................................................. 7
Using the CYDAS UDR Library in Windows...................................................................................... 7
Real-time acquisition under Windows ........................................................................................... 8
Processor speed ........................................................................................................................... 8
Visual Basic for Windows.............................................................................................................. 8
Microsoft Visual C++ ..................................................................................................................... 9
Borland C /C++ for Windows......................................................................................................... 9
Delphi example programs ............................................................................................................. 9
Using the Library with DOS BASIC................................................................................................. 10
BASIC header file........................................................................................................................ 10
Using the Library within the integrated BASIC environment........................................................ 10
Using the Library with the BASIC command line compiler .......................................................... 10
Sample BASIC programs ............................................................................................................ 10
Passing arguments to the CYDAS UDR Library.......................................................................... 10
Using the Library with VisualBasic
®
for DOS .................................................................................. 12
Compiling stand-alone EXE files .................................................................................................12
Using the Library with C for DOS.................................................................................................... 12
C header file................................................................................................................................ 12
Memory models........................................................................................................................... 13
Large data arrays........................................................................................................................ 13
Compiling the sample C programs .............................................................................................. 13
Using the Library with HP VEE ....................................................................................................... 13
New HP VEE functions................................................................................................................ 14
Installation note........................................................................................................................... 14
Using VEE 3.2 or later................................................................................................................. 14
5 CYDAS UDR Library for .NET Description & Use ................................15
Configuring a UDR Library for .NET project.................................................................................... 15
General UDR Library for .NET language interface description........................................................ 16
MccBoard class........................................................................................................................... 16
ErrorInfo class ............................................................................................................................. 17
MccService class ........................................................................................................................ 18
GlobalConfig class ...................................................................................................................... 18
MccDaq enumerations ................................................................................................................ 18
Parameter data types.................................................................................................................. 20
Differences between the UDR Library and UDR Library for .NET................................................... 20
Board number ............................................................................................................................. 20
Kommentare zu diesen Handbüchern