E-mail: support@natinst.com
FTP Site: ftp.natinst.com
Web Address: www.natinst.com
Bulletin Board Support
BBS United States: 512 794 5422
BBS United Kingdom : 01635 551422
BBS France: 01 48 65 15 59
Fax-on-Demand Support
512 418 1111
Telephone Support (USA)
Tel: 512 795 8248
Fax: 512 794 5678
International Offices
Australia 03 9879 5166, Austria 0662 45 79 90 0, Belgium 02 757 00 20, Brazi l 011 288 3336,
Canada (Ontario) 905 785 0085, Canada (Québec) 514 694 8521, Denmark45 76 26 00,
Finland 09 725 7 25 11, France 01 48 14 24 24, Germany 089 741 31 30, Hong Kong 2645 3186,
Israel 03 6120092, Italy 02 413091, Japan 03 5472 2970, Korea 02 596 7456, Mexico 5 520 2635,
Netherlands 0348 433466, Norway 32 84 84 00, Singapore 2265886, Spain 91 640 0085, Sweden 08 730 49 70,
Switzerland 056 200 51 51, Taiwan 02 377 1200, United Kingdom 01635 523545
National Instruments Corporate Headquarters
6504 Bridge Point Parkway Austin, Texas 78730-5039 USA Tel: 512 794 0100
Important Information
Warranty
The media on which you receive National Instruments software are warranted not to fail to execute programming
instructions, due to defects in materials and workmanship, for a period of 90 days from date of shipment, as evidenced
by receipts or other documentation. National Instruments will, at its option, repair or replace software media that do not
execute programming instructions if National Instruments receives notice of such defects during the warranty period.
National Instruments does not warrant that the operation of the software shall be uninterrupted or error free.
A Return Material Autho rization (RMA) number must be obtained from the factory a nd clearly marked on the ou ts ide of
the package before any equipment will be accepted for warranty work. National Instruments will pay the shipping costs
of returning to the owner parts which are covered by warranty.
National Instruments believes that the informatio n in this manual is accurate. The docume nt has been ca refully review ed
for technical accurac y. In th e even t that te ch nical o r typograp hic al errors exis t, Nation al Inst ruments rese rves th e right to
make changes to subsequent editions of this document without prior notice to holders of this edition. The reader should
consult National Instruments if errors are suspected. In no event shall National Instruments be liable for any damages
arising out of or related to this document or the information contained in it.
E
XCEPT AS SPECIFIED HEREIN
SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENTS SHALL BE
LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER
DAMAGES RESULTING FROM LOSS OF DATA, PROFITS, USE OF PRODUCTS, OR INCIDENTAL OR CONSEQUENTIAL DAMAGES
EVEN IF ADVISED OF THE POSSIBILITY THEREOF
regardless of the form of action, wheth er in contrac t or tort, inc luding neglig ence. Any ac tion against N ational Inst ruments
must be brought within one year after the cause of action accrues. National Instruments shall not be liable for any delay
in performance due to causes beyond its reasonable control. The warranty provided herein does not cover damages,
defects, malfunctions, or service failures caused by owner’s failure to follow the National Instruments installation,
operation, or maintenance instructions; owner’s modification of the product; owner’s abuse, misuse, or negligent acts;
and power failure or surges, fire, flood, accident, actions of third parties, or other events outside reasonable control.
, N
ATIONAL INSTRUMENTS MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AND
. This limitation of the liability of National Instruments will apply
. C
USTOMER’S
. N
ATIONAL INSTRUMENTS WILL NOT BE LIABLE FOR
,
Copyright
Under the copyright laws, this publication may not be reproduced or transmitted in any form, electronic or mechanical,
including photocopyi ng, recordi ng, st oring in an info rmation ret riev al syste m, or translating , in whole or in part, wit hout
the prior written consent of National Instruments Corporation.
Trademarks
CVI™, DAQArb™, DAQCard™, DAQ Designer™, DAQPad™, DAQ-PnP™, DAQ-STC™, DAQWare™,
LabVIEW™, NI-DAQ™, NI-DSP™, NI-PGIA™, RTSI™, and SCXI™ are trademarks of National Instruments
Corporation.
Product and company names referenced in this document are trademarks or trade names of their respective companies.
WARNING REGARDING MEDICAL AND CLINICAL USE OF NATIONAL INSTRUMENTS PRODUCTS
National Instruments products are not designed with components and testing intended to ensure a level of reliability
suitable for use in treatment and diagnosis of humans. Applications of National Instruments products involving medical
or clinical treatment can create a potential for accidental injury caused by product failure, or by errors on the part of the
user or application des igner. Any us e or ap plica tion of Na tiona l Instrum ents pr oducts for or inv olving m edi cal or clin ica l
treatment must be performed by properly trai ned and qualifi ed medic al pe rsonne l, and al l tra ditiona l medic al safegu ards,
equipment, and procedu res that are appropriate in the particula r situation to prevent serious injury or dea th should al ways
continue to be used when Natio nal Instrume nts products are being use d. National In struments prod ucts are N OT intended
to be a substitute for any form of establis hed process, procedure, or e quipment us ed to monit or or safeguard human heal th
and safety in medical or clinical treatment.
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
The NI-DAQ Functi on Refe re nce M anu al f or PC Co mpat i ble s is f or users
of the NI-DA Q s oftware for PC com patibles version 6.1 . NI-D A Q software
is a powerful application programming interface (API) between your data
acquisition (DAQ) application and the National Instruments DAQ boards
for ISA, PCI, PXI, XT, PC Card (PCMCIA), VXIbus, EISA, and USB bu s
computers.
How to Use the NI-DAQ Manual Set
You should begin by reading the NI-DAQ User Manual for PC
Compatibles. Chapter 1, Introduction to NI-DAQ, contains a f low chart that
illustrates the sequence of steps you sh ould take to learn about and get
started with NI-DAQ software.
When you are familiar with the material in the NI-DAQ User Manual for
PC Compatibles, you can use the NI-DAQ Function Refer ence M anual for
PC Compatibles, which contains detailed descriptions of the NI-DAQ
functions. You also can use the Windows help file
contains all of the function reference material. Other documentation
includes the DAQ Hardware Overview Guide (
Configuration Utility help file (
Wizard help file (
CHANWIZ.HLP).
NIDAQCFG.HLP
About
This
Manual
NIDAQPC.HLP, which
HWOG.PDF), the NI-DAQ
and the DAQ Channel
,
)
Organization of This Manual
The NI-DAQ Function Reference Manual for PC Compatibles is organized
as follows:
•Chapter 1, Using the NI-DAQ Functions, contains important
information about how to apply the function descriptions in this
manual to your programming language and environment.
•Chapter2, Function Reference, contains a detailed explanation o f each
NI-DAQ function. The functions are arranged alphabetically.
•AppendixA, Status Codes, lists the status codes returned by NI-DA Q,
including the name and description.
National Instruments CorporationxiiiNI-DAQ FRM for PC Compatibles
About This Manual
•AppendixB, Analog Input Channel, Gain Settings, and
Voltage Calculation, lists the valid channel and gain settings for DA Q
boards, describes how NI-DAQ calculates voltage, and describes the
measurement of offset and gain adjustment.
•AppendixC, NI-DAQ Function Support, contains tables that show
which DAQ hardware each NI-DAQ function call supports.
•AppendixD, Customer Communication, contains forms you can use to
request help from Nati onal Instruments o r to comment on our products
and manuals.
•The Glossary contains an alphabetical list and description of terms
used in this manual, including abbreviations, acronyms, metric
prefixes, mnemonics, and symbols.
•The Index contains an alphabetical list of key terms and topics in this
manual, including the page where you can find each one.
Conventions Used in This Manual
The following conventions are used in this manual.
This icon to the left of bold italicized text denotes a note, which alerts you
to important information.
!
1102/B/C modules Refers to the SCXI-1102, SCXI-1102B, and SCXI-1102C modules and
12-bit deviceThese MIO and AI d evice s are listed in T able 1.
16-bit deviceThese MIO and AI d evice s are listed in T able 1.
445X deviceRefers to the PCI-4 451 a nd PCI-44 52.
455X deviceRefers to the PCI-4 551 a nd PCI-45 52.
516 deviceRefers to the DAQCard-516 and PC-516.
611X deviceRefers to the PCI-6110E and PCI-6111E.
6602 deviceRefers to the PCI-6 602 a nd PXI- 6602 .
AI deviceThese analog input devices are listed in Table 1.
NI-DAQ FRM for PC Compatiblesxiv
This icon to the left of bold italicized text denotes a caution, which advises
you of precautions to take to avoid injury, data loss, or a system crash.
the VXI-SC-1102, VX I-S C-1 102B, an d V XI- SC-1 102C su bm odules .
Am9513-based de viceThese dev ice s a re the A T-MI O-16 , AT -MIO - 16F-5, A T-MI O -16X,
AT-MIO-16D, and AT-MIO-64F-5.
boldBold text denotes the names of menus, menu items, paramete rs, dialog
boxes, dialog box buttons or options, icons, windows, Windows 95 tabs
or pages, or LEDs.
bold italicBold italic text denotes a note, caution, or warning.
DAQArb 5411 deviceRefers to the AT-5411 and PCI-5411.
DAQCard-500/700Refers to the DAQCard-500 and DAQCard-700.
DAQMeter 4350 Refers to the PC-4350, DAQCard-4350, and DAQPad-4350.
DIO 6533Refers to the AT-DIO- 32HS, PCI-D IO-3 2HS, D AQCa rd-6 533, a nd
PXI-6533.
DIO-24Refers to the PC -D IO -24, P C- DIO -24 PnP, a nd DAQC ard -D IO- 24.
DIO-32FRefers to the AT-DIO-32F.
DIO-96Refers to the PC -D IO-9 6, PC -DI O -96 PnP, P CI -DIO -9 6,
DAQPad-6507, DA QP ad-6 508 , an d PXI -65 08.
DIO deviceRefers to any DIO-24, DIO-32, DIO-6533, or DIO-96.
DSA deviceRefers to the PC I-4451 , PCI- 445 2, PCI -45 51, a nd PCI-45 52.
E Series deviceThese are MIO and AI devices. Refer to Table 1 for a complete list of
these devices.
italicItalic text denotes emphasis, a cross reference, or an introduction to
a key concept. This font a lso denotes text fo r which you supply the
appropriate word or value, such as in NI-DAQ 5.x.
Lab and 1200 analogRefers to the DAQCard-1200, DAQPad-1 200, La b-PC+, Lab-PC-1200,
output devicePCI-1200, and SCXI-1200.
Lab and 1200 deviceRefers to the DAQCard-1200, DAQPad-1200, Lab-PC+, Lab-PC-1200,
Lab-PC-1200AI, PCI-1200, a nd SCXI-1200 .
LPM deviceRefers to the PC-L P M-16 an d PC -LP M-16P n P.
MIO deviceRefe rs to multifunction I/O devices. See Table 1 for a list of these
National Instruments CorporationxvNI-DAQ FRM for PC Compatibles
About This Manual
MIO-F-5/16X d ev iceRefers to the A T-M IO - 16F- 5, AT- MI O-16 X, a nd the AT -M IO -64F -5 .
MIO-16/16D d ev iceRefers to the A T -MIO - 16 an d AT -M IO- 16D .
MIO-16XE-50 d evi ceRefers to the A T-M IO -16X E -50, DA QP ad-M IO- 16X E-50 , an d
NEC-MIO-16XE-5 0, a nd PCI- MIO -16 XE-5 0.
MIO-64Refers to the AT-MIO-64F-5, AT-MIO-64E-4, PCI-6031E, PCI-6033E,
PCI-6071E, VXI-MIO -64E-1, and VXI-M IO-64X E-10.
monospaceText in this font denotes text or characters that you should literally enter
from the keyboard, sections of co de, pro gramming ex ample s, and
syntax examples. This fo nt a lso is used for the pro per n am es of d isk
drives, paths, directories, programs, subprogram s, subroutines, device
names, functions, operations, variables, filenames, and extensions, and
for statements and c omm en ts take n from p rogra m code .
monospace italic
Italic text in this font denotes th at you mu st su pply the appr opriate
words or values in the place of these items.
NI-DAQRefers to the NI-DA Q softwa re for PC co mpat ible s, unless other wi se
noted.
PCRefers to the IBM PC/XT, IBM PC AT, and compatible computers.
PCI SeriesRefers to the National Instrum ents p rod ucts that use the
high-performance expan sion bus architec ture origin ally develope d
by Intel to replace ISA and EISA.
Remote SCXIRefers to an SCXI configuration where either an SCXI-2000 chassis or
an SCXI-2400 remote commu nications module is connected to the PC
serial port.
SCXI-1102/B/C SCXI-1102/B/C refers to the SCX I-11 02, SCX I-11 02B , an d
SCXI-1102C devices.
SCXI-1120/D SCXI-1120/D refers to the SCXI-112 0 and SCXI-11 20D.
SCXI analog i np ut Refers to t he S C XI -1 100, SC X I-1102 , S CXI-1 120 , S CXI-1 120 D,
moduleSCXI-1121, SCXI-1122, SCXI- 1140, and SCX I-1141 .
SCXI chassisRefers to the SCXI-1000, SCXI-1000DC, SCXI-1001, and SCXI-2000.
SCXI digital modul eRefers to the SCXI -1160 , SCXI-1 161, S CXI-1 162, SCX I-1162 HV,
Simultaneous samplingRefers to the PCI-6110E, PCI-6111E, PCI-4451, PCI-4452, PCI-4551,
deviceand PCI-4552.
VXI-MIO deviceRefers to the VXI-MIO-64E-1 and VXI-MIO-64XE-10.
VXI-SC-1102/B/CRefers to the VXI-SC-1102 , VXI-SC- 110 2B, a nd V XI-SC -11 02C.
MIO and AI Device Terminology
This manual uses generic terms to describe groups of devices whenever
possible. The generic terms for the MIO and AI devices are based on
the number of bits, the platform, the functionality, and the series name
of the devices. Table 1 lists each MIO and AI device and the possible
classifications for each.
Table 1.
Number
of SE
Device
AT-AI-16XE-101616-bitATAIE Series
AT-MIO-161612-bitATMIOAm9513-based
AT-MIO-16D1612-bitATMIOAm9513-based
AT-MIO-16DE-101612-bitATMIOE Series
AT-MIO-16E-11612-bitATMIOE Series
AT-MIO-16E-21612-bitATMIOE Series
AT-MIO-16E-101612-bitATMIOE Series
AT-MIO-16F-51612-bitATMIOAm9513-based
AT-MIO-16X1616-bitATMIOAm9513-based
AT-MIO-16XE-101616-bitATMIOE Series
AT-MIO-16XE-501616-bitATMIOE Series
AT-MIO-64E-36412-bitATMIOE Series
AT-MIO-64F-56412-bitATMIOAm9513-based
DAQCard-AI-16E-41612-bitPCMCIAAIE Series
Channels
MIO and AI Devices
BitTypeFunctionalitySeries
DAQCard-AI-16XE-501616-bitPCMCIAAIE Series
DAQPad-MIO-16XE-501616-bitParallel PortMIOE Series
DAQPad-6020E1612-bitUSBMIOE Series
NEC-AI-16E-41612-bitNECAIE Series
National Instruments CorporationxviiNI-DAQ FRM for PC Compatibles
About This Manual
Table 1. MIO and AI Devices (Continued)
Number
Device
NEC-AI-16XE-501616-bitNECAIE Series
NEC-MIO-16E-41612-bitNECMIOE Series
NEC-MIO-16XE-501616-bitNECMIOE Series
PCI-6031E (MIO-64XE-1 0)6416-bitPCIMIOE Series
PCI-6032E (AI-16XE-10)1616-bitPCIAIE Series
PCI-6033E (AI-64XE-10)6416-bitPCIAIE Series
PCI-6071E (MIO-64E-1)6412-bitPCIMIOE Series
of SE
Channels
BitTypeFunctionalitySeries
PCI-6110E4 diff.
only
PCI-6111E2 diff.
only
PCI-MIO-16E-11612-bitPCIMIOE Series
PCI-MIO-16E-41612-bitPCIMIOE Series
PCI-MIO-16XE-101616-bitPCIMIOE Series
PCI-MIO-16XE-501616-bitPCIMIOE Series
PXI-6011E1616-bitPXIMIOE Series
PXI-6030E1616-bitPXIMIOE Series
PXI-6040E1612-bitPXIMIOE Series
PXI-6070E1612-bitPXIMIOE Series
VXI-MIO-64E-16412-bitVXIMIOE Series
VXI-MIO-64XE-106416-bitVXIMIOE Series
The NI-DAQ Function Reference Manual for PC Compatibles is one piece
of the documentation set for your DAQ system. You might have any of
several types of manuals, depending on the hardware and software in your
system. Use these manuals as follows:
•Your SCXI hardware user manuals—If y ou are using SCXI, read these
manuals next for detailed information about signal connections and
module configuration. They also explain in greater detail how the
module works and contain application hints.
•Your DAQ hardware user manuals—These manuals have detailed
information about the DAQ hardware that plugs into or is connected
to your computer. Use these manuals for hardware installation and
configuratio n i ns truct i on s, speci fication informati o n abo ut you r DAQ
hardware, and application hint s .
•Software documentation—Examples of software documentation you
might have are the ComponentWorks, LabVIEW and
LabWindows/CVI, VirtualBench, and NI-DAQ documentation. After
you have set up your hardware system, use either the application
software or the NI-D AQ do cuments to help you write your application.
If you have a large and complicated system, it is worthwhile to look
through the software manuals before you configure your hardware.
•Accessory installation guides or manuals—If you are using accessory
products, read the terminal block and cable assembly installation
guides or accessory board user manuals. They explain how to
physically connect the relevant pieces of the system. Consult these
guides when you are making your connections.
•SCXI Ch assis User Ma nual—If you are us ing SCXI, read this manual
for maintenance information on the chassis an d installation
instructions.
National Instruments wants to receive your comments on our products
and manuals. We are interested in the applications you develop with
our products, and we want to help if you have problems with them.
To make it easy for you to contact us, this manual contains comment
and configuration forms for you to complete. These forms are in
Appendix D, Custome r Communication, at the end of this manual.
This chapter contains important information about how to apply the
function descriptions in this manual to your programming language and
environment.
When you are familiar with the material in the NI-DAQ User Manual for PC Compatibles, you can use this manual for detailed information about
each NI-DAQ function.
1
Status Codes, Device Numbers, and SCXI Chassis IDs
National Instruments Corporation1-1NI-DAQ FRM for PC Compatibles
In all applications,
contains a list of
In the parameter tables that follow the status codes, the first parameter to
almost ev ery NI-DA Q functi on is the device n umber of the D AQ d evice you
want NI-DAQ to use for the given operation. After you have followed the
installation and configuration instructions in the NI-D A Q release notes and
Chapter 1, Introduction to NI-DAQ, of the NI-DAQ User Manual for PC Compatibles, you can use the NI-DAQ Configuration Utility to determine
the device number for each de vice you ha ve installed in the system.You can
status
status
is always a 16-bit integer. Appendix A,
codes.
Status Codes
,
Chapter 1Using the NI-DAQ Functions
use the configuration utility to verify your device numbers. You can use
multiple DAQ devices in one application; to do so, simply pass the
appropriate device number to each function.
If you are using SCXI, you must pass the chassis ID that you assigned to
your SCXI chassis in the configuration utility to the SCXI functions that
you use. For many of the SCXI functions, you must also pass the module
slot number of the module you want to use. The slots in the SCXI chassis
are numbered from left to rig ht, beginning wi th slot 1. The controlle r on the
left side of the chassis is referred to as Slot 0. Y ou can use the configuration
utility to verify your chassis IDs and your module slot numbers.
Variable Data Types
The NI-DAQ API is identical in Windows 95 and Windows NT. Every
function description has a parameter table that lists the data types in each
of the environments. LabWindows/CVI uses the same types as Windows.
The following sections describe the notation used in those parameter tables
and throughout the manual for variable data types.
Primary Types
Table 1 -2 shows the primary type names and their ranges.
Type
Name
u88-bit ASCII
i1616-bit signed
DescriptionRange
0 to 255
character
–32,768 to 32,767
integer
Table 1-2.
Primary Type Names
C/C++Visual BA SIC
char
shortInteger
Not supported by
BASIC. For functions
that require ch arac ter
arrays, use string
types instead. See the
STR description.
Use character
array terminat ed
by the null
character
\0
Not supported by
BASIC. For functions
that require unsigned
integers, use the
signed integer type
instead. See the i16
description.
(for example:
count&
Not supported by
BASIC. For functions
that require unsigned
long integers, us e the
signed long integer
type instead. See th e
i32 description.
example:
example:
voltage#
String
example:
filename$
Type
)
(for
num!
(for
(for
Pascal (Borland
Delphi)
Word
LongInt
Cardinal
32-bit operating
systems). Refer to
the i32
description.
Single
)
Double
)
String
)
(in
Arrays
When a primary type is inside square brackets (for example, [i16]) an array
of the type named is required for that parameter.
Multiple Types
Some parameters can be in multiple types. Combinations of the primary
types separated by commas denote parameters with th is ability, as in the
following example:
National Instruments Corporation1-3NI-DAQ FRM for PC Compatibles
Chapter 1Using the NI-DAQ Functions
The previous example describes a parameter that can accept an array of
signed integers or an array of floating-point numbers.
Programming Language Considerations
Apart from the data type differences, there are a few language-dependent
considerations you need to be aware of when you use the NI-DAQ API.
Read the following sections that apply to your programming language.
Note
Be sure to include the NI-DAQ function prototype files by including the
appropriate NI-DAQ header file in your source code.
Borland Delphi
When you pass arrays to NI-DAQ functions using Borland Delphi in
Windows, you need to pass a pointer to the array. You can either declare an
array and pass the array address to the NI-DAQ function, or you can
declare a pointer, dynamically allocate memory for the pointer, and pass
the pointer directly to the NI-DAQ function. For example,
var
buffer : array [1..1000] of Integer;
bufPtr : ^Integer;
status := DAQ_Start (device, chan, gain, @buffer, count,
timebase, sampInterval);
or
(* allocate memory for bufPtr first using AllocMem or
New *)
status := DAQ_Start (device, chan, gain, bufPtr, count,
timebase, sampInterval);
Visual Basic for Windows
When you pass arrays to NI-DAQ functions using Visual Basic for
Windows, you need to pass the first element of the array by referen ce. For
example, you would call the
syntax:
The file NIDAQCNS.INC contains definitions for constants required for
some of the NI-DAQ functions. You should use the constants symbols in
your programs; do not use the numerical values.
In Visual Basic for Windows, you can add the entire
NIDAQCNS.INC file
into your project. You then will be able to use any of the constan ts def i ned
in this file in any module in your program.
T o add the
NIDAQCNS.INC file for your pr oject in V isual Ba sic 3.0 and 4.0,
go to the File menu and select the Add File... option. Select
NIDAQCNS.INC, which is the Include subdirectory of NI-DAQ
subdirectory. Then, select Open to add the file to the project.
To add the
NIDAQCNS.INC file to your project in Visual Basic 5.0, go to
the Project menu and select Add Module. Click on the Existing tab page.
NIDAQCNS.INC, which is the Include subdirectory of your
Select
NI-DAQ directory. Then, select Open to add the file to the project.
This procedure is identical to the procedure you would follow wh en loading
the Visual Basic f ile
CONSTANT.TXT. Search on the word CONSTANT for
more information from the V isual Basic on-line help. Alternatively , you can
cut and paste individual lines from this file and place them in the module
where you need them. Ho wever , if you do so, yo u shoul d remo v e the w or d
Global from the CONSTANTS definition.
For example,
GLOBAL CONST ND_DATA_XFER_MODE_AI& = 14000
would become:
CONST ND_DATA_XFER_MODE_AI& = 14000
NI-DAQ for LabWindows/CVI
Inside the LabWindows/CVI environment, the NI-DAQ functions appear
in the Data Acquisition function panels under the Libraries menu. Each
function panel represents an NI-DAQ function, which is displayed at the
bottom of the panel. The function panels have help text for each function
and each parameter; however, if you n eed ad ditional inf ormatio n, y ou can
look up the appropriate NI-DAQ function alphabetically in Chapter 2,
National Instruments Corporation1-5NI-DAQ FRM for PC Compatibles
Chapter 1Using the NI-DAQ Functions
Table 1-3 shows how the LabWindows/CVI function panel tree is
organized, and the NI-DAQ function name that corresponds to each
function panel.
Table 1-3.
LabWindows/CVI Function PanelNI-DAQ Function
Data Acquisition
Initialization/Utilities
Initialize Board
Configure Timeout
Get Device Information
Set Device Information
Align DMA Buffer
Get DAQ Library Version
Select E-Series Signals
Config Analog Trigger
Change Line Attribute
Board Config & Calibrate
Configure MIO Boards
Configure AMUX Boards
The LabWindows/CVI Function Tree for Data Acquisition
Init_DA_Brds
Timeout_Config
Get_DAQ_Device_Info
Set_DAQ_Device_Info
Align_DMA_Buffer
Get_NI_DAQ_Version
Select_Signal
Configure_HW_Analog_Trigger
Line_Change_Attribute
MIO_Config
AI_Mux_Config
Configure SC-2040
Calibrate MIO Boards
Calibrate E Series
Calibrate LPM-16
Calibrate Analog Output
Calibrate 1200 Devices
Calibrate DSA Devices
Change Analog Input Parameter
Measure Voltage
Clear Analog Input
Read Analog Binary
Scale Binary to Voltage
Setup Analog Input
Check Analog Input
Configure Analog Input
Multiple Point
Acquire Single Channel
Scan Multiple Channels
Scan Lab Channels
Table 1-3.
The LabWindows/CVI Function Tree for Data Acquisition (Continued)
AI_Change_Parameter
AI_VRead
AI_Clear
AI_Read
AI_VScale
AI_Setup
AI_Check
AI_Configure
DAQ_Op
SCAN_Op
Lab_ISCAN_Op
Single Scan Binary
Single Scan Voltage
Single Channel to Disk
Multiple Chan to Disk
Scan Lab Chan to Disk
The LabWindows/CVI Function Tree for Data Acquisition (Continued)
LabWindows/CVI Function PanelNI-DAQ Function
Waveform Generation
Generate WFM from Array
Generate WFM from Disk
WFM_Op
WFM_from_Disk
Low-Level Functions
Scale Waveform Buffer
Convert Waveform Rate
Assign Waveform Group
Load Waveform Buffer
Assign Rate to WFM Group
Control Waveform Group
Pause/Resume WF M Cha nnel
Check Waveform Channel
Enable Double Buffering
Is Half Buffer Read y?
WFM_Scale
WFM_Rate
WFM_Group_Setup
WFM_Load
WFM_ClockRate, WFM_Set_Clock
WFM_Group_Control
WFM_Chan_Control
WFM_Check
WFM_DB_Config
WFM_DB_HalfReady
Copy Array to WFM Buffer
WFM_DB_Transfer
Digital Input/Output
Configure Port
Configure Line
Read Port
Read Line
Write Port
Write Line
Get Port Status
Configure Trigger
National Instruments Corporation1-9NI-DAQ FRM for PC Compatibles
DIG_Prt_Config
DIG_Line_Config
DIG_In_Port
DIG_In_Line
DIG_Out_Port
DIG_Out_Line
DIG_Prt_Status
DIG_Trigger_Config
Chapter 1Using the NI-DAQ Functions
Table 1-3.
The LabWindows/CVI Function Tree for Data Acquisition (Continued)
LabWindows/CVI Function PanelNI-DAQ Function
Group Mode
Configure Group
Read Group
Write Group
Get Group Status
Set Group Mode
DIG_Grp_Config
DIG_In_Grp
DIG_Out_Grp
DIG_Grp_Status
DIG_Grp_Mode
Block Transfer
Read Block
Write Block
Check Block
Clear Block
Set Up Pattern Generation
Set Up Digital Scanning
Enable Double Buffering
DIG_Block_In
DIG_Block_Out
DIG_Block_Check
DIG_Block_Clear
DIG_Block_PG_Config
DIG_SCAN_Setup
DIG_DB_Config
Is Half Buffer Read y?
Transfer To/From Array
SCXI
Load SCXI Configuration
Change Configuration
Get Chassis Config Info
Get Module Config Info
Read Module ID Register
Reset SCXI
Set Up Single AI Channel
Set Up Muxed Scanning
The LabWindows/CVI Function Tree for Data Acquisition (Continued)
LabWindows/CVI Function PanelNI-DAQ Function
Set Up Mux Counter
Set Up Track/Hold
Control Track/Hold State
Select Gain
Configure Filter
Select Scanning Mode
Change AI Channel
Scale SCXI Data
Write to AO Channel
Set Digital or Relay State
Get Digital or Relay State
Get Status Register
Set Up Calibration Mode
Change Cal Constants