User manual

© National Instruments Corporation v NI-DAQ User Manual for PC Compatibles
Contents
About This Manual
How to Use the NI-DAQ Documentation Set ...............................................................ix
Conventions Used in This Manual.................................................................................ix
MIO and AI Device Terminology ...................................................................xiii
Chapter 1
Introduction to NI-DAQ
About the NI-DAQ Software for PC Compatibles ........................................................1-1
How to Set Up Your DAQ System................................................................................1-2
NI-DAQ Overview ........................................................................................................1-3
NI-DAQ Hardware Support ............................................................................1-4
NI-DAQ Language Support ............................................................................1-7
Device Configuration.....................................................................................................1-7
Using Measurement & Automation Explorer..................................................1-7
Chapter 2
Fundamentals of Building Windows Applications
The NI-DAQ Libraries...................................................................................................2-1
Creating a Windows Application Using Microsoft Visual C++....................................2-2
Developing an NI-DAQ Application...............................................................2-2
Example Programs...........................................................................................2-2
Special Considerations ....................................................................................2-3
Buffer Allocation ..............................................................................2-3
String Passing....................................................................................2-3
Parameter Passing .............................................................................2-3
Creating a Windows Application Using Microsoft Visual Basic ..................................2-4
Developing an NI-DAQ Application...............................................................2-4
Example Programs...........................................................................................2-5
Special Considerations ....................................................................................2-5
Buffer Allocation ..............................................................................2-5
String Passing....................................................................................2-6
Parameter Passing .............................................................................2-6
Creating a Windows Application Using Borland C++ ..................................................2-7
Developing an NI-DAQ Application...............................................................2-7
Example Programs...........................................................................................2-7
Special Considerations ....................................................................................2-8
Using Borland Delphi with NI-DAQ.............................................................................2-8
NI-DAQ Examples ........................................................................................................2-9