©
National Instruments Corporation v NI-DAQ FRM for PC Compatibles
Contents
About This Manual
How to Use the NI-DAQ Manual Set..............................................................................xiii
Organization of This Manual...........................................................................................xiii
Conventions Used in This Manual...................................................................................xiv
MIO and AI Device Terminology.....................................................................xvii
About the National Instruments Documentation Set.......................................................xix
Related Documentation....................................................................................................xx
Customer Communication...............................................................................................xx
Chapter 1
Using the NI-DAQ Functions
Status Codes, Device Numbers, and SCXI Chassis IDs..................................................1-1
Variable Data Types........................................................................................................1-2
Primary Types...................................................................................................1-2
Arrays................................................................................................................1-3
Multiple Types...................................................................................................1-3
Programming Language Considerations..........................................................................1-4
Borland Delphi..................................................................................................1-4
Visual Basic for Windows.................................................................................1-4
NI-DAQ Constants Include File.........................................................1-5
NI-DAQ for LabWindows/CVI.......................................................................................1-5
Chapter 2
Function Reference
AI_Change_Parameter.....................................................................................................2-1
AI_Check.........................................................................................................................2-3
AI_Clear...........................................................................................................................2-5
AI_Configure...................................................................................................................2-6
AI_Mux_Config...............................................................................................................2-10
AI_Read...........................................................................................................................2-12
AI_Read_Scan.................................................................................................................2-14
AI_Setup..........................................................................................................................2-15
AI_VRead........................................................................................................................2-17
AI_VRead_Scan..............................................................................................................2-19