Measure Data Acquisition User Manual

Measure Data Acquisition User Manual
Measure™
Data Acquisition
User Manual
August 1998 Edition
Part Number 321004C-01
© Copyright 1995,1998 National Instruments Corporation.
All rights reserved.
Internet Support
E-mail: [email protected]
FTP Site: ftp.natinst.com
Web Address: http://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 (U.S.)
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,
Brazil 011 288 3336, Canada (Ontario) 905 785 0085, Canada (Québec) 514 694 8521,
Denmark 45 76 26 00, Finland 09 725 725 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 Authorization (RMA) number must be obtained from the factory and clearly marked on the outside
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 information in this manual is accurate. The document has been carefully
reviewed for technical accuracy. In the event that technical or typographical errors exist, National Instruments reserves
the 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.
EXCEPT AS SPECIFIED HEREIN, NATIONAL INSTRUMENTS MAKES NO WARRANTIES, EXPRESS OR
IMPLIED, AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR
A PARTICULAR PURPOSE. CUSTOMER’S 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. NATIONAL INSTRUMENTS WILL NOT BE LIABLE FOR
DAMAGES RESULTING FROM LOSS OF DATA, PROFITS, USE OF PRODUCTS, OR INCIDENTAL OR
CONSEQUENTIAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. This limitation of the
liability of National Instruments will apply regardless of the form of action, whether in contract or tort, including
negligence. Any action against National Instruments 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.
Copyright
Under the copyright laws, this publication may not be reproduced or transmitted in any form, electronic or mechanical,
including photocopying, recording, storing in an information retrieval system, or translating, in whole or in part,
without the prior written consent of National Instruments Corporation.
Trademarks
Measure™ and NI-DAQ™ are trademarks of National Instruments Corporation.
Product and company names listed 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 designer. Any use or application of National Instruments products for or involving medical or
clinical treatment must be performed by properly trained and qualified medical personnel, and all traditional medical
safeguards, equipment, and procedures that are appropriate in the particular situation to prevent serious injury or death
should always continue to be used when National Instruments products are being used. National Instruments products
are NOT intended to be a substitute for any form of established process, procedure, or equipment used to monitor or
safeguard human health and safety in medical or clinical treatment.
About This Manual ...............................................................................................................ix
Organization of This Manual.............................................................................................ix
Conventions Used in This Manual .....................................................................................x
Related Documentation .....................................................................................................xi
Customer Communication .................................................................................................xi
Chapter 1
Introduction ............................................................................................................................1-1
Using Measure with Your DAQ Device..........................................................................1-1
Configuring Channels with the DAQ Channel Wizard ...................................................1-2
DAQ Device Overview ...................................................................................................1-2
Installing Measure ...........................................................................................................1-3
Manually Adding or Removing the DAQ Add-In.............................................1-3
Uninstalling Measure.......................................................................................................1-4
Chapter 2
Getting Started with Data Acquisition Tasks ....................................................2-1
Selecting a Data Acquisition Task...................................................................................2-1
Configuring an Analog Input Task..................................................................................2-3
Configuring an Analog Output Task ...............................................................................2-6
Adding Tasks to the DAQ Menu.....................................................................................2-8
Saving Tasks....................................................................................................................2-9
Managing Tasks in a Workbook......................................................................................2-9
Chapter 3
Using SCXI with Measure DAQ ...................................................................................3-1
SCXI Operating Modes ...................................................................................................3-1
SCXI Analog Input............................................................................................3-2
Multiple SCXI Modules and Chassis ................................................................3-3
SCXI Analog Output.........................................................................................3-5
© National Instruments Corporation
v
Measure Data Acquisition User Manual
Table of Contents
Chapter 4
Analog Input Reference ..................................................................................................4-1
DAQ Device Overview ...................................................................................................4-1
Analog Input Configuration Overview............................................................................4-2
Analog Input Scan List......................................................................................4-2
Channels..............................................................................................4-3
High Limit...........................................................................................4-4
Low Limit ...........................................................................................4-4
Scan Information ...............................................................................................4-4
Number of Scans.................................................................................4-4
Scale to Volts ......................................................................................4-4
Timing Settings .................................................................................................4-4
Scans/Second ......................................................................................4-5
External Scan Clock............................................................................4-5
Display ..............................................................................................................4-6
At cell..................................................................................................4-6
In Columns..........................................................................................4-6
In Rows ...............................................................................................4-6
Trigger Reference ............................................................................................................4-7
Mode Reference...............................................................................................................4-8
Advanced Timing Settings ............................................................................................4-10
Chapter 5
Analog Output Reference ...............................................................................................5-1
Analog Output Configuration Overview .........................................................................5-1
Advanced Configuration..................................................................................................5-3
Chapter 6
Using Measure Data Acquisition Tasks with VBA ...........................................6-1
Function Reference..........................................................................................................6-1
DAQ ..................................................................................................................6-1
GetDAQErrorMessage ......................................................................................6-3
Appendix A
DAQ Hardware Capabilities
MIO and AI Device Hardware Capabilities ...................................................................A-1
Lab and 1200 Series and Portable Devices Hardware Capabilities................................A-8
SCXI Module Hardware Capabilities ...........................................................................A-10
Analog Output Only Devices Hardware Capabilities...................................................A-13
Measure Data Acquisition User Manual
vi
© National Instruments Corporation
Table of Contents
Appendix B
Error Codes
Appendix C
Troubleshooting
Appendix D
Customer Communication
Glossary
Index
Figures
Figure 1-1.
Add-Ins Dialog Box................................................................................................1-4
Figure 2-1.
Figure 2-2.
Figure 2-3.
Figure 2-4.
Figure 2-5.
Figure 2-6.
Figure 2-7.
Figure 2-8.
Figure 2-9.
DAQ Tasks Dialog Box..........................................................................................2-2
Analog Input Configuration....................................................................................2-3
Task Description Dialog Box .................................................................................2-5
DAQ Tasks Dialog Box..........................................................................................2-5
Analog Output Configuration Dialog Box .............................................................2-6
DAQ Tasks Dialog Box..........................................................................................2-7
Adding Tasks to the DAQ Menu ............................................................................2-8
The DAQ Menu ......................................................................................................2-8
DAQ Tasks Dialog Box..........................................................................................2-9
Figure 3-1.
Selecting the Add>> button ....................................................................................3-4
Figure 4-1.
Figure 4-2.
Figure 4-3.
Figure 4-4.
Figure 4-5.
Figure 4-6.
Analog Input Configuration Dialog Box ................................................................4-2
Scan Clock and Channel Clock ..............................................................................4-5
Round Robin Scanning...........................................................................................4-5
Hardware Digital Trigger Dialog Box ....................................................................4-7
Analog Input Mode Dialog Box .............................................................................4-9
Advanced Timing Settings Option .......................................................................4-10
Figure 5-1.
Figure 5-2.
Analog Output Configuration .................................................................................5-1
Advanced Analog Output Configuration Dialog Box ............................................5-3
© National Instruments Corporation
vii
Measure Data Acquisition User Manual
Table of Contents
Tables
Table 2-1.
DAQ Tasks Dialog Box Options ..........................................................................2-10
Table 3-1.
SCXI Channel Strings Syntax ................................................................................3-4
Table 4-1.
Table 4-2.
Table 4-3.
Table 4-4.
Table 4-5.
Examples of Valid Channel Strings........................................................................4-3
Analog Input Configuration Buttons/Options ........................................................4-7
Choices for Hardware Digital Trigger ....................................................................4-8
Choices for Analog Input Mode Dialog Box..........................................................4-9
Choices for Advanced Timing..............................................................................4-10
Table 5-1.
Table 5-2.
Analog Output Configuration Reference................................................................5-2
Advanced Analog Output Configuration Options ..................................................5-4
Table A-1.
Table A-2.
Table A-3.
Table A-4.
Table A-5
Table A-6
Table A-7.
Table A-10.
Table A-11.
Table A-12.
Table A-13.
Table A-14.
Analog Input Configuration Programmability - MIO and AI Devices..................A-1
Analog Input Characteristics - MIO and AI Devices (Part 1) ...............................A-2
Analog Input Characteristics - MIO and AI Devices (Part 2) ...............................A-3
Internal Channel Support - MIO and AI Devices ..................................................A-4
Analog Output Characteristics - MIO and AI Devices..........................................A-5
Analog Output Characteristics - E Series Devices ................................................A-7
Analog Input Configuration Programmability - Lab,
1200 Series, and Portable Devices ...................................................................A-8
Analog Input Characteristics - Lab, 1200 Series, and
Portable Devices (Part 1)..................................................................................A-9
Analog Input Characteristics - Lab, 1200 Series, and
Portable Devices (Part 2)..................................................................................A-9
Analog Output Characteristics - Lab, 1200 Series, and Portable Devices...........A-10
Analog Input Characteristics - SCXI Modules ....................................................A-10
Analog Output Characteristics - SCXI Modules .................................................A-12
Terminal Block Selection Guide - SCXI Modules ..............................................A-12
Analog Output Characteristics - Analog Output Only Devices...........................A-13
Table B-1.
Data Acquisition Error Codes................................................................................B-1
Table A-8.
Table A-9.
Measure Data Acquisition User Manual
viii
© National Instruments Corporation
The Measure Data Acquisition User Manual describes how to use the
Measure Data Acquisition Add-In with National Instruments data
acquisition boards to acquire data into Microsoft Excel. You should be
familiar with the operation of Microsoft Excel, your computer, your
computer’s operating system, and your data acquisition (DAQ) board.
Organization of This Manual
The Measure Data Acquisition User Manual is organized as follows.
•
Chapter 1, Introduction, helps you install the Measure Data
Acquisition (DAQ) Add-In. You should have installed and
configured your DAQ hardware already.
•
Chapter 2, Getting Started with Data Acquisition Tasks, contains a
tutorial for the following basic functions: selecting a data
acquisition task, configuring an analog input task, configuring an
analog output task, adding tasks to the DAQ menu, saving tasks,
and managing tasks in a workbook.
•
Chapter 3, Using SCXI with Measure DAQ, describes how to use
the Measure Data Acquisition Add-In in Excel with your Signal
Conditioning Extension for Instrumentation (SCXI) equipment.
•
Chapter 4, Analog Input Reference, introduces some basic
concepts of data acquisition and contains a reference for analog
input configuration, hardware digital triggering, analog input
modes, and advanced timing. You should be familiar with the
hardware characteristics of your data acquisition device.
•
Chapter 5, Analog Output Reference, introduces some concepts of
data acquisition and contains a reference for basic and advanced
Analog Output Configuration.
© National Instruments Corporation
ix
Measure Data Acquisition User Manual
About This Manual
•
Chapter 6, Using Measure Data Acquisition Tasks with VBA,
describes how to run tasks from within Visual Basic for
Applications.
•
Appendix A, DAQ Hardware Capabilities, contains tables that
summarize the analog I/O capabilities of National Instruments data
acquisition devices you might use with Measure for Windows.
•
Appendix B, Error Codes, describes the errors that can occur
while using the Measure DAQ Add-In.
•
Appendix C, Troubleshooting, describes solutions to problems that
you might encounter using the Measure DAQ Add-In.
•
Appendix D, Customer Communication, contains forms you can
use to request help from National Instruments or to comment on
our products and manuals.
•
The Glossary contains an alphabetical list and descriptions 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.
bold
Bold text denotes a parameter, or the introduction of menus, menu
items, or dialog box buttons or options.
bold italic
Bold italic text denotes a note, caution, or warning.
italic
Italic text denotes emphasis, a cross reference, or an introduction to a
key concept.
Measure Data Acquisition User Manual
x
© National Instruments Corporation
About This Manual
monospace
Text in this font denotes text or characters that are to be literally input
from the keyboard, sections of code, programming examples, and
syntax examples. This font is also used for the proper names of disk
drives, paths, directories, programs, subprograms, subroutines, device
names, functions, variables, filenames, and extensions, and for
statements and comments taken from program code.
»
The » symbol leads you through nested menu items, and dialog box
options to a final action. The sequence Files»Page Setup»
Options»Substitute Fonts
directs you to pull down the File menu, select the Page Setup item,
select Options, and finally select the Substitute Fonts option from the
last dialog box.
Note:
This icon to the left of bold italicized text denotes a note, which
alerts you to important information.
Related Documentation
The NI-DAQ User Manual for PC Compatibles contains information
that you may find helpful as you read this manual.
Customer Communication
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, Customer Communication, at the end of this manual.
© National Instruments Corporation
xi
Measure Data Acquisition User Manual
Introduction
This chapter helps you install the Measure Data Acquisition (DAQ)
Add-In. You should have installed and configured your DAQ hardware
already. If you have not done so, please refer to the NI-DAQ
documentation that came with your device for instructions on
installation and configuration.
Using Measure with Your DAQ Device
Measure is designed to work with many different National Instruments
DAQ devices. Before you can use Measure, you must install and
configure your DAQ device and the NI-DAQ driver software that came
with your DAQ device. NI-DAQ is the low-level driver software that
controls your DAQ device. Measure is a higher-level software
development tool that communicates to your DAQ device through
NI-DAQ. Refer to the documentation that comes with your DAQ
device to learn how to install it properly.
Once you install your DAQ device, you must install and configure your
NI-DAQ driver software.
You use the NI-DAQ Configuration Utility to set up your DAQ device.
For some DAQ devices, such as the E Series boards, you do not have
to configure many settings. For other devices, you might be required to
set jumpers or switches on your device to configure it to work in your
system. Refer to the documentation that came with your DAQ device
to install your NI-DAQ driver software. The filename for the NI-DAQ
Configuration Utility is WDAQCONF.EXE in NI-DAQ versions 4.0 and
earlier. In NI-DAQ versions 5.0 and later, the filename is
NICFG16.EXE for Windows 3.1 and NIDAQCFG.EXE for Windows
95/98 or Windows NT 4.0.
© National Instruments Corporation
1-1
Measure Data Acquisition User Manual
Chapter 1
Introduction
Configuring Channels with the Channel Wizard
The NI-DAQ Configuration Utility is a Windows application you can
use to configure the analog input channels on your DAQ device. The
Channel Wizard feature helps you define the physical quantities you
are measuring on each DAQ hardware channel. As you configure
channels in the Channel Wizard, you give each channel configuration a
unique name that is used when addressing your channels in Measure.
The channel configurations you define are saved in a file that instructs
the NI-DAQ driver how to scale and process each DAQ channel by its
name. National Instruments recommends that you use the Channel
Wizard to configure the analog input channels for your DAQ device.
Refer to the NI-DAQ Configuration Utility online help for specific
instructions on how to use the Channel Wizard. In Windows 95/98 or
Windows NT 4.0, you can find the help file in Start»Programs»
National Instruments DAQ»NI-DAQ Help.
DAQ Device Overview
Measure is an easy-to-use spreadsheet interface for acquiring data with
a wide range of National Instruments DAQ devices. Because Measure
works with so many different devices, the functionality and
performance of the software often varies based on the particular DAQ
device you use. Although Measure senses the type of DAQ device you
are using, you might select options in the task configuration that are not
supported by your particular device. Measure notifies you when such a
conflict occurs when you close the configuration window, or when you
test the task you have defined. Make sure to test each task once you
define it.
The following pages contain a tutorial to show you how to use
Measure. Refer to the Managing Tasks in a Workbook section in
Chapter 2, Getting Started with Data Acquisition Tasks, for detailed
information on the analog input and output settings you can configure
with Measure.
Measure Data Acquisition User Manual
1-2
© National Instruments Corporation
Chapter 1
Introduction
Installing Measure
1.
Insert the Measure 2.0 CD into the CD-ROM drive .
2.
Select Start»Run from the taskbar in Windows 95 or File»Run
from the Program Manager in other versions of Windows.
3.
Type X:\SETUP in the box labeled Command Line, and then
select OK.
4.
Select a location for the setup program to install Measure for
Windows.
5.
Deselect any Add-Ins that you do not want to install.
6.
Select OK.
The setup program copies the program files and on-line help files to the
directory that you choose and creates a program group. Setup also
automatically configures Excel to load the DAQ Add-In when you
launch Excel. If you do not want Excel to automatically load the DAQ
Add-In, remove the Add-In manually as described in the following
section.
Manually Adding or Removing the DAQ Add-In
To add the DAQ Add-In manually, complete the following steps.
1.
In Excel, select Tools»Add-Ins.
2.
In the Add-Ins dialog box, search the Add-Ins Available list box
for the Measure Data Acquisition Add-In entry. Click in the
checkbox next to the Measure Data Acquisition Add-In entry. If
you cannot find the entry, click the Browse button and look for
DAQ.XLA in the directory where you installed Measure.
To remove the DAQ Add-In manually, deselect the checkbox next to
it, as shown in Figure 1-1. The next time you launch Excel, Excel will
not load the DAQ Add-In automatically.
© National Instruments Corporation
1-3
Measure Data Acquisition User Manual
Chapter 1
Introduction
Figure 1-1. Add-Ins Dialog Box
Uninstalling Measure
To uninstall Measure, remove Serial, Data Acquisition, and GPIB
Add-Ins from the Add-Ins list in Excel. Double-click the Uninstall
icon in the Measure folder to remove Measure from your computer.
Measure Data Acquisition User Manual
1-4
© National Instruments Corporation
Getting Started with
Data Acquisition Tasks
After you install and configure your hardware and install the Measure
Data Acquisition Add-In, you are ready to acquire data. This chapter
contains a tutorial for each of the following basic functions.
•
Selecting a Data Acquisition task
•
Configuring an Analog Input task
•
Configuring an Analog Output task
•
Adding tasks to the DAQ menu
•
Saving tasks
•
Managing tasks in a workbook
You only need to read the sections for the functions that you use in
your application.
Selecting a Data Acquisition Task
This section contains step-by-step instructions for configuring analog
input and output tasks with Measure. To configure tasks, complete the
following steps.
1.
Launch Excel.
2.
Select DAQ»Configure DAQ Tasks to display the DAQ Tasks
dialog box, as shown in Figure 2-1.
© National Instruments Corporation
2-1
Measure Data Acquisition User Manual
Chapter 2
Getting Started with Data Acquisition Tasks
Figure 2-1. DAQ Tasks Dialog Box
The DAQ Tasks dialog box manages the I/O operations, or tasks,
that you define with Measure. From this dialog box, you can create
new tasks, edit existing tasks, and run I/O tasks interactively to test
their operation.
3.
Select a DAQ device from the Data acquisition device drop-down
listbox at the top of the dialog box. The list of devices available in
the drop-down listbox is taken from the devices that you have
configured. If you configured your channels with the Channel
Wizard, select Use Named Channels in the list box. If you have
not run the configuration utility yet, refer to the documentation
that came with your DAQ hardware.
4.
Click on the AI button to display the Analog Input Configuration
dialog box, as shown in Figure 2-2.
Measure Data Acquisition User Manual
2-2
© National Instruments Corporation
Chapter 2
Getting Started with Data Acquisition Tasks
Figure 2-2. Analog Input Configuration
Configuring an Analog Input Task
From the Analog Input Configuration dialog box, you can specify all
the parameters for an analog input operation. In the following steps,
you create a simple analog input task. Refer to Chapter 4, Analog Input
Reference, for more detailed information about the different options for
analog input.
1.
The Analog Input Scan List at the top of the dialog box is where
you specify the input channels on your DAQ device from which
you would like to acquire data. For each input channel you add to
the scan list, you must specify a high- and low-voltage limit for the
signals you read. Measure puts default values for your device in
the high- and low-limit fields. Measure uses these limits to
configure the gain settings on your DAQ device for maximum
measurement accuracy.
Type 0 in the Channel field and click on the Add>> button to
place the channel into your scan list. If you are using named
channels, type the channel name in the Channel field and click on
the Add>> button to place the named channel in you scan list.
You cannot mix channels from multiple devices within a task.
© National Instruments Corporation
2-3
Measure Data Acquisition User Manual
Chapter 2
Getting Started with Data Acquisition Tasks
Note:
The High limit and Low limit fields and the Mode button are disabled in the
Analog Input Configuration dialog box when you select Use Named
Channels for your data acquisition device in the DAQ Tasks dialog box.
2.
In the Scan Information section of the dialog box, you specify how
many scans of your channel list are to be acquired. A scan is a
single measurement from each channel in your scan list. In this
example in which there is only one channel specified, the number
of scans is equal to the number of points acquired from Channel 0.
If you specified two channels in your channel list, 100 scans
would result in 200 points of data acquired (100 from each
channel).
Type 100 in the Number of Scans field.
3.
The Scan Rate section of the dialog box is where you specify how
fast you would like to acquire the data. The default setting of 1000
scans per second means that you acquire a single point from each
channel in your channel list 1000 times per second.
Type 1000 in the Scans/second field.
4.
The Display section of the dialog box is where you specify the
cells on your worksheet to contain the acquired data. You
manually can type in a spreadsheet address, such as $A$1, or you
can highlight the input field and use your mouse to select an area
on the spreadsheet to place your acquired data. Measure begins
with the upper-left most cell in the range that you supply and
places the data in rows or columns from that point in the
worksheet.
Type $A$1 to place the 100 elements of data in the first column of
your worksheet.
5.
Type the name Read Channel 0 in the Task Name field.
6.
Click on the Description button to add a description for your task
under development, as shown in Figure 2-3. Type Acquire
100 points of data from channel 0 in the Task
Description dialog box, and click on the OK button.
Now you have finished specifying your first Measure analog input
task.
Measure Data Acquisition User Manual
2-4
© National Instruments Corporation
Chapter 2
Getting Started with Data Acquisition Tasks
Figure 2-3. Task Description Dialog Box
7.
Click on the OK button to return to the DAQ Tasks dialog box, as
shown in Figure 2-4. Notice that you now have a task named
Read Channel 0 in your task list and that the description for
this new task appears in the dialog box as well.
Figure 2-4. DAQ Tasks Dialog Box
8.
© National Instruments Corporation
Click on the Run button to execute the task. When the task
completes, there are 100 datapoints in column A of your
worksheet.
2-5
Measure Data Acquisition User Manual
Chapter 2
Getting Started with Data Acquisition Tasks
Configuring an Analog Output Task
If your DAQ device has analog output channels, you can use Measure
to generate analog output signals based on values in your spreadsheet.
You use analog output tasks to generate signals. You specify an area
on your worksheet that contains data values, and Measure converts
these values to voltages and outputs them through an analog output
channel of your DAQ device. For more information on analog output
tasks, refer to Chapter 5, Analog Output Reference.
1.
In the DAQ Tasks dialog box, click on the AO button to display
the Analog Output Configuration dialog box, as shown in
Figure 2-5.
Figure 2-5. Analog Output Configuration Dialog Box
Note:
The Advanced button is disabled in the Analog Output Configuration dialog
box when you select Use Named Channels for your data acquisition device in
the DAQ Tasks dialog box.
2.
Type 0 in the Channel input field. If you are using named
channels, type the channel name in the Channel field.
3.
Type $A$1:$A$10 in the Data cells input field. You can type
this range manually, or highlight the input field and drag particular
areas of your worksheet to specify a cell range. This parameter
specifies which cell values are used as analog output values.
4.
Click on the Add button.
Measure Data Acquisition User Manual
2-6
© National Instruments Corporation
Chapter 2
Getting Started with Data Acquisition Tasks
5.
Type 10 in the Number of iterations input field. The number of
iterations determines how many times Measure outputs the values
specified in the cell range. You can type a value of 0 in this field
for continuous output of the values.
6.
Type 1000 in the Updates per second input field. As in acquiring
data, you must specify an update rate to determine how fast the
data outputs through the analog output channel.
7.
Type Output 10 iterations in the Task Name input field.
8.
Click on the Description button, and type Output 10
iterations of data on analog output Channel 0
for the description of your analog output task. Click on the OK
button.
9.
Now you have finished configuring your first Measure analog
output task. Click on the OK button to return to the DAQ Tasks
dialog box. Notice that your new analog output task appears in the
task list, as shown in Figure 2-6.
Figure 2-6. DAQ Tasks Dialog Box
10. Highlight the Output 10 iterations task and click on the
Run button to execute the analog output task. Make sure you have
valid voltage data in cells A1:A10 before running the task.
© National Instruments Corporation
2-7
Measure Data Acquisition User Manual
Chapter 2
Getting Started with Data Acquisition Tasks
Adding Tasks to the DAQ Menu
Now that the two tasks are configured and tested from the DAQ Tasks
dialog box, you might want to make them more accessible from your
spreadsheet. With Measure, you can easily add these tasks to the DAQ
menu.
1.
Select DAQ»Configure DAQ Tasks.
2.
Click on the Edit Menu button to display the Edit DAQ Menu
dialog box, as shown in Figure 2-7.
Figure 2-7. Adding Tasks to the DAQ Menu
3.
Highlight each of the tasks in the window on the right and click on
the Add button to add them to the DAQ menu.
4.
Click on the OK button to return to the Configure DAQ Tasks
menu. Click on the OK button to return to the Excel worksheet.
5.
Pull down the DAQ menu. Notice that two new entries now appear
in the DAQ menu, as shown in Figure 2-8. Now you can select
these tasks and execute them from the worksheet without going
into the Measure dialog boxes.
Figure 2-8. The DAQ Menu
Measure Data Acquisition User Manual
2-8
© National Instruments Corporation
Chapter 2
Getting Started with Data Acquisition Tasks
Saving Tasks
Each of your tasks are stored in your workbook automatically when
you click on the OK button in the DAQ Tasks dialog box. If you
configure a new task, but click on the Cancel button from the DAQ
Tasks dialog box, Measure does not store your new task in your
workbook.
Your tasks are saved as part of the Excel workbook. Each time you
launch Excel and open a workbook that contains Measure tasks, they
appear in the task list of the DAQ Tasks dialog box.
Managing Tasks in a Workbook
This section describes how to use the DAQ Tasks dialog box, as shown
in Figure 2-9, to manage the tasks in a workbook. You can open this
dialog box by selecting DAQ»Configure DAQ Tasks from the menu
bar.
Figure 2-9. DAQ Tasks Dialog Box
© National Instruments Corporation
2-9
Measure Data Acquisition User Manual
Chapter 2
Getting Started with Data Acquisition Tasks
Table 2-1 contains a list of the DAQ Tasks dialog box options with
descriptions of their use.
Table 2-1. DAQ Tasks Dialog Box Options
Option/Button
Description
Data acquisition device
Select the National Instrument data acquisition device for which you
want to create a task. Measure scans your NI-DAQ configuration for
installed devices and lists only those devices that Measure supports.
Data acquisition tasks
Measure lists all the tasks that you have created for a data acquisition
device. Select a task if you wish to run, edit, or delete it.
Task Description
Measure displays the description of the selected task. You can assign a
description to a task when you create or edit it.
Edit Menu
Add or delete tasks from the DAQ menu.
AI
Create an Analog Input task for the selected data acquisition device.
AO
Create an Analog Output task for the selected data acquisition device.
Run
Run the selected data acquisition task.
Edit
Edit the selected data acquisition task.
Delete
Delete the selected data acquisition task.
OK
Store in the active workbook all the changes that you made (creation of
tasks, changes to existing tasks, deletions of tasks, additions or
deletions to the DAQ menu).
Cancel
Ignore all the changes that you made (creation of tasks, changes to
existing tasks, deletions of tasks, additions or deletions to the DAQ
menu).
Measure Data Acquisition User Manual
2-10
© National Instruments Corporation
Using SCXI
with Measure DAQ
This chapter describes how to use the Measure data acquisition (DAQ)
Add-In in Excel with your Signal Conditioning Extension for
Instrumentation (SCXI) equipment.
SCXI is a set of modules and terminal blocks used as a signal condition
front-end for your data acquisition devices. These modules perform
tasks such as multiplexing large numbers of signals, amplifying lowlevel signals, providing isolation between your data acquisition devices
and transducers, and so on.
To use your SCXI modules with Measure, you must first configure all
your DAQ hardware using the NI-DAQ Configuration Utility. In the
configuration utility, you must assign a device number to each of your
DAQ devices and define the connections to your SCXI modules. In
most cases, your DAQ device is a plug-in board in your computer,
although it also can be a PC Card (PCMCIA) format DAQCard or a
SCXI-1200 module. You use the DAQ devices for the actual A/D
conversions of your analog input signals and for controlling SCXI
modules. Each SCXI module is controlled by one DAQ device and is
assigned as such in the configuration utility. If you have any questions
about the NI-DAQ Configuration Utility, consult the NI-DAQ
documentation.
Once you have configured the SCXI system, using the Measure DAQ
Add-In is very similar to using other DAQ devices. The only difference
in the operation is the use of the channel string in the scan list to
specify the channels on specific SCXI modules you want to acquire.
All other parameters of the DAQ Add-In operate the same.
SCXI Operating Modes
You can operate SCXI modules in two different modes-multiplexed
and parallel. In the multiplexed mode, all analog input channels for
each SCXI module are multiplexed (routed) onto one input channel of
© National Instruments Corporation
3-1
Measure Data Acquisition User Manual
Chapter 3
Using SCXI with Measure DAQ
your data acquisition device. The multiplexed mode is the default and
recommended mode to use with SCXI. In the parallel mode, each SCXI
module is directly connected to one data acquisition device and each
analog input channel on a SCXI module is connected to a separate
analog input channel on the data acquisition device. Not all data
acquisition devices or SCXI modules support the parallel mode.
Consult your data acquisition hardware user manual for more
information.
SCXI Analog Input
The following information is not relevant if you used the Channel
Wizard to configure your channels.
To configure channels on a SCXI analog input module in the DAQ task
configuration, select the DAQ device in the main DAQ Tasks dialog
box to which the SCXI module is directly or indirectly connected.
Then, click on the AI button to create an AI task or the Edit button to
modify an existing AI task. In the Analog Input Configuration dialog
box, specify the SCXI channel(s) you want to acquire in the Channels
field by entering a channel string. This channel string provides
information about the DAQ device channel, SCXI chassis number,
SCXI module number, and SCXI channel number. The channel string
has the following format:
ob0!scx!mdy!z
In the SCXI channel string, x represents the chassis number, y the
module number, and z the channel number.
‘ob0’ in the SCXI channel string indicates which onboard channel (on
the DAQ device) to use to acquire the data. In the SCXI multiplexed
mode (default mode), all SCXI channels from one SCXI chassis are
multiplexed onto one onboard channel. Usually, this is Channel 0 (ob0
in the SCXI string), unless you are using more than one SCXI chassis;
in which case each additional chassis uses the next onboard channel
(i.e. Chassis 2 uses onboard Channel 1, and so on).
‘scx’ represents the chassis number where x is replaced by the actual
number (e.g. sc1). The chassis are numbered starting with 1 and the
chassis number is assigned in the NI-DAQ Configuration Utility.
‘mdy’ represents the module number where y is replaced with the
actual number (e.g. md2). The modules are numbered 1 through n on
Measure Data Acquisition User Manual
3-2
© National Instruments Corporation
Chapter 3
Using SCXI with Measure DAQ
each SCXI chassis with module 1 being in the left-most slot of the
SCXI chassis and module n in the right-most slot.
‘z’ in the SCXI channel string represents the actual channel number
(e.g. 3). Channels on the SCXI modules are numbered starting at zero.
You specify a range of channels on your SCXI modules by listing the
first and last channel separated with a colon (e.g. 0:5).
You use the SCXI channel string only when the SCXI is operating in
multiplexed mode and channels are multiplexed onto one or more
channels of the data acquisition device. In parallel mode, specify the
channel of your data acquisition device to acquire. Each channel on
your DAQ device is mapped in hardware to one channel on a SCXI
module in parallel mode.
Multiple SCXI Modules and Chassis
The following information is not relevant if you used the Channel
Wizard to configure your channels.
In the scan list of your DAQ AI task, you can specify channels from
multiple SCXI modules or chassis by adding multiple entries to the
scan list. Repeat the Add operation for each SCXI module. However,
you can specify only one group of consecutive channels per SCXI
module in the scan list. You must specify consecutive channels in an
incremental order (e.g. ob0!sc1!md1!0:5,
ob0!sc1!md2!10:19). In the DAQ Tasks dialog box, the channel
setting would be listed as follows. The two lines in the scan list on the
right are added separately by twice filling in the channel field on the
left and clicking on the Add>> button, as shown in
Figure 3-1.
© National Instruments Corporation
3-3
Measure Data Acquisition User Manual
Chapter 3
Using SCXI with Measure DAQ
Figure 3-1. Selecting the Add>> button
Table 3-1 lists other possible combinations for SCXI channel strings.
Table 3-1. SCXI Channel Strings Syntax
String Syntax
Description
ob0!sc1!md2!5
Channel 5 on module 2 of SCXI Chassis 1 is read through
onboard Channel 0.
ob0!sc1!md2!0:7
ob0!sc1!md4!5:12
Channels 0-7 on Module 2 and Channels 5-12 on Module
4 of Chassis 1 are read through onboard Channel 0.
ob0!sc1!md3!3:4
ob1!sc2!md1!20:24
Channels 3 and 4 of Module 3 of Chassis 1 are read
through onboard Channel 0, and Channels 20-24 of
Module 1 on Chassis 2 are read through onboard
Channel 1.
In the parallel mode, each analog input SCXI module is connected
directly to a DAQ device and you must specify the channels of your
DAQ device in the channel list, not the SCXI channel string.
Note:
The SCXI-1200 does not support the parallel mode with other SCXI modules.
Measure Data Acquisition User Manual
3-4
© National Instruments Corporation
Chapter 3
Using SCXI with Measure DAQ
SCXI Analog Output
Only the SCXI-1124 module supports AO channels. This module has
six AO channels per module. The channels support only single-point
updates, and there is no waveform generation. SCXI AO channel
strings are structured the same as SCXI AI channel strings but without
the ‘ob0’ in front.
© National Instruments Corporation
3-5
Measure Data Acquisition User Manual
Analog Input Reference
This chapter introduces some basic concepts of data acquisition and
contains a reference for analog input configuration, hardware digital
triggering, analog input modes, and advanced timing. You should be
familiar with the hardware capabilities of your data acquisition device.
DAQ Device Overview
Measure works with a wide variety of National Instrument DAQ
devices. This chapter provides a technical overview and reference
information about using Measure for analog input operations. Many of
the parameters that you can set up with Measure vary depending on
your DAQ device. For example, DAQ devices vary in acquisition
speed which affects how fast you can acquire data using Measure.
In addition, some DAQ devices have more extensive triggering
capabilities than other DAQ devices. Measure does not disable any of
its options according to the selected DAQ device. When selecting
options which are not supported by a particular DAQ device, you get
an error message during configuration or testing. Refer to the
documentation included with your DAQ hardware to learn more about
the particular capabilities of your DAQ device.
© National Instruments Corporation
4-1
Measure Data Acquisition User Manual
Chapter 4
Analog Input Reference
Analog Input Configuration Overview
Select DAQ»Configure DAQ Tasks and then click on the AI button
to open the Analog Input Configuration dialog box, as shown in
Figure 4-1. The following sections describe the fields within the
Analog Input Configuration dialog box, and Table 4-2 explains the
remaining options at the bottom of the Analog Input Configuration
dialog box.
Note:
The High limit and Low limit fields and the Mode button are disabled in the
Analog Input Configuration dialog box when you select Use Named
Channels for your data acquisition device in the DAQ Tasks dialog box.
Figure 4-1. Analog Input Configuration Dialog Box
Analog Input Scan List
To configure an acquisition, you must select the channels that you want
to scan by entering a channel string in the Channels field. If you
configured your channel with the Channel Wizard, you must select the
channels you want by entering a channel name in the Channels field.
A scan is one acquisition or reading from each channel in the Analog
Input Scan List. The scan list can have multiple entries of one or more
channels. Each entry has its own set of high and low limits which
determines the gains on the channels in the entry.
Measure Data Acquisition User Manual
4-2
© National Instruments Corporation
Chapter 4
Analog Input Reference
Channels
Specify channels to add to the scan list. A channel string can consist of
a named channel defined with the Channel Wizard, a single channel, a
list of channels delimited by commas, a range of channels denoted by
the first and last channel of the range separated by a colon, or any
combination of the previous three types of syntax. The order that you
specify the channels in your channel string from left-to-right is the
order that Measure scans the channels. The following is a table of valid
channel strings.
Table 4-1. Examples of Valid Channel Strings
Valid Channel Strings
Channels in the Scan List
9
9
3,1
3, 1
4:7
4, 5, 6, 7
9,4:7,3,1
9, 4, 5, 6, 7, 3, 1
0,1 (using one AMUX board)
0, 1, 2, 3, 4, 5, 6, 7 on the AMUX board
0 (using two AMUX boards)
0, 1, 2, 3 on the first AMUX board and 0, 1, 2, 3 on the
second AMUX board
ob0!sc1!md1!0:3
0, 1, 2, 3 on the SCXI module in the first slot of the first
chassis
0b0!sc1!md3!0:4,
ob0!sc!md4!7
0, 1, 2, 3, 4 on the SCXI module in the third slot of the
first chassis and 7 on the SCXI module in the fourth slot
of the first chassis
ob0!sc1!md2!20:22,
ob1!sc2!md3!5:8
20, 21, 22 on the SCXI module in the second slot of the
first chassis and 5, 6, 7, 8 on the SCXI module in the
third slot of the second chassis
For more information about using SCXI, refer to Chapter 3, Using
SCXI with Measure DAQ.
Note:
Some devices, such as the 1200-Series, have a fixed scanning order. If you are
using a device that has a fixed scanning order and you want to scan multiple
channels, you must list the channels in the scan list in descending order with
the last channel in the scan list being Channel 0 (for example, 3, 2, 1, 0). If
you are using such a device in differential mode, you must use the evennumbered channels (for example, 6, 4, 2, 0).
© National Instruments Corporation
4-3
Measure Data Acquisition User Manual
Chapter 4
Analog Input Reference
High Limit
Enter the upper voltage limit for the channels in the channel string.
This voltage is the maximum voltage that is measured at any of the
analog input channels that you specify in the channel string. You can
add more than one channel string to your scan list and each channel
string can have a different set of high and low limits. When you create
an AI task, Measure enters the default value for the device. If you are
using named channels, this field is not available.
Low Limit
Enter the lower voltage limit for the channels in the channel string.
This voltage is the minimum voltage measured at any of the analog
input channels that are specified in the channel string. You can add
more than one channel string to your scan list and each channel string
can have a different set of high and low limits. When you create an AI
task, Measure enters the default value for your device. If you are using
named channels, this field is not available.
Note:
Not all devices can have scan lists in which different channels can have
different high and low limit settings.
Scan Information
The following options apply to all channels in the scan list.
Number of Scans
Specify the number of scans for the acquisition. The number of scans is
the number of data acquisitions or readings to acquire from each
channel.
Scale to Volts
Select this option if you want Measure to display the acquired data in
volts. Otherwise, Measure displays the data as the binary values read
from the analog-to-digital converter (ADC).
Timing Settings
A scan as a snapshot of the voltages present on your channels at a
given instant. The scan rate determines how many scans per second
Measure executes, which means that Measure samples each channel at
the scan rate you choose. If you set your scan rate to 10 scans per
Measure Data Acquisition User Manual
4-4
© National Instruments Corporation
Chapter 4
Analog Input Reference
second, you are taking 10 snapshots each second of all the channels in
your scan list. If Channel 2 is in your scan list, you sample Channel 2
ten times per second. Your scan rate is your sampling rate per channel.
In reality, your device does not take a snapshot of all your channels
instantaneously, unless it has the capability to do simultaneous
sampling. Rather, for each scan (as timed by the scan clock), the device
proceeds from one channel in the scan list to the next depending on the
channel clock rate. The faster the channel clock rate, the more closely
in time the channels are sampled within each scan. The reciprocal of
the channel clock rate is called the interchannel delay, or channel
interval, as shown in Figure 4-2.
Figure 4-2. Scan Clock and Channel Clock
Measure automatically calculates the smallest, safe interchannel delay
for your given configuration and device. If you select a scan rate that
requires an interchannel delay smaller than the safest interchannel
delay, Measure returns a warning and uses round-robin scanning.
Round-robin scanning means that the interval between the last channel
in one scan and the first channel of the following scan is the same as
the interval between any two channels in the middle of the scan, as
shown in Figure 4-3.
Figure 4-3. Round Robin Scanning
Scans/Second
Enter a scan rate for the acquisition in this field.
External Scan Clock
Select this option if you want to use an external signal for generating
the scan rate. Measure uses the signal on an I/O line on the connector
of your DAQ device for generating the scan clock.
© National Instruments Corporation
4-5
Measure Data Acquisition User Manual
Chapter 4
Analog Input Reference
Note:
For MIO-E Series devices, the external scan clock signal is connected to the
PFI7 pin. For most other devices, the external scan clock signal is connected
to the OUT2 line. Refer to the user manual for your DAQ device for more
information.
Display
When determining where to display the acquired data, Measure uses
three pieces of information you specify.
•
Address of the upper-left cell in the range you select
•
Orientation of the channels you select (in rows or columns)
•
Number of channels in the scan list
For example, if your scan list has four channels and the upper-left cell
of the range has the address A5 and you specify In columns for the
orientation, Measure displays the first scan of data in cells A5:D5, the
second in A6:D6 and so on. The acquired data from the first channel in
your scan list is displayed in the column headed by cell A5, the
acquired data from the second channel in your scan list is displayed in
the column headed by cell B5, and so on.
At Cell
Specify the target range of the acquired data. Either explicitly type the
cell address, or highlight the text in this field and select a cell on any
worksheet in the workbook. Measure automatically records the address
of your selection in this field.
In Columns
Select this option if you want to display your data in a channel per
column orientation.
In Rows
Select this option if you want to display your data in a channel per row
orientation.
Table 4-2 contains a list of the choices for the Analog Input
Configuration dialog box with descriptions of their use.
Measure Data Acquisition User Manual
4-6
© National Instruments Corporation
Chapter 4
Analog Input Reference
Table 4-2. Analog Input Configuration Buttons/Options
Option/Button
Task Name
Trigger
Mode
Description
OK
Cancel
Description
When you create a new AI task, Measure suggests a unique name for
your new task. You can specify a name that is unique to the currently
active workbook for this task.
Most data acquisition devices have a hardware digital trigger input
(TTL level). Click this button to configure a digital trigger for your
device.
Change the analog input mode from the setting that you specify when
you run the NI-DAQ Configuration Utility. Measure automatically
selects the option that reflects the current setting for your device.
Enter a short description of your task. Measure displays a description
of a task below the task list in the DAQ Tasks dialog box. Also, if you
add your task to the DAQ menu, Measure displays the task description
in the Excel status bar at the bottom of its window when you select the
task in the menu.
Verify configuration and add a new task or update an existing task in
the data acquisition tasks lists. Return to the DAQ Tasks dialog box.
Ignore changes and return to the DAQ Tasks dialog box.
Trigger Reference
On most DAQ Series devices, you can configure a digital trigger that
starts an acquisition, that stops an acquisition, or both. To set up a
hardware trigger, select Analog Input Configuration»Trigger to open
the Hardware Digital Trigger dialog box, as shown in Figure 4-4.
Figure 4-4. Hardware Digital Trigger Dialog Box
© National Instruments Corporation
4-7
Measure Data Acquisition User Manual
Chapter 4
Analog Input Reference
Table 4-3 contains a list of Hardware Digital Trigger choices with
descriptions of their use.
Table 4-3. Choices for Hardware Digital Trigger
Choices for Hardware
Digital Trigger
Description
Start acquisition on trigger
Select this option if you want to start your acquisition on
the rising edge of the PFI0/EXTTRIG/STARTTRIG
(depending on the board you are using) input on the
connector. Otherwise, Measure starts the acquisition
with a software trigger.
Acquire until trigger
Select this option if you want to stop your acquisition on
the rising edge of the PFI1/EXTTRIG/STOPTRIG
(depending on the board you are using) signal on the
connector. Otherwise, the acquisition ends after Measure
acquires all the scans.
scans after trigger
Specify the number of scans to acquire after the stop
trigger occurs.
Timeout (seconds)
Specify a timeout value in seconds. If you want Measure
to calculate a timeout value for you, enter -1. If you
specify an externally generated scan clock and a timeout
value of –1, Measure disables the timeout. You can stop
the acquisition by pressing the <Q> key.
Mode Reference
The Analog Input Mode applies to all the channels in your scan list.
Select Analog Input Configuration»Mode to open the Analog Input
Mode dialog box, as shown in Figure 4-5.
Note:
The Mode button is disabled in the Analog Input Configuration dialog box
when you select Use Named Channels for your data acquisition device in the
DAQ Tasks dialog box.
Measure Data Acquisition User Manual
4-8
© National Instruments Corporation
Chapter 4
Analog Input Reference
Figure 4-5. Analog Input Mode Dialog Box
Table 4-4 contains a list of Analog Input Mode choices with
descriptions of their use.
Table 4-4. Choices for Analog Input Mode Dialog Box
Choices for Analog Input Mode
Description
Differential Channels
Select this option if you want each channel to use two
analog channel input lines. One line connects to the
positive input of the device amplifier, and the other
connects to the negative input of the amplifier. Refer to
the user manual for your DAQ device for more
information about input modes available on your device.
Referenced Single-Ended Channels
Select this option if you want each channel to use one
analog input channel line, which connects to the positive
input of the amplifier. The negative input of the
amplifier is internally tied to analog input ground
AIGND. Refer to the user manual for your DAQ device
for more information about input modes available on
your device.
Non-Referenced Single-Ended
Channels
Select this option if you want each channel to use one
analog input channel line, which connects to the positive
input of the amplifier. The negative input of the
amplifier connects to the analog input sense AISENSE
input. Refer to the user manual for your DAQ device for
more information about input modes available on your
device.
© National Instruments Corporation
4-9
Measure Data Acquisition User Manual
Chapter 4
Analog Input Reference
Note:
The Analog Input Mode on some devices is not configurable within Measure.
If you have such a device, you must exit Measure and change the mode using
the NI-DAQ Configuration Utility. If you have a device with jumpers, you
must exit Measure, power down your computer, change the jumpers, and run
the NI-DAQ Configuration Utility to configure the new setting. Refer to the
NI-DAQ User Manual that came with your device for more information.
Advanced Timing Settings
Usually, you do not configure the advanced timing settings because
Measure automatically selects reasonable values for you. In some
cases, however, you might want to select an interchannel delay or an
external channel clock. You can configure these settings through the
Advanced Timing Settings dialog box, as shown in Figure 4-6.
Figure 4-6. Advanced Timing Settings Option
Table 4-5 contains a list of the Advanced timing settings with
descriptions of their use.
Table 4-5. Choices for Advanced Timing
Choice for Advanced Timing
Description
Let NI-DAQ choose an interchannel
delay
NI-DAQ calculates an interchannel delay for you, based
on your hardware, the limit settings for the task, and the
scan rate for the task.
Specify interchannel delay (µS)
Measure uses the interchannel delay you specify in
microseconds.
Use external channel clock
Measure configures your DAQ device to use an external
channel clock.
Measure Data Acquisition User Manual
4-10
© National Instruments Corporation
Analog Output Reference
This chapter introduces some concepts of data acquisition and contains
a reference for basic and advanced analog output configuration. You
should be familiar with the hardware capabilities of your data
acquisition device.
Analog Output Configuration Overview
Select DAQ»Configure DAQ Tasks and click on the AO button to
open the Analog Output Configuration dialog box, as shown in
Figure 5-1.
Figure 5-1. Analog Output Configuration Dialog Box
© National Instruments Corporation
5-1
Measure Data Acquisition User Manual
Chapter 5
Analog Output Reference
Note:
The Advanced button is disabled in the Analog Output Configuration dialog
box when you select Use Named Channels for your data acquisition device in
the DAQ Tasks dialog box.
Table 5-1 describes the fields within the Analog Output Configuration
dialog box.
Table 5-1. Analog Output Configuration Reference
Option
Description
Channel
Specify the analog output channel on which to generate a signal. You
can specify only one channel at a time.
Data cells
Specify the source range of the voltage values to write to the digital-toanalog converter (DAC) for the channel. Either explicitly type the cell
address, or highlight the text in this field and then select a row of cells
or a column of cells on any worksheet in the workbook. Measure
automatically records the address of your selection in this field.
Add>>
Click this button after specifying a channel and a data cells range.
Remove
Click this button to remove any channels or source ranges that you
selected in the list box.
Number of iterations
Specify the number of times Measure should iterate through the
waveform that you specified for a channel. If you specify 0 for the
number of iterations, Measure indefinitely iterates through the
waveform until you run another signal generation task on that same
device or until you exit Excel.
Updates per second
Specify the rate at which Measure writes the voltage values to the
DAC. If you specified more than one channel in your channel list, all
channels will have the same update rate.
Task Name
When you create a new AO task, Measure suggests a unique name for
your new task. You can change the name in the Task name edit box;
However, the name must be unique to the active workbook.
Description
Click on this button to enter a short description of your task. Measure
displays a description of a task below the task list in the DAQ Tasks
dialog box. Also, if you add your task to the DAQ menu, Measure
displays the task description in the Excel status bar at the bottom of its
window when you select the task from the menu.
Advanced
Click on this button to configure more of the advanced properties for
the analog output task.
Measure Data Acquisition User Manual
5-2
© National Instruments Corporation
Chapter 5
Option
Analog Output Reference
Description
OK
Verify configuration and add a new task or update an existing task in
the data acquisition tasks lists. Return to the DAQ Tasks dialog box.
Cancel
Ignore changes and return to the DAQ Tasks dialog box.
Note:
If you want to generate waveforms on more than one channel, you must add
each channel separately to the channel list. Also, Measure requires that all
channels have the same number of voltage values to generate. If the range of
data for one channel is larger than for another channel in the scan list, the
shorter range of data is padded with the value 0 when Measure generates the
waveforms.
Advanced Configuration
For most tasks, it is not necessary to use the Advanced Analog Output
Configuration dialog box, as shown in Figure 5-2. You cannot use it if
you selected Use Named Channel as your data acquisition device. With
this dialog box, you can change the output range of your device by
specifying new high and low limits, or you can specify a current
channel type, if your device supports it. Refer to Table 5-2 for detailed
information.
Figure 5-2. Advanced Analog Output Configuration Dialog Box
© National Instruments Corporation
5-3
Measure Data Acquisition User Manual
Chapter 5
Analog Output Reference
Table 5-2. Advanced Analog Output Configuration Options
Option
Description
High Limit (volts)
The high limit is equal to your reference voltage and is the maximum
voltage the DAC can produce. If you have an AT-AO-6/10 board and
your Channel Type is current, you can calculate the maximum possible
current with the following equation.
Imax = Vref + 2.5/0.625 mA
The following list contains the default settings for high limit. If you
want to use a high limit that differs from the ones given in this list, you
must supply an external voltage reference on the EXTREF pin of the
connector and select the External Voltage Reference option.
Most devices:
10.0 V
Lab/1200 Series: -5.0 V or 10.0 V
Low Limit (volts)
The low limit is either 0.0 Volts or a value equal to, but opposite in
sign, to the upper limit.
External Voltage
Reference
Select this option if you want to supply an external voltage reference
on the EXTREF pin of the connector.
Measure Data Acquisition User Manual
5-4
© National Instruments Corporation
Using Measure Data
Acquisition Tasks with VBA
This chapter describes how to run tasks from within Visual Basic for Applications.
There are two ways to execute DAQ Add-In functions in a VBA module.
1.
Indirectly, you can use Application.Run
returnValue=Application.Run(“FuncName”, arg1)
Application.Run “FuncName”, arg1
2.
Directly, after you add a reference to the DAQ Add-In. To add a reference to the
DAQ Add-In, select Tools»References and select the checkbox next to the Data
Acquisition Add-In.
returnValue = FuncName(arg1)
FuncName arg1
Function Reference
The DAQ Add-In has one function that you can call to run a task that has been
configured already and one function to translate an error code to an error description.
DAQ
Runs the task named TaskName.
Syntax
Function DAQ(TaskName as String, [NewTargetRange as String],
[ReferenceStyle as Variant]) as Integer
© National Instruments Corporation
6-1
Measure Data Acquisition User Manual
Chapter 6
Using Measure Data Acquisition Tasks with VBA
Parameters
Option
Description
TaskName
The name of a task in the active workbook.
NewTargetRange
The address of a range on a worksheet that receives the acquired data.
If you fail to specify a worksheet explicitly in the address of this
macro, Measure assumes that the range is on the active worksheet. If
no worksheet is active, Measure returns an error. If this parameter is
missing, Measure uses the previously configured range.
ReferenceStyle
Use either xlA1 or xlR1C1 to indicate the type of range address being
passed into NewTargetRange. If this parameter is missing, then
Excel’s current reference type is assumed.
Return Value
Returns 0 if successful, otherwise returns an error code. Refer to Appendix B, Error
Codes for more information.
Example
‘Referenced not added to DAQ Add-In; use indirect method
Sub RunMyTask()
Dim iErr As Integer
iErr = Appliction.Run(“DAQ”, “AI1”)
If iErr <> 0 Then
MsgBox Application.Run(“GetDAQErrorMessage”, iErr)
End If
End Sub
‘Referenced added to DAQ Add-In; use direct method
Sub RunMyTask()
Dim iErr As Integer
iErr = DAQ(“AI1”)
If iErr <> 0 Then
MsgBox GetDAQErrorMessage(iErr)
End If
End Sub
Measure Data Acquisition User Manual
6-2
© National Instruments Corporation
Chapter 6
Using Measure Data Acquisition Tasks with VBA
GetDAQErrorMessage
Finds and returns a description of an error code returned by the DAQ function.
Syntax
Function GetDAQErrorMessage(ErrorCode As Integer) As String
Parameters
Option
ErrorCode
Description
A non-zero number returned by the DAQ function that indicates an
error.
Return Value
A short description of the error code.
Example
See the previous example for the DAQ function.
© National Instruments Corporation
6-3
Measure Data Acquisition User Manual
DAQ Hardware Capabilities
This appendix contains tables that summarize the analog I/O
capabilities of National Instruments data acquisition (DAQ) devices
you might use with Measure for Windows. The devices in this
appendix are grouped into categories. The DAQ device categories for
these tables include the following.
•
MIO and AI Devices
•
Lab, 1200 Series, and Portable Devices
•
SCXI Modules
•
Analog Output Only Devices
MIO and AI Device Hardware Capabilities
Table A-1. Analog Input Configuration Programmability – MIO and AI Devices
Device
Gain
1
All MIO-E Series Devices
By channel
Range
By channel
Polarity
By channel
SE/DIFF
By channel
All AI-E Series Devices
Coupling
DC
AC, DC (for PCI-6110E,
PCI-6111E)
AT-MIO-16F-5
By channel
By group
By group
By group
DC
AT-MIO-64F-5
By channel
By channel
By channel
By channel
DC
By channel
By device
By device
By device
DC
AT-MIO-16X
AT-MIO-16/16D
1
The 64-channel MIO E-series boards have unusual scan strings when the analog input is differential. For example,
the possible channels needed to acquire data from a differential input situation is 0:7, 16:23, and etc.
“By device” means you select the value of a parameter with hardware jumpers, and the selection affects any group of
channels on the device. “By group” means you program the selection through software, and the selection affects all
the channels used at the same time. “By channel” means you program the selection with hardware jumpers or
through software on a per channel basis. When a specific value for a parameter is shown, that parameter value
is fixed.
© National Instruments Corporation
A-1
Measure Data Acquisition User Manual
Appendix A
DAQ Hardware Capabilities
Table A-2. Analog Input Characteristics – MIO and AI Devices (Part 1)
Number of
Channels Resolution
Device
AT-MIO-16E-1
16SE, 8DI
12 bits
1
Gains
0.5, 1, 2, 5,
Range (V)1
±5, 0 to 10
Input FIFO
(words)
512; E-1:
AT-MIO-16E-2
10, 20, 50,
8,192; E-2 and
AT-MIO-16E-10
100
E4: 2,048
512
Scanning2
Up to 512
AT-MIO-16DE-10
PCI-MIO-16E-1
PCI-MIO-16E-4
PCI-6110E
4 DI
12 bits
0.2, 0.5, 1.2, ±10
PCI-6111E
2 DI
12 bits
5, 10, 20, 50
64SE, 32DI
12 bits
AT-MIO-64E-1
3
0.5, 1, 2, 5,
Up to 4
Up to 2
±5, 0 to 10
2,048
Up to 512
±10, 0 to 10
512
Up to 512
±10, 0 to 10
512
Up to 512
0.5, 1, 2, 5,
5 to -5 and 0
8192
Up to 512
10, 20, 50,
to 10
10, 20, 50,
100
PCI-MIO-16XE-10
16SE, 8DI
16 bits
PCI-6032E (AI-16XE-10)
PCI-6031E
64SE, 32DI
(MIO-64XE-10)
3
3
PCI-6071E
64SE, 32DI
12
3
VXI-MIO-64E-1
1, 2, 5, 10,
20, 50, 100
PCI-6033E (AI-64XE-10)
(MIO-64E-1)
16bit
3
VXI-MIO-64XE-10
1, 2, 5, 10,
20, 50,100
3
PXI-6040E (MIO-16E-4)
100
16SE, 8DI
12 bit
PXI-6070E (MIO-16E-1)
0.5, 1, 2, 5,
5 to -5 and 0
1024 (6040E) Up to 512
10, 20, 50,
to 10
8192 (6070E)
0.5, 1, 2, 5,
±5, ±10, 0 to
16F-5: 256;
10, 20, 50,
10
64F-5: 512
±10, 0 to 10
512
Up to 512
Up to 16
100
AT-MIO-16F-5
16SE, 8DI
AT-MIO-64F-5**
64SE, 32DI
12 bits
Up to 512
100
AT-MIO-16X
16SE, 8DI
16
1, 2, 5, 10,
20, 50, 100
AT-MIO-16(L)
(L) 1, 10,
±5, ±10, 0 to
16 (L,H);
AT-MIO-16(H)
16SE, 8DI
12
100, 500;
10
512 (DL, DH)
AT-MIO-16D(L)
(H): 1, 2, 4, 8
AT-MIO-16D(H)
1
You can determine the limit settings of your device by multiplying the range and the voltage values together. For
more information on limit settings in LabVIEW, refer to the Basics LabVIEW Data Acquisition Concepts chapter in
the LabVIEW Data Acquisition Basics Manual.
Measure Data Acquisition User Manual
A-2
© National Instruments Corporation
Appendix A
DAQ Hardware Capabilities
2
Scanning = channels, in any order.
3
The valid channels for the 64-channel MIO E-series boards in Differential Mode are 0-7, 16-23, 32-39, and 48-55.
**
The valid channels for the AT-MIO-64F-5 in Differential Mode are 0-7 and 16-39.
Table A-3. Analog Input Characteristics – MIO and AI Devices (Part 2)
Device
Max Sampling
Rate (S/s)
Triggers1
AT-MIO-16E-1
SW, Pre, Post, (and Analog E-1: 1 M, E-2 and E-3: 500 k,
AT-MIO-16E-2
on E-1, E-2, E-3, E-4 PCI- E-4: 250 k, E-10 and DE-10: 100 k
AT-MIO-64E-11
6110E, and
AT-MIO-16E-10
PCI-6111E)
Transfer Method
DMA, interrupts
PCI-6110E and PCI-6111E: 5M
AT-MIO-16DE-10
AT-MIO-16XE-10
PCI-MIO-16E-1
PCI-MIO-16XE-10
PCI-MIO-16E-4
PXI-6040E (MIO-16E-4)
PXI-6070E (MIO-16E-1)
PCI-6071E (MIO-64E-1)
PCI-6031E (MIO-64XE-10)
PCI-6032E (AI-16XE-10)
PCI-6033E (AI-64XE-10)
PCI-6110E
PCI-6111E
VXI-MIO-64E-1
VXI-MIO-64XE-10
All MIO-16XE-50 Devices
SW, Pre, Post
20 k
DMA (interrupts on
DAQPad-MIO-16XE50)
AT-MIO-16F-5
SW, Pre, Post
200 k
DMA, interrupts
SW, Pre, Post
100 k
DMA, interrupts
AT-MIO-64F-5
AT-MIO-16X
AT-MIO-16/16D
1
SW=Software Triggering (also called conditional retrieval), Pre=Pretrigger, Post=Posttrigger.
© National Instruments Corporation
A-3
Measure Data Acquisition User Manual
Appendix A
DAQ Hardware Capabilities
Table A-4. Internal Channel Support – MIO and AI Devices
Device
AT-MIO-16XE-10
Internal Channels
_AIGnd , _Ref5V , _AOGnd , _AO0vsAOGnd , _AO0vsRef5V , _A01 , _AO1vsRef5V
AT-MIO-16XE-50
DAQPad-MIO-16XE-50
DAQCard-AI-16E-4
_AIGnd , _Ref5V , _A0Gnd
PCI-MIO-16XE-10
_AIGnd , _Ref5V , _AOGnd , _AO0vsAOGnd , _AO0vsRef5V , _AO1vsAOGnd ,
PCI-MIO-16XE-50
_AO1vsRef5V , _AO1VsAO0 , _DevTemp
PXI-6030E
PXI-6011E
PCI-6031
CPCI-6030E
CPCI-6011E
VXI-MIO-64XE-10
PCI-MIO-16E-1
_AIGnd , _Ref5V , __CMRef5V , __AOGnd , __AO0vsAOGnd , _AO0vsRef5V ,
PCI-MIO-16E-4
__AO1vsAOGnd , _AO1vsRef5V , __AO1VsAO0 , __DevTemp
PXI-6070E
PXI-6040E
PCI-6071E
CPCI-6070E
CPCI-6040E
VXI-MIO-64E-1
AT-AI-16XE-10
_AIGnd , _Ref5V , __A0Gnd
PCI-6032E
PCI-6033E
DAQCard-AI-16XE-50
AT-MIO-16E-1
_AIGnd , _Ref5V , _CMRef5V , _AOGnd , _AO0vsAOGnd , _AO0vsRef5V ,
AT-MIO-16E-2
_AO1vsAOGnd , _AO1vsRef5V
AT-MIO-16E-3
AT-MIO-16DE-10
AT-MIO-16E-10
DAQPad-6020E
Measure Data Acquisition User Manual
A-4
© National Instruments Corporation
Appendix A
DAQ Hardware Capabilities
Table A-5. Analog Output Characteristics – MIO and AI Devices
Device
AT-MIO-16E-1
Channel
Numbers DAC Type
0, 1
AT-MIO-16E-2
FIFO
Size
Output
Limits (V)
Update Clocks
Transfer
Method
12-bit double 2048
0 to 10, ±10,
Update clock 1 or
DMA,
buffered
±Vref, 0 to
external update.
interrupts
AT-MIO-64E-3
Vref ±Vref
VXI-MIO-64E-1
AT-MIO-16E-10
12-bit double 0
±10, 0 to 10, 0 Update clock 1 or
DMA,
AT-MIO-16DE-10
buffered
to Vref, ±Vref external update.
Interrupts
12-bit double 0
±10
Update clock 1 or
DMA,
external update.
Interrupts
Update clock 1 or
Interrupts
AT-MIO-XE-50
buffered
DAQPad-
12-bit double 0
MIO-16XE-50
buffered
±10
AT-MIO-16XE-10
16-bit double 2048
±10,
Update clock 1 or
DMA,
VXI-MIO-64XE-10
buffered
0 to 10
external update.
Interrupts
external update.
PCI-MIO-16XE-10
CPCI-6030E
PXI-6030E
PCI-6031E
PCI-MIO-16E-1
12-bit double 2048
±10,
Update clock 1 or
DMA,
CPCI-6070E
buffered
0 to 10
external update.
Interrupts
PCI-MIO-16E-4
12-bit double 512
±10,
Update clock 1 or
DMA,
CPCI-6040E
buffered
0 to 10
external update.
Interrupts
PCI-MIO-16XE-50
12-bit double 0
±10
Update clock 1 or
DMA,
CPCI-6011E
buffered
external update.
Interrupts
PXI-6070E
PCI-6071E
PXI-6040E
PXI-6011E
DAQPad-6020E
12-bit double 0
±10,
Update clock 1 or
DMA,
buffered
0 to 10
external update.
Interrupts
PCI-6110E
16-bit double 4096
±10
Update clock 1 or
DMA,
PCI-6111E
buffered
external update.
Interrupts
© National Instruments Corporation
A-5
Measure Data Acquisition User Manual
Appendix A
DAQ Hardware Capabilities
Device
AT-MIO-16F-5
Channel
Numbers DAC Type
0, 1
AT-MIO-64F-5
FIFO
Size
Output
Limits (V)
Update Clocks
Transfer
Method
12-bit double
0 to 10, ±10,
Update clock 1 is
DMA,
buffered
±Vref, 0 to
first available of ctr
interrupts
(64F-5: 2 K
Vref
5, 2, 1 or external
FIFO)
update. Default is 5.
Timebase signal
range is 5,000,000,
1,000,000, 100,000,
10,000, 1,000, and
100.
AT-MIO-16X
0, 1
16-bit double
±10, 0 to 10,
Update clock 1 is
buffered
±Vref, 0 to
first available on ctr interrupts
(2 K FIFO)
Vref
5, 2, 1, or external
DMA,
update. Timebase
signal range is
5,000,000,
1,000,000, 100,000,
10,000, 1,000, 100.
AT-MIO-16/16D
0, 1
12-bit double
0 to 10, ±10,
Update clock 1 is
buffered
±Vref, 0 to
ctr2 or external
Vref
update. Timebase
Interrupts
signal range is
1,000,000, 100,000,
10,000, 1,000, and
100.
Measure Data Acquisition User Manual
A-6
© National Instruments Corporation
Appendix A
DAQ Hardware Capabilities
Table A-6. Analog Output Characteristics – E series devices
Reglitching
Capable
Ground
Reference
Capable
Can Control
FIFO Request
Modes
AO Gating,
Pause/Resume
Supported
Multiple
Buffers
Supported
Yes
No
No
No
Yes
No
No
No
Yes
Yes
AT-MIO-XE-50
No
No
No
No
Yes
DAQPad-MIO-16XE-50
No
No
No
No
Yes
AT-MIO-16XE-10
No
No
No
Yes
Yes
VXI-MIO-64XE-10
No
No
No
No
Yes
PCI-MIO-16E-1
Yes
Yes
Yes
Yes
No
No
Yes
Yes
Yes
No
No
No
No
Yes
No
No
No
Yes
Yes
No
DAQPad-6020E
No
Yes
No
Yes
No
PCI-6110E
No
No
Yes
Yes
No
Device
AT-MIO-16E-1
AT-MIO-16E-2
AT-MIO-64E-3
VXI-MIO-64E-1
AT-MIO-16E-10
AT-MIO-16DE-10
CPCI-6070E
PXI-6070E
PCI-6071E
PCI-MIO-16E-4
CPCI-6040E
PXI-6011E
PCI-MIO-16XE-50
CPCI-6011E
PXI-6011E
PCI-MIO-16XE-10
CPCI-6030E
PXI-6030E
PCI-6031E
PCI-6111E
* Short form factor AT-MIO-16E-10 only
© National Instruments Corporation
A-7
Measure Data Acquisition User Manual
Appendix A
DAQ Hardware Capabilities
Lab, 1200 Series, and Portable Devices
Hardware Capabilities
Note:
With all the MIO and AI Device You must have a scan string that is
contiguous, from highest to lowest channel number, and the scan string must
include zero.
Table A-7. Analog Input Configuration Programmability – Lab, 1200 Series, and Portable Devices
Device
Gain
Range
Polarity
SE/DIFF
Coupling
Lab-PC+
By group
By group
By device
By device
DC
SCXI-1200
By group
By group
By group
By group
DC
Only 1 range
Bipolar
SE
DC
Bipolar
By group
DC
DAQPad-1200
DAQCard-1200
PCI-1200
DAQCard-500
1
available
DAQCard-516
1
PC-516
Only 1 range
available
DAQCard-700
1
By group
Bipolar
By group
DC
PC-LPM-16
1
By device
Bipolar
SE
DC
Note:
“By device” means you select the value of a parameter with hardware
jumpers, and the selection affects any group of channels on the device. “By
group” means you program the selection through software, and the selection
affects all the channels used at the same time. “By channel” means you
program the selection with hardware jumpers or through software on a per
channel basis. When a specific value for a parameter is shown, that
parameter value is fixed.
Measure Data Acquisition User Manual
A-8
© National Instruments Corporation
Appendix A
DAQ Hardware Capabilities
Table A-8. Analog Input Characteristics – Lab, 1200 Series, and Portable Devices (Part 1)
Device
Lab-PC+*
Number of
Channels
8SE, 4DI
Resolution
(bits)
1
Range (V)1
Gains
12
1, 2, 5, 10 20,
SCXI-1200
±5, 0 to 10
50, 100
Input
FIFO
(samples)
2,048;
Lab-PC: 512
DAQPad-1200
DAQCard-1200*
PCI-1200
DAQCard-500
8SE
12
1
±5
16
DAQCard-516
8SE,4DI
16
1
±5V
512
DAQCard-700
16SE, 8DI
12
1
±10, ±5, ±2.5
512
PC-LPM-16
16SE
12
1
±5, ±2.5, 0 to 10, 0 to 5 16
PC-516
1
You can determine the limit settings of your device by multiplying the range and the voltage values together. For
more information on limit settings in LabVIEW, refer to the Basics LabVIEW Data Acquisition Concepts chapter
in the LabVIEW Data Acquisition Basics Manual.
*
The valid channels for the Lab-PC+ and DAQCard-1200 in Differential Mode are 6, 4, 2, and 0.
Table A-9. Analog Input Characteristics – Lab, 1200 Series, and Portable Devices (Part 2)
Device
Scanning
Lab-PC+
Any single channel; for
SCXI-1200
multiple channels, N through pretrigger, and
DAQPad-1200
0, where N<=7.
DAQCard-1200
Max Sampling
Rate (S/s)
Triggers
Software trigger,
Transfer
Method
100 k; Lab-PC+: 83 Interrupts; Labk
PC+: Interrupts,
posttrigger with digital
DMA
trigger
PCI-1200
DAQCard-500
Any single channel; for
DAQCard-516
multiple channels, N through
PC-516
0, where N<=7
DAQCard-700
Any single channel; for
Software trigger only
50 k
Interrupts
Software trigger only
100 k
Interrupts
Software trigger only
50 k
Interrupts
multiple channels, N through
0, where N<=15
PC-LPM-16
Any single channel; for
multiple channels, N through
0, where N<=15
© National Instruments Corporation
A-9
Measure Data Acquisition User Manual
Appendix A
DAQ Hardware Capabilities
Table A-10. Analog Output Characteristics – Lab, 1200 Series, and Portable Devices
Device
Lab-PC+
Channel
#s
0, 1
DAC
Type
12-bit
Output
Limits (V)
0 to 10, ±5
Update Clocks
Update clock 1 is
SCXI-1200
double-
ctrA2 or external
DAQPad-1200
buffered
update; timebase
Waveform
Grouping
Transfer
Methods
0, 1, or 0 and 1 Interrupts
DAQCard-1200
signal range is
PCI-1200
1,000,000, 100,000,
10,000, 1,000, and
100
Note:
The DAQCard-516 and PC 516 devices do not have analog output.
SCXI Module Hardware Capabilities
Table A-11. Analog Input Characteristics – SCXI Modules
Module
SCXI-1100
Input
Number of Voltage
Channels Range (V)
32 DI
±10
Gains1
Excitation
Channels1
Filter1
1, 2, 5, 10, 20, lowpass filter
50, 100, 200,
(or no filter)
500, 1,000,
with 10 kHz or
2,000
4 Hz cutoff
(SW/M)1
frequency
Mode
Support
--
multiplexed
--
multiplexed
SCXI-1121
multiplexed
(JS/M)1
SCXI-1102
32 DI
±10
SXCI-1102B
1, 100
1 Hz lowpass
(SW/C)1
on each
SCXI-1102C
channel
VXI-SC-1102
VXI-SC-1102B
VXI-SC-1102C
SCXI-1120
8 DI
SCXI-1121
(SCXI-1120)
50, 100, 200,
with 10 kHz or only: 4 voltage or parallel
4 DI
500, 1,000,
4 Hz cutoff
or current
(SCXI-1121)
and 2,000
frequency
excitation
(JS/C)1
(JS/C)1
JS/C 1
±5
1, 2, 5, 10, 20, lowpass filter
(channels)
Measure Data Acquisition User Manual
A-10
© National Instruments Corporation
Appendix A
Module
SCXI-1120D
Input
Number of Voltage
Channels Range (V)
8 DI
±5
Gains1
DAQ Hardware Capabilities
Excitation
Channels1
Filter1
Mode
Support
0.5, 1, 2.5, 5,
4,500,
SCXI-1121
(SCXI-1120)
10, 25, 50,
24,500 Hz
only: 4 voltage or parallel
4 DI
100, 250, 500,
or current
(SCXI-1121)
1,000
excitation
multiplexed
JS/C 1
(channels)
SCXI-1122
16 DI or 8 DI ±10
0.01, 0.02,
and 8
0.05, 0.1, 0.2, with 4kHz or 4 current
excitation
0.5, 1, 2, 5,
Hz cutoff
excitation
SW/M1
10, 20, 50,
frequency
channels in
channels
100, 200, 500,
4-wire
1,000, 2,000
scanning mode
lowpass filter
8 voltage or
multiplexed
(SW/M)1
SCXI-1140
8 DI, sample
±10
and hold
1, 10, 100,
none
--
200, 500
multiplexed
or parallel
(DS/C)1
SCXI-1141
8 DI
±5
1, 2, 5, 10, 20, elliptic lowpass --
multiplexed
50, 100
filter with
or parallel
(SWy/C)1
10Hz to 25KHz
cutoff
frequency2
(SW/M)1
(disabled on a
per channel
basis)
1
DS/C = dip switch-selectable per channel, JS/C = jumper-selectable per channel, JS/M = jumper-selectable per
module, SW/C = software-selectable per channel, SW/M = software-selectable per module
2
The SCXI-1141 has an automatic filter setting. LabVIEW sets the filter frequency based on the scan rates used
with the module.
© National Instruments Corporation
A-11
Measure Data Acquisition User Manual
Appendix A
DAQ Hardware Capabilities
Table A-12. Analog Output Characteristics – SCXI Modules
Module
SCXI-1124
Number of
Channels
Output Voltage Range (V or mA)
6 voltage or
0 to1, 0 to 5, 0 to 10, ±1, ±5, ±10 (software-
current
selectable) or 0 to 20 mA
Mode Support
multiplexed
Table A-13. Terminal Block Selection Guide – SCXI Modules
SCXI Module
Terminal Blocks
Cold-Junction Compensation Sensor (CJC)
SCXI-1100
SCXI-1303
Thermistor
SCXI-1102
SCXI-1300
IC Sensor
SCXI-1120
SCXI-1320
IC Sensor
SCXI-1121
SCXI-13211
IC Sensor
SCXI-1120D
SCXI-1327
Thermistor
SCXI-1328
Thermistor
SCXI-1122
SCXI-1322
Thermistor
SCXI-1124
SCXI-1325
--
SCXI-1140
SCXI-1301
--
SCXI-1304
--
SCXI-1141
SCXI-1304
--
SCXI-1180
SCXI-1302
--
SCXI-1181
SCXI-1200
SCXI-1300
IC Sensor
SCXI-1301
--
SCXI-1302
--
CB-50
--
VXI-SC-1102
VXI-TB-1303
Thermistor
VXI-SC-1102B
VXI-TB-96
VXI-SC-1102C
1 SCXI-1121 only
Measure Data Acquisition User Manual
A-12
© National Instruments Corporation
Appendix A
DAQ Hardware Capabilities
Analog Output Only Devices Hardware Capabilities
Table A-14. Analog Output Characteristics – Analog Output Only Devices
Device
Channel
#s
DAC
Type
Output
Limits (V)
Update Clocks
Waveform Transfer
Grouping Method
AT-AO-6
0 through 5, 12-bit
±10V, ±Vref1,
Update clock 1 is ctr0
For update
Update
AT-AO-10
6 through 9* double-
0 to 10, 0 to
or external update.
clock 1
clock 1
buffered
Vref1, 4 to 20
Update clock 1
channels are
channels:
with
mA,
channels are 0, 1, 2, 3,
any one
DMA,
1 K FIFO
4, 5, 6*, 7*, 8*, 9*, 0 to channel N or
interrupts;
for
1, 0 to 3, 0 to 5, 0 to 7*, set of channel
update
update
0 to 9*. Update clock 2
pairs: 0-N; for clock 2
clock
is ctr1. Update clock 2
update clock 2 channels:
1 channels
channels are 2, 3, 4, 5,
channels are 2- interrupts
6*, 7*, 8*, 9*, 2 to 3, 2
N, same rules
to 5, 2 to 7*, 2 to 9*;
as above: N#6,
timebase signal range is N#10*
1,000,000, 100,000,
10,000, 1,000, 100
PC-AO-2DC
0, 1
0 to 10V, ±5V,
(Plug and
0-20mA sink
Play)
softwareselectable
DAQCard-
0, 1
0 to 10V, ±5V,
AO-2DC
0--20mA sink
softwareselectable
VXI-AO-
voltage 0
48XDC
through 47,
V, 0.1 mA to
current 0
20.1 mA source,
through 47
voltage and
18-bit
-10.1 V to +10.1
current channels
are
independent
© National Instruments Corporation
A-13
Measure Data Acquisition User Manual
Error Codes
This appendix describes the errors that can occur while using the
Measure DAQ Add-In.
Table B-1. Data Acquisition Error Codes
Error Code
-2001
-2002
-2003
-2004
-2101
-10001
-10002
-10003
-10004
-10005
-10006
-10007
-10008
-10009
-10010
-10011
Error Description
Unable to find task.
The worksheet that is specified in the task’s configuration does not exist.
The range that is specified in the task's configuration is not valid.
Excel is out of memory. Use a smaller range.
An analog output channel string represents multiple analog output channels.
Measure requires that each analog output channel string contain only one
analog output channel.
An error was detected in the input string; the arrangement or ordering of the
characters in the string is not consistent with the expected ordering.
An error was detected in the input string; the syntax of the string is correct, but
certain values specified in the string are inconsistent with other values
specified in the string.
The value of a numeric parameter is invalid.
The value of a numeric parameter is inconsistent with another one, and
therefore the combination is invalid.
The device is invalid.
The line is invalid.
A channel, port, or counter is out of range for the device type or device
configuration; or the combination of channels is not allowed; or the scan order
must be reversed (0 last).
The group is invalid.
The counter is invalid.
The count is too small or too large for the specified counter, or the given I/O
transfer count is not appropriate for the current buffer or channel
configuration.
The analog input scan rate is too fast for the number of channels and the
channel clock rate; or the given clock rate is not supported by the associated
counter channel or I/O channel.
© National Instruments Corporation
B-1
Measure Data Acquisition User Manual
Appendix B
-10012
-10013
-10014
-10015
-10016
-10017
-10018
-10019
-10020
-10021
-10022
-10023
-10024
-10025
-10026
-10027
-10028
-10029
-10030
-10031
-10032
-10033
-10034
-10035
-10036
-10037
-10038
Error Codes
The analog input or analog output voltage range is invalid for the specified
channel, or you are writing an invalid voltage to the analog output.
The driver returned an unrecognized or unlisted error code.
The group size is too large for the board.
The time limit is invalid.
The read count is invalid.
The read mode is invalid.
The offset is unreachable.
The frequency is invalid.
The timebase is invalid.
The limits are beyond the range of the board.
Your data array contains an incomplete update, or you are trying to write past
the end of the internal buffer, or your output operation is continuous and the
length of your array is not a multiple of one half of the internal buffer size.
The write mode is out of range or is disallowed.
Adding the write offset to the write mark places the write mark outside the
internal buffer.
The requested input limits exceed the board's capability or configuration.
Alternative limits were selected.
The requested number of buffers or the buffer size is not allowed. For
example, the buffer limit for Lab and 1200 devices is 64K samples, or the
board does not support multiple buffers.
For DAQEvents 0 and 1 general value A must be greater than 0 and less than
the internal buffer size. If DMA is used for DAQEvent 1, general value A
must divide the internal buffer size evenly, with no remainder. If the TIO-10 is
used for DAQEvent 4, general value A must be 1 or 2.
The cutoff frequency specified is not valid for this device.
The function you are calling is no longer supported in this version of the
driver.
The specified baud rate for communicating with the serial port is not valid on
this platform.
The specified SCXI chassis does not correspond to a configured SCXI chassis.
The SCXI module slot that was specified is invalid or corresponds to an empty
slot.
The window handle passed to the function is invalid.
No configured message matches the one you tried to delete.
The specified attribute is not relevant.
The specified year is invalid.
The specified month is invalid.
The specified day is invalid.
Measure Data Acquisition User Manual
B-2
© National Instruments Corporation
Appendix B Error Codes
-10039
-10080
-10081
-10082
-10083
-10084
-10085
-10086
-10087
-10088
-10089
-10090
-10091
-10092
-10093
-10094
-10095
-10100
-10120
-10121
-10122
-10123
-10124
-10125
-10200
-10201
-10202
The specified input string is too long. For instance, DAQScope 5102 devices
can only store a string up to 32 bytes in length on the calibration EEPROM. In
that case, please shorten the string.
The gain is invalid.
The pretrigger sample count is invalid.
The posttrigger sample count is invalid.
The trigger mode is invalid.
The trigger count is invalid.
The trigger range or trigger hysteresis window is invalid.
The external reference is invalid.
The trigger type is invalid.
The trigger level is invalid.
The total count is inconsistent with the buffer size and pretrigger scan count or
with the board type.
The individual range, polarity, and gain settings are valid but the combination
is not allowed.
You have attempted to use an invalid setting for the iterations parameter. The
iterations value must be 0 or greater. Your device might be limited to only two
values, 0 and 1.
Some devices require a time gap between the last sample in a scan and the start
of the next scan. The scan interval you have specified does not provide a large
enough gap for the board. See your documentation for an explanation.
FIFO mode waveform generation cannot be used because at least one
condition is not satisfied.
The calDAC constant passed to the function is invalid.
The calibration stimulus passed to the function is invalid.
The requested digital port width is not a multiple of the hardware port width or
is not attainable by the DAQ hardware.
Invalid application used.
Invalid counterNumber used.
Invalid paramValue used.
Invalid paramID used.
Invalid entityID used.
Invalid action used.
Unable to read data from EEPROM.
Unable to write data to EEPROM.
You cannot write into this location or area of your EEPROM because it is
write-protected. You may be trying to store calibration constants into a writeprotected area; if this is the case, you should select user area of the EEPROM
instead.
© National Instruments Corporation
B-3
Measure Data Acquisition User Manual
Appendix B
-10240
-10241
-10242
-10243
-10244
-10245
-10246
-10247
-10248
-10249
-10250
-10251
-10252
-10253
-10254
-10255
-10256
-10257
-10258
-10259
-10260
-10261
Error Codes
The driver interface could not locate or open the driver.
One of the driver files or the configuration utility is out of date, or a particular
feature of the Channel Wizard is not supported in this version of the driver.
The specified function is not located in the driver.
The driver could not locate or open the configuration file, or the format of the
configuration file is not compatible with the currently installed driver.
The driver encountered a hardware-initialization error while attempting to
configure the specified device.
The driver encountered an operating-system error while attempting to perform
an operation, or the operating system does not support an operation performed
by the driver.
The driver is unable to communicate with the specified external device.
The CMOS configuration-memory for the device is empty or invalid, or the
configuration specified does not agree with the current configuration of the
device, or the EISA system configuration is invalid.
The base addresses for two or more devices are the same; consequently, the
driver is unable to access the specified device.
The interrupt configuration is incorrect given the capabilities of the computer
or device.
The interrupt levels for two or more devices are the same.
The DMA configuration is incorrect given the capabilities of the
computer/DMA controller or device.
The DMA channels for two or more devices are the same.
Unable to find one or more jumperless boards you have configured using the
NI-DAQ Configuration Utility.
Cannot configure the DAQCard because 1) the correct version of the card and
socket services software is not installed; 2) the card in the PCMCIA socket is
not a DAQCard; or 3) the base address and/or interrupt level requested are not
available according to the card and socket services resource manager. Try
different settings or use AutoAssign in the NIDAQ configuration utility.
There was an error in initializing the driver for Remote SCXI.
There was an error in opening the specified COM port.
Bad base address specified in the configuration utility.
Bad DMA channel 1 specified in the configuration utility or by the
operating system.
Bad DMA channel 2 specified in the configuration utility or by the
operating system.
Bad DMA channel 3 specified in the configuration utility or by the
operating system.
The user mode code failed when calling the kernel mode code.
Measure Data Acquisition User Manual
B-4
© National Instruments Corporation
Appendix B Error Codes
-10340
-10341
-10342
-10343
-10344
-10345
-10346
-10347
-10348
-10349
-10360
-10370
-10400
-10401
-10402
-10403
-10404
-10405
-10406
-10407
-10408
-10409
No RTSI signal/line is connected, or the specified signal and the specified line
are not connected, or your connection to an RDA server either cannot be made
or has been terminated.
The RTSI signal/line cannot be connected as specified.
The specified RTSI signal is already being driven by a RTSI line, or the
specified RTSI line is already being driven by a RTSI signal.
The specified SCXI configuration parameters are invalid, or the function
cannot be executed with the current SCXI configuration.
The Remote SCXI unit is not synchronized with the host. Reset the chassis
again to resynchronize it with the host.
The required amount of memory cannot be allocated on the Remote SCXI unit
for the specified operation.
The packet received by the Remote SCXI unit is invalid. Check your serial
port cable connections.
There was an error in sending a packet to the remote chassis. Check your serial
port cable connections.
The Remote SCXI unit is in reprogramming mode and is waiting for
reprogramming commands from the host (NI-DAQ Configuration Utility).
The module ID read from the SCXI module conflicts with the configured
module type.
The DSP driver was unable to load the kernel for its operating system.
The scan list is invalid; for example, you are mixing AMUX-64T channels and
onboard channels, scanning SCXI channels out of order, or have specified a
different starting channel for the same SCXI module. Also, the driver attempts
to achieve complicated gain distributions over SCXI channels on the same
module by manipulating the scan list and returns this error if it fails.
The specified resource is owned by the user and cannot be accessed or
modified by the driver.
The specified device is not a National Instruments product, the driver does not
support the device (for example, the driver was released before the device was
supported), or the device has not been configured using the NI-DAQ
Configuration Utility.
No device is located in the specified slot or at the specified address.
The specified device does not support the requested action (the driver
recognizes the device, but the action is inappropriate for the device).
No line is available.
No channel is available.
No group is available.
The specified line is in use.
The specified channel is in use.
The specified group is in use.
© National Instruments Corporation
B-5
Measure Data Acquisition User Manual
Appendix B
-10410
-10411
-10412
-10413
-10414
-10415
-10440
-10441
-10442
-10443
-10444
-10445
-10446
-10447
-10448
-10449
-10450
-10451
-10452
-10453
Error Codes
A related line, channel, or group is in use; if the driver configures the specified
line, channel, or group, the configuration, data, or handshaking lines for the
related line, channel, or group will be disturbed.
The specified counter is in use.
No group is assigned, or the specified line or channel cannot be assigned to a
group.
A group is already assigned, or the specified line or channel is already
assigned to a group.
The selected signal requires a pin that is reserved and configured only by
NI-DAQ. You cannot configure this pin yourself.
This function does not support your DAQ device when an external multiplexer
(such as an AMUX-64T or SCXI) is connected to it.
The specified resource is owned by the driver and cannot be accessed or
modified by the user.
No memory is configured to support the current data-transfer mode, or the
configured memory does not support the current data-transfer mode. (If block
transfers are in use, the memory must be capable of performing block
transfers.)
The specified memory is disabled or is unavailable given the current
addressing mode.
The transfer buffer is not aligned properly for the current data-transfer mode.
For example, the buffer is at an odd address, is not aligned to a 32-bit
boundary, is not aligned to a 512-bit boundary, and so on. Alternatively, the
driver is unable to align the buffer because the buffer is too small.
No more system memory is available on the heap, or no more memory is
available on the device, or insufficient disk space is available.
The transfer buffer cannot be locked into physical memory. On PC AT
machines, portions of the DMA data acquisition buffer may be in an invalid
DMA region, for example, above 16 megabytes.
The transfer buffer contains a page break; system resources may require
reprogramming when the page break is encountered.
The operating environment is unable to grant a page lock.
The driver is unable to continue parsing a string input due to stack limitations.
A cache-related error occurred, or caching is not supported in the current
mode.
A hardware error occurred in physical memory, or no memory is located at the
specified address.
The driver is unable to make the transfer buffer contiguous in virtual memory
and therefore cannot lock it into physical memory; thus, the buffer cannot be
used for DMA transfers.
No interrupt level is available for use.
The specified interrupt level is already in use by another device.
Measure Data Acquisition User Manual
B-6
© National Instruments Corporation
Appendix B Error Codes
-10454
-10455
-10456
-10457
-10458
-10459
-10460
-10461
-10462
-10480
-10481
-10540
-10541
-10560
-10561
-10600
-10601
-10602
-10603
-10604
-10605
-10606
-10607
-10608
No DMA controller is available in the system.
No DMA channel is available for use.
The specified DMA channel is already in use by another device.
DMA cannot be configured for the specified group because it is too small, too
large, or misaligned. Consult the device user manual to determine group
ramifications with respect to DMA.
The storage disk you specified is full.
The NI-DAQ DLL could not be called due to an interface error.
You have mixed VIs from the DAQ library and the _DAQ compatibility
library (LabVIEW 2.2 style VIs). You may switch between the two libraries
only by running the DAQ VI Device Reset before calling _DAQ compatibility
VIs or by running the compatibility VI Board Reset before calling DAQ VIs.
The specified resource is unavailable because it has already been reserved by
another entity.
The specified resource has not been reserved, so the action is not allowed.
The scan list is too large to fit into the mux-gain memory of the board.
You must provide a single buffer of interleaved data, and the channels must be
in ascending order. You cannot use DMA to transfer data from two buffers;
however, you may be able to use interrupts.
At least one of the SCXI modules specified is not supported for the operation.
CTRB1 will drive COUTB1, however CTRB1 will also drive TRIG1. This
may cause unpredictable results when scanning the chassis.
The DSP handle input is not valid .
Either DAQ or WFM can use a PC memory buffer, but not both at the same
time.
No setup operation has been performed for the specified resources. Or, some
resources require a specific ordering of calls for proper setup.
The specified resources have already been configured by a setup operation.
No output data has been written into the transfer buffer.
The output data associated with a group must be for a single channel or must
be for consecutive channels.
Once data generation has started, only the transfer buffers originally written to
may be updated. If DMA is active and a single transfer buffer contains
interleaved channel-data, new data must be provided for all output channels
currently using the DMA channel.
No data was written to the transfer buffer because the final data block has
already been loaded.
The specified resource is not armed.
The specified resource is already armed.
No transfer is in progress for the specified resource.
© National Instruments Corporation
B-7
Measure Data Acquisition User Manual
Appendix B
-10609
-10610
-10611
-10612
-10613
-10614
-10615
-10616
-10617
-10618
-10619
-10620
-10621
-10622
-10623
-10624
-10625
-10626
-10627
-10628
-10629
-10630
-10631
-10632
-10633
-10634
Error Codes
A transfer is already in progress for the specified resource, or the operation is
not allowed because the device is in the process of performing transfers,
possibly with different resources.
A single output channel in a group may not be paused if the output data for the
group is interleaved.
Some of the lines in the specified channel are not configured for the transfer
direction specified. For a write transfer, some lines are configured for input.
For a read transfer, some lines are configured for output.
The specified line does not support the specified transfer direction.
The specified channel does not support the specified transfer direction.
The specified group does not support the specified transfer direction.
The clock configuration for the clock master is invalid.
The clock configuration for the clock slave is invalid.
No source signal has been assigned to the clock resource.
The specified source signal cannot be assigned to the clock resource.
A source signal has already been assigned to the clock resource.
No trigger signal has been assigned to the trigger resource.
The specified trigger signal cannot be assigned to the trigger resource.
The pretrigger mode is not supported or is not available in the current
configuration, or no pretrigger source has been assigned.
No posttrigger source has been assigned.
The delayed trigger mode is not supported or is not available in the current
configuration, or no delay source has been assigned.
The trigger configuration for the trigger master is invalid.
The trigger configuration for the trigger slave is invalid.
No signal has been assigned to the trigger resource.
A signal has already been assigned to the trigger resource.
The specified operating mode is invalid, or the resources have not been
configured for the specified operating mode.
The parameters specified to read data were invalid in the context of the
acquisition. For example, an attempt was made to read 0 bytes from the
transfer buffer, or an attempt was made to read past the end of the
transfer buffer.
Continuous input or output transfers are not allowed in the current operating
mode, or continuous operation is not allowed for this type of device.
Certain inputs were ignored because they are not relevant in the current
operating mode.
The specified analog output regeneration mode is not allowed for this board.
No continuous (double buffered) transfer is in progress for the
specified resource.
Measure Data Acquisition User Manual
B-8
© National Instruments Corporation
Appendix B Error Codes
-10635
-10636
-10637
-10680
-10681
-10682
-10683
-10684
-10685
-10686
-10687
-10688
-10689
-10690
-10691
-10692
-10693
-10694
-10695
-10696
-10697
-10698
-10699
-10700
Either the SCXI operating mode specified in a configuration call is invalid, or
a module is in the wrong operating mode to execute the function call.
You cannot start a continuous (double-buffered) operation with a synchronous
function call.
Attempted to configure a buffer after the buffer had already been configured.
You can configure a buffer only once.
All channels of this board must have the same gain.
All channels of this board must have the same range.
All channels of this board must be the same polarity.
All channels of this board must have the same coupling.
All channels of this board must have the same input mode.
The clock rate exceeds the board's recommended maximum rate.
A configuration change has invalidated the scan list.
A configuration change has invalidated the acquisition buffer, or an acquisition
buffer has not been configured.
The number of total scans and pretrigger scans implies that a triggered start is
intended, but triggering is not enabled.
Digital trigger B is illegal for the number of total scans and pretrigger
scans specified.
This board does not allow digital triggers A and B to be enabled at the
same time.
This board does not allow an external sample clock with an external scan
clock, start trigger, or stop trigger.
The acquisition cannot be started because the channel clock is disabled.
You cannot use an external scan clock when doing a single scan of a
single channel.
The scan rate is above the maximum or below the minimum for the hardware,
gains, and filters used.
You have set up an operation that requires the use of interrupts. DMA is not
allowed. For example, some DAQ events, such as messaging and LabVIEW
occurrences, require interrupts.
Multi-rate scanning cannot be used with the AMUX-64, SCXI, or
pretriggered acquisitions.
Unable to convert your timebase/interval pair to match the actual hardware
capabilities of this board.
You cannot use this combination of scan and sample clock timebases for
this board.
You cannot use this combination of scan and sample clock source polarities for
this operation and board.
You cannot use this combination of scan and convert clock signal sources for
this operation and board.
© National Instruments Corporation
B-9
Measure Data Acquisition User Manual
Appendix B
-10701
-10702
-10710
-10720
-10740
-10780
-10781
-10782
-10783
-10800
-10801
-10802
-10803
-10804
-10805
-10806
-10807
-10808
-10809
-10810
-10840
-10841
-10842
Error Codes
The call had no effect because the specified channel had not been set for later
internal update.
Pretriggering and posttriggering cannot be used simultaneously on the Lab and
1200 series devices.
The specified port has not been configured for handshaking.
The specified counter is not configured for event-counting operation.
A signal has already been assigned to the SCXI track-and-hold trigger line, or
a control call was inappropriate because the specified module is not configured
for one-channel operation.
When you have an SC2040 attached to your device, all analog input channels
must be configured for differential input mode.
The polarity of the output channel cannot be bipolar when outputting currents.
The specified operation cannot be performed with the SC-2040 configured in
hold mode.
Calibration constants in the load area have a different polarity from the current
configuration. Therefore, you should load constants from factory.
The operation could not complete within the time limit.
An error occurred during the calibration process. Possible reasons for this error
include incorrect connection of the stimulus signal, incorrect value of the
stimulus signal, or malfunction of your DAQ device.
The requested amount of data has not yet been acquired.
The on-going transfer has been stopped. This is to prevent regeneration for
output operations, or to reallocate resources for input operations.
The transfer stopped prior to reaching the end of the transfer buffer.
The clock rate is faster than the hardware can support. An attempt to input or
output a new data point was made before the hardware could finish processing
the previous data point. This condition may also occur when glitches are
present on an external clock signal.
No trigger value was found in the input transfer buffer.
The trigger occurred before sufficient pretrigger data was acquired.
An error occurred in the parallel port communication with the DAQ device.
Attempted to start a pulse width measurement with the pulse in the phase to be
measured (e.g., high phase for high-level gating).
An unexpected error occurred inside the driver when performing this given
operation.
The contents or the location of the driver file was changed between accesses to
the driver.
The firmware does not support the specified operation, or the firmware
operation could not complete due to a data-integrity problem.
The hardware is not responding to the specified operation, or the response
from the hardware is not consistent with the functionality of the hardware.
Measure Data Acquisition User Manual
B-10
© National Instruments Corporation
Appendix B Error Codes
-10843
-10844
-10845
-10846
-10847
-10848
-10849
-10850
-10851
-10852
-10853
-10854
-10855
-10856
-10857
-10858
-10880
-10881
-10882
-10883
-10884
Because of system limitations, the driver could not write data to the device fast
enough to keep up with the device throughput. This error may be returned
erroneously when an overRunErr has occurred.
New data was not written to the output transfer buffer before the driver
attempted to transfer the data to the device.
Because of system limitations, the driver could not read data from the device
fast enough to keep up with the device throughput; the onboard device
memory reported an overflow error.
The driver wrote new data into the input transfer buffer before the previously
acquired data was read.
New buffer information was not available at the time of the DMA chaining
interrupt; DMA transfers will terminate at the end of the currently active
transfer buffer.
The driver could not obtain a valid reading from the transfer-count register in
the DMA controller.
The configuration file or DSP kernel file could not be opened.
Unable to close a file.
Unable to seek within a file.
Unable to read from a file.
Unable to write to a file.
An error occurred accessing a file.
NI-DAQ does not support the current operation on this particular version of
the operating system.
An unexpected error occurred from the operating system while performing the
given operation.
An unexpected error occurred inside the kernel of the device while performing
this operation.
The system has reconfigured the device and has invalidated the existing
configuration. The device requires reinitialization to be used again.
A change to the update rate is not possible at this time because 1) when
waveform generation is in progress, you cannot change the interval timebase
or 2) when you make several changes in a row, you must give each change
enough time to take effect before requesting further changes.
You cannot do another transfer after a successful partial transfer.
The data collected on the Remote SCXI unit was overwritten before it could be
transferred to the buffer in the host. Try using a slower data acquisition rate
if possible.
New data could not be transferred to the waveform buffer of the Remote SCXI
unit to keep up with the waveform update rate. Try using a slower waveform
update rate if possible.
Could not rearrange data after a pretrigger acquisition completed.
© National Instruments Corporation
B-11
Measure Data Acquisition User Manual
Appendix B
-10920
-10940
-10941
-10942
-10943
Error Codes
One or more data points may have been lost during buffered GPCTR
operations due to speed limitations of your system.
No response was received from the Remote SCXI unit within the specified
time limit.
Reprogramming the Remote SCXI unit was unsuccessful. Please try again.
An invalid reset signature was sent from the host to the Remote SCXI unit.
The interrupt service routine on the remote SCXI unit is taking longer than
necessary. You do not need to reset your remote SCXI unit, however, please
clear and restart your data acquisition.
Measure Data Acquisition User Manual
B-12
© National Instruments Corporation
Troubleshooting
This appendix describes solutions to problems that you might
encounter using the Measure DAQ Add-In.
Problem:
No DAQ menu appears.
Solution:
From the Tools»Add-Ins. Click on the
Browse button and look for DAQ.XLA in
the directory where you installed Measure.
Once you find it, select it and click on the
OK button. If a dialog box appears with the
message Replace existing
‘DAQ.XLA’? click on the Yes button. You
will see a Measure Data Acquisition Add-In
entry in the list box and the checkbox next
to it will be checked. Click on the OK
button.
Problem:
The list of data acquisition devices is empty.
Solution:
Verify with the NI-DAQ Configuration
Utility that you have properly installed and
configured your device. Verify that your
device is supported by Measure. Refer to
Appendix A, DAQ Hardware Capabilities.
© National Instruments Corporation
C-1
Measure Data Acquisition User Manual
Appendix C
Troubleshooting
Problem:
You are using Windows 3.1 or Windows for
Workgroups 3.11 and you get a dialog box
entitled Measure with the message,
Error -10243 The driver could
not locate or open the
configuration file, or the
format of the configuration
file is not compatible with
the currently installed
driver.
Solution:
Delete the WDAQCONF.CFG file in your
Windows directory. Then reconfigure your
hardware using the NI-DAQ Configuration
Utility. If the problem persists, contact
National Instruments for an updated version
of the NI-DAQ driver.
Problem:
You get a dialog box entitled Measure with
a message that begins Fatal error.
Solution:
Congratulations! It is likely that you have
found a deficiency in our code! Please write
down the information in the dialog box as
well as the actions that you took preceding
the error. Try to reproduce the error. Then,
call National Instruments technical support.
Problem:
After you remove the Measure Data
Acquisition Add-In in the Add-Ins dialog
box, a dialog box entitled Microsoft Excel
appears with the message Cannot
access ‘DAQ.XLA’.
Solution:
Click on the Cancel button. This behavior,
which occurs because of Microsoft Excel or
the OLE libraries, is harmless and you can
safely ignore it.
Measure Data Acquisition User Manual
C-2
© National Instruments Corporation
Customer Communication
For your convenience, this appendix contains forms to help you gather the information necessary
to help us solve technical problems you might have as well as a form you can use to comment on
the product documentation. Filling out a copy of the Technical Support Form before contacting
National Instruments helps us help you better and faster.
National Instruments provides comprehensive technical assistance around the world. In the U.S.
and Canada, applications engineers are available Monday through Friday from 8:00 a.m. to
6:00 p.m. (central time). In other countries, contact the nearest branch office. You may fax
questions to us at any time.
Electronic Services
Bulletin Board Support
National Instruments has BBS and FTP sites dedicated for 24-hour support with a collection of
files and documents to answer most common customer questions. From these sites, you can also
download the latest instrument drivers, updates, and example programs. For recorded instructions
on how to use the bulletin board and FTP services and for BBS automated information, call
(512) 795-6990. You can access these services at:
United States: (512) 794-5422 or (800) 327-3077
Up to 14,400 baud, 8 data bits, 1 stop bit, no parity
United Kingdom: 01635 551422
Up to 9,600 baud, 8 data bits, 1 stop bit, no parity
France: 1 48 65 15 59
Up to 9,600 baud, 8 data bits, 1 stop bit, no parity
FTP Support
To access our FTP site, log on to our Internet host, ftp.natinst.com, as anonymous and use
your Internet address, such as [email protected], as your password. The support files
and documents are located in the /support directories.
© National Instruments Corporation
D-1
Measure Data Acquisition User Manual
Appendix D
Customer Communication
Fax-on-Demand Support
Fax-on-Demand is a 24-hour information retrieval system containing a library of documents on a
wide range of technical information. You can access Fax-on-Demand from a touch-tone telephone
at (512) 418-1111.
E-Mail Support (Currently USA Only)
You can submit technical support questions to the applications engineering team through e-mail at
the Internet address listed below. Remember to include your name, address, and phone number so
we can contact you with solutions and suggestions.
[email protected]
Telephone and Fax Support
National Instruments has branch offices all over the world. Use the list below to find the technical
support number for your country. If there is no National Instruments office in your country,
contact the source from which you purchased your software to obtain support.
Australia
Austria
Belgium
Brazil
Canada (Ontario)
Canada (Quebec)
Denmark
Finland
France
Germany
Hong Kong
Israel
Italy
Japan
Korea
Mexico
Netherlands
Norway
Singapore
Spain
Sweden
Switzerland
Taiwan
United Kingdom
United States
Telephone
03 9879 5166
0662 45 79 90 0
02 757 00 20
011 288 3336
905 785 0085
514 694 8521
45 76 26 00
09 725 725 11
01 48 14 24 24
089 741 31 30
2645 3186
03 6120092
02 413091
03 5472 2970
02 596 7456
5 520 2635
0348 433466
32 84 84 00
2265886
91 640 0085
08 730 49 70
056 200 51 51
02 377 1200
01635 523545
512 795 8248
Measure Data Acquisition User Manual
Fax
03 9879 6277
0662 45 79 90 19
02 757 03 11
011 288 8528
905 785 0086
514 694 4399
45 76 26 02
09 725 725 55
01 48 14 24 14
089 714 60 35
2686 8505
03 6120095
02 41309215
03 5472 2977
02 596 7455
5 520 3282
0348 430673
32 84 86 00
2265887
91 640 0533
08 730 43 70
056 200 51 55
02 737 4644
01635 523154
512 794 5678
D-2
© National Instruments Corporation
Technical Support Form
Photocopy this form and update it each time you make changes to your software or hardware, and
use the completed copy of this form as a reference for your current configuration. Completing this
form accurately before contacting National Instruments for technical support helps our
applications engineers answer your questions more efficiently.
If you are using any National Instruments hardware or software products related to this problem,
include the configuration forms from their user manuals. Include additional pages if necessary.
Name
Company
Address
Fax (
)
Phone (
Computer brand
)
Model
Processor
Operating system: Windows 3.1, Windows for Workgroups 3.11, Windows NT 3.1,
Windows NT 3.5, Windows 95, other (include version number)
Version of Excel (look at Excel’s About box): 5.0, 5.0c, other
Clock Speed
Mouse
MHz
yes
Hard disk capacity
no
MB
RAM
MB
Display adapter
Other adapters installed
Brand
Instruments used
National Instruments hardware product model
Revision
Configuration
National Instruments software product
Configuration
The problem is
List any error messages
The following steps will reproduce the problem
Version
Hardware and Software Configuration Form
Record the settings and revisions of your hardware and software on the line to the right of each
item. Complete a new copy of this form each time you revise your software or hardware
configuration, and use this form as a reference for your current configuration. Completing this
form accurately before contacting National Instruments for technical support helps our
applications engineers answer your questions more efficiently.
National Instruments Products
Data Acquisition Hardware Revision ________________________________________________
Interrupt Level of Hardware ______________________________________________________
DMA Channels of Hardware ______________________________________________________
Base I/O Address of Hardware ____________________________________________________
NI-DAQ Version _______________________________________________________________
Other Products
Computer Make and Model _______________________________________________________
Microprocessor ________________________________________________________________
Clock Frequency _______________________________________________________________
Type of Video Board Installed _____________________________________________________
Operating System _______________________________________________________________
Operating System Version ________________________________________________________
Operating System Mode _________________________________________________________
Programming Language __________________________________________________________
Programming Language Version ___________________________________________________
Other Boards in System __________________________________________________________
Base I/O Address of Other Boards __________________________________________________
DMA Channels of Other Boards ___________________________________________________
Interrupt Level of Other Boards ____________________________________________________
For each instrument you are using:
Name of instrument _____________________________________________________________
Manufacturer of instrument _______________________________________________________
Parity: None, Even, Odd, Mark, Space
Baud rate ______________________________________________________________________
Stop bits ______________________________________________________________________
Data bits ______________________________________________________________________
Flow control: Hardware, Software, None
Version of Measure: (look at the about box)
Documentation Comment Form
National Instruments encourages you to comment on the documentation supplied with our
products. This information helps us provide quality products to meet your needs.
Title: Measure Data Acquisition User Manual
Edition Date: August 1998
Part Number: 321004C-01
Please comment on the completeness, clarity, and organization of the manual.
If you find errors in the manual, please record the page numbers and describe the errors.
Thank you for your help.
Name
Title
Company
Address
Phone
Mail to:
(
)
Technical Publications
National Instruments Corporation
6504 Bridge Point Parkway
Austin, TX 78730-5039
Fax to:
Technical Publications
National Instruments Corporation
(512) 794-5678
Prefix
Meaning
Value
pnµmkM-
piconanomicromillikilomega-
10-12
10-9
10-6
10-3
103
106
Numbers/Symbols
1D
One-dimensional.
2D
Two-dimensional.
A
A/D
Analog-to-digital.
ADC
Analog-to-digital converter. An electronic device, often an
integrated circuit, that converts an analog voltage to a digital
number.
ADC resolution
The resolution of the ADC, which is measured in bits. An ADC
with 16 bits has a higher resolution, and thus a higher degree of
accuracy than a 12-bit ADC.
AI
Analog input.
© National Instruments Corporation
G-1
Measure Data Acquisition User Manual
Glossary
Analog Input
Configuration
The specification of the analog input channels, input
limits, input mode, and scan rate that Measure will use to
acquire a waveform.
Analog Output
Configuration
The specification of the analog output channels, output
limits, data points, and update rate that Measure will use to
generate a waveform.
analog trigger
A trigger that occurs at a user-selected point on an incoming
analog signal. Triggering can be set to occur at a specified level
on either an increasing or a decreasing signal (positive or
negative slope). Analog triggering can be implemented either in
software or in hardware. When implemented in software
(Measure), all data is collected, transferred into system memory,
and analyzed for the trigger condition. When analog triggering
is implemented in hardware, no data is transferred to system
memory until the trigger condition has occurred.
AO
Analog output.
array
Ordered, indexed set of data elements of the same type.
Asynchronous
A method of data communications in which information is
transmitted one character at a time. A start bit precedes each
character and a stop bit follows each character. The start bit
signals the beginning of the character transmission and the stop
bit indicates its completion. The Serial Add-In uses
asynchronous communications in its data exchanges.
B
bipolar
A signal range that includes both positive and negative values–
for example, -5 to 5 V.
buffer
Temporary storage for acquired or generated data.
Byte
The standard method of representing numbers or characters in a
computers. Eight binary digits (bits) make up a byte.
Measure Data Acquisition User Manual
G-2
© National Instruments Corporation
Glossary
C
channel
Pin or wire lead to which you apply or from which you read the
analog or digital signal. Analog signals can be single-ended or
differential. For digital signals, you group channels to form
ports. Ports usually consist of either four or eight digital
channels.
channel clock
The clock controlling the time interval between individual
channel sampling within a scan. Boards with simultaneous
sampling do not have this clock.
clock
Hardware component that controls timing for reading from or
writing to groups.
conversion device
Device that transforms a signal from one form to another. For
example, analog-to-digital converters (ADCs) for analog input,
digital-to-analog converters (DACs) for analog output, digital
input or output ports, and counter/timers are conversion devices.
coupling
The manner in which a signal is connected from one location to
another.
D
D/A
Digital-to-analog.
DAC
Digital-to-analog converter. An electronic device, often an
integrated circuit, that converts a digital number into a
corresponding analog voltage or current.
data acquisition
Process of acquiring data, typically from A/D or digital input
plug-in boards.
device
A plug-in data acquisition board that can contain multiple
channels and conversion devices.
device number
The slot number or board ID number assigned to the board when
you configured it.
DIFF
Differential. A differential input is an analog input consisting of
two terminals, both of which are isolated from computer ground
and whose difference you measure.
© National Instruments Corporation
G-3
Measure Data Acquisition User Manual
Glossary
DMA
Direct memory access. A method by which data you can transfer
data to computer memory from a device or memory on the bus
(or from computer memory to a device) while the processor
does something else. DMA is the fastest method of transferring
data to or from computer memory.
driver
Software that controls a specific hardware device, such as a data
acquisition board.
E
EISA
Extended Industry Standard Architecture.
external trigger
A voltage pulse from an external source that triggers an event
such as A/D conversion.
F
FIFO
A first-in-first-out memory buffer. In a FIFO, the first data
stored is the first data sent to the acceptor.
G
gain
The factor by which a signal is amplified, sometimes expressed
in decibels.
I
input limits
The upper and lower voltage inputs for a channel. You must use
a pair of numbers to express the input limits. The VIs can infer
the input limits from the input range, input polarity, and input
gain(s). Similarly, if you wire the input limits, range, and
polarity, the VIs can infer the onboard gains when you do not
use SCXI.
input range
The difference between the maximum and minimum voltages an
analog input channel can measure at a gain of 1. The input range
is a scalar value, not a pair of numbers. By itself the input range
Measure Data Acquisition User Manual
G-4
© National Instruments Corporation
Glossary
does not uniquely determine the upper and lower voltage limits.
An input range of 10 V could mean an upper limit of +10 V and
a lower of 0 V or an upper limit of +5 V and a lower limit of
-5 V.
The combination of input range, polarity, and gain determines
the input limits of an analog input channel. For some boards,
jumpers set the input range and polarity, while you can program
them for other boards. Most boards have programmable gains.
When you use SCXI modules, you also need their gains to
determine the input limits.
interrupt
A signal indicating that the central processing unit should
suspend its current task to service a designated activity.
I/O
Input/output. The transfer of data to or from a computer system
involving communications channels, operator interface devices,
and/or data acquisition and control interfaces.
ISA
Industry Standard Architecture.
K
Kwords
1,024 words of memory.
M
MB
megabytes of memory
multiplexer
A set of semiconductor or electromechanical switches with a
common output that can select one of a number of input signals
and that you commonly use to increase the number of signals
measured by one ADC.
N
NRSE
Nonreferenced single-ended.
O
onboard channels
© National Instruments Corporation
Channels provided by the plug-in data acquisition board.
G-5
Measure Data Acquisition User Manual
Glossary
output limits
The upper and lower voltage or current outputs for an analog
output channel. The output limits determine the polarity and
voltage reference settings for a board.
P
PGIA
Programmable gain instrumentation amplifier.
postriggering
The technique you use on a data acquisition board to acquire a
programmed number of samples after trigger conditions are met.
pretriggering
The technique you use on a data acquisition board to keep a
continuous buffer filled with data, so that when the trigger
conditions are met, the sample includes the data leading up to
the trigger condition.
R
Range
A group of rows and columns on a spreadsheet.
RMS
Root mean square.
RSE
Referenced single-ended.
S
scan
One reading from each channel or port in an analog or digital
input group.
scan clock
The clock controlling the time interval between scans. On
boards with interval scanning support (for example, the
AT-MIO-16F-5), this clock gates the channel clock on and off.
On boards with simultaneous sampling (for example, the
EISA-A2000), this clock clocks the track-and-hold circuitry.
scan rate
The number of scans per second. For example, at a scan rate of
10Hz, Measure samples each channel in a group 10 times per
second.
scan width
The number of channels in the channel list or number of ports in
the port list you use to configure an analog or digital input
group.
Measure Data Acquisition User Manual
G-6
© National Instruments Corporation
Glossary
SCXI
Signal Conditioning eXtensions for Instrumentation. The
National Instruments product line for conditional low-level
signals within an external chassis near sensors, so only
high-level signals in a noisy environment are sent to data
acquisition boards.
sec
Seconds
single-ended inputs
Analog inputs that you measure with respect to a common
ground.
software trigger
A programmed event that triggers an event such as data
acquisition.
Synchronous
A method of data communications in which a prearranged
number of bits are transferred per second. Synchronization
occurs before and after the transmission of blocks of data, rather
than before and after every character. There are no start bits or
stop bits, as there are in asynchronous communications. All
transmitted bits represent information or are parity bits. See
Asynchronous.
T
trigger
A condition for starting or stopping clocks.
U
unipolar
A signal range that is always positive—for example, 0 to 10 V.
update
The output equivalent of a scan. One update is one write to each
channel or port in the group. Updates apply to both analog
output and digital output groups.
update rate
The number of output updates per second.
update width
The number of channels in the channel list or number of ports in
the port list you use to configure an analog or digital output
group.
© National Instruments Corporation
G-7
Measure Data Acquisition User Manual
Glossary
V
V
volts.
Visual Basic for
Applications (VBA)
The programming language built into Microsoft
Excel.
Vref
Voltage reference.
W
waveform
Measure Data Acquisition User Manual
Multiple voltage readings taken at a specific sampling rate.
G-8
© National Instruments Corporation
mode reference, 4-8 to 4-10
scan information, 4-4
selecting channels for scanning, 4-2 to 4-3
task configuration, 2-3 to 2-5
timing settings, 4-4 to 4-5
trigger reference, 4-7 to 4-8
Analog Input Configuration dialog box
Analog Input Scan List, 2-3, 4-2 to 4-4
At Cell, 4-6
Cancel, 4-7
Channels, 2-3, 4-3
Description, 2-4, 4-7
Display section, 2-4, 4-6 to 4-7
External scan clock, 4-5
Hardware Digital Trigger dialog
box, 4-7 to 4-8
High limit, 4-4
illustration, 4-2
In Columns, 4-6
In Rows, 4-6
Low Limit, 4-4
Mode, 4-7
multiple SCXI modules and
chassis, 3-3 to 3-4
Number of scans, 4-4
OK, 4-7
Scale to volts, 4-4
Scan Information section, 2-3 to 2-4,
4-4 to 4-5
Scan Rate section, 2-4, 4-4 to 4-5
Scans/second, 2-4, 4-5
Task Name, 2-4, 4-6
Trigger, 4-7 to 4-8
A
Acquire until trigger option, Hardware
Digital Trigger dialog box, 4-7
Add button
Analog Input Configuration dialog
box, 2-3, 3-3
Analog Output Configuration dialog
box, 5-1
adding DAQ Add-In manually, 1-3
adding tasks to DAQ menu, 2-8
Advanced Analog Output Configuration
dialog box, 5-3 to 5-4
illustration, 5-3
options (table), 5-4
Advanced button, Analog Output
Configuration dialog box, 5-1
Advanced Timing Settings dialog box
illustration, 4-10
options (table), 4-10
AI option, DAQ Tasks dialog box, 2-2, 2-10
analog input, SCXI modules, 3-2 to 3-4
channel strings syntax (table), 3-4
multiple SCXI modules and
chassis, 3-3 to 3-4
analog input characteristics
Lab, 1200 Series, and portable devices
(table), A-9
MIO and AI devices (table), A-2 to A-3
SCXI modules (table), A-10 to A-11
analog input configuration. See also Analog
Input Configuration dialog box.
advanced timing settings, 4-10
display, 4-6
© National Instruments Corporation
I-1
Measure Data Acquisition User Manual
Index
C
analog input configuration programmability
Lab, 1200 Series, and portable devices
(table), A-8
MIO and AI devices (table), A-1
Analog Input Mode dialog box, 4-9 to 4-10
Differential Channels, 4-9
Non-Referenced Single-Ended
Channels, 4-9
Referenced Single-Ended Channels, 4-9
analog output, SCXI modules, 3-5
analog output characteristics
analog output only devices (table), A-13
Lab, 1200 Series, and portable devices
(table), A-10
MIO and AI devices (table), A-5 to A-6
SCXI modules (table), A-12
analog output configuration. See also
Analog Output Configuration dialog
box.
advanced configuration, 5-3 to 5-4
task configuration, 2-3 to 2-5
Analog Output Configuration dialog box
Add, 5-2
Advanced, 5-2
Cancel, 5-3
Channel, 2-6, 5-2
Data cells, 2-6, 5-2
Description, 5-2
illustration, 5-1
Number of Iterations, 2-6, 5-2
OK, 5-3
Remove, 5-2
Task Name, 2-6, 5-2
Updates per Second, 2-6, 5-2
AO option, DAQ Tasks dialog box, 2-6,
2-10
At Cell field, Analog Input Configuration
dialog box, 4-6
channel clock and scan clock (figure), 4-5
Channel field, Analog Output Configuration
dialog box, 2-6, 5-2
channel strings
SCXI analog input, 3-2 to 3-3
valid (table), 3-4, 4-3
Channel Wizard, 1-2, 2-2, 4-2 to 4-3
Channels field, Analog Input Configuration
dialog box, 2-3, 4-3
clocks
External scan clock option, 4-5
scan clock and channel clock (figure), 4-5
Use external channel clock option, 4-10
configuration. See analog input
configuration; analog output
configuration.
customer communication, xi, D-1 to D-2
D
DAQ devices. See also DAQ hardware
capabilities.
configuration error message, C-2
list of data acquisition devices is
empty, C-1
overview, 1-2, 4-1
selecting from DAQ Tasks dialog
box, 2-1 to 2-2
using with Measure, 1-1
DAQ function, 6-1 to 6-2
DAQ hardware capabilities, A-1 to A-13
analog input characteristics
Lab, 1200 Series, and portable devices
(table), A-9
MIO and AI devices (table), A-2 to A-3
SCXI modules (table), A-10
analog input configuration
programmability
Lab, 1200 Series, and portable devices
(table), A-8
MIO and AI devices (table), A-1
analog output characteristics
analog output only devices (table), A-13
B
boards. See DAQ devices.
bulletin board support, D-1
Measure Data Acquisition User Manual
I-2
© National Instruments Corporation
Index
Lab, 1200 Series, and portable devices
(table), A-10
MIO and AI devices (table), A-5 to A-6
terminal block selection guide, SCXI
modules (table), A-12
DAQ menu
adding tasks, 2-8
no menu appears, C-1
DAQ Tasks dialog box
managing tasks in workbook, 2-9 to 2-10
options (table), 2-10
purpose and use, 2-2
data acquisition boards. See DAQ devices.
Data acquisition device option, DAQ Tasks
dialog box, 2-10
data acquisition tasks. See tasks.
Data acquisition tasks option, DAQ Tasks
dialog box, 2-10
Data cells field, Analog Output
Configuration dialog box, 2-6, 5-2
Delete option, DAQ Tasks dialog box, 2-10
Description button
Analog Input Configuration dialog
box, 2-4, 4-7
Analog Output Configuration dialog
box, 5-2
devices. See DAQ devices.
Differential Channels option, Analog Input
Mode dialog box, 4-9
displaying acquired data, 4-6
documentation
conventions used in manual, x-xi
organization of manual, ix-x
Excel error message after removing DAQ
Add-In manually, C-2
external clock
advanced timing settings, 4-10
External scan clock option, 4-5
MIO-E Series devices (note), 4-6
Use external channel clock option, 4-10
External scan clock option, Analog Input
Configuration dialog box, 4-5
External Voltage Reference checkbox,
Advanced Analog Output
configuration dialog box, 5-4
F
Fatal error message, C-2
fax and telephone support, D-2
FaxBack support, D-2
FTP support, D-1
functions
DAQ, 6-1 to 6-2
GetDAQErrorMessage function, 6-3
G
GetDAQErrorMessage function, 6-3
H
Hardware Digital Trigger dialog box
Acquire until trigger, 4-8
scans after trigger, 4-8
Start acquisition on trigger, 4-8
Timeout (seconds), 4-8
High Limit field
Advanced Analog Output configuration
dialog box, 5-4
Analog Input Configuration dialog
box, 4-3
E
Edit DAQ Menu dialog box, 2-8
Edit Menu option, DAQ Tasks dialog
box, 2-10
Edit option, DAQ Tasks dialog box, 2-10
e-mail support, D-2
error codes, B-1 to B-12
© National Instruments Corporation
I
In Columns option, Analog Input
Configuration dialog box, 4-6
I-3
Measure Data Acquisition User Manual
Index
In Rows option, Analog Input Configuration
dialog box, 4-6
installation
adding DAQ Add-In manually, 1-3
removing DAQ Add-In manually, 1-3
steps for installation, 1-3
uninstalling Measure, 1-4
interchannel delay
specifying, 4-10
Number of scans field, Analog Input
Configuration dialog box, 2-4, 4-4
O
operating modes, SCXI modules, 3-1 to 3-3
P
parallel operating mode, SCXI, 3-1
L
Low Limit field
Advanced Analog Output configuration
dialog box, 5-3 to 5-4
Analog Input Configuration dialog
box, 4-2
R
Referenced Single-Ended Channels field,
Analog Input Mode dialog box, 4-9
Remove button, Analog Output
Configuration dialog box, 5-1 to 5-2
removing DAQ Add-In manually, 1-3
Excel error message, C-2
round robin scanning (figure), 4-5
Run button
DAQ Tasks dialog box, 2-5, 2-7, 2-10
M
manual. See documentation.
Measure
installing, 1-3
overview, 1-2
uninstalling, 1-4
using with DAQ devices, 1-1
Microsoft Excel error message after
removing DAQ Add-In manually,
C-2
Mode button, Analog Input Configuration
dialog box, 4-7
mode selection, in Analog Input Mode
dialog box, 4-8 to 4-9
multiplexed operating mode, SCXI, 3-1
S
saving tasks, 2-9
Scale to volts checkbox, Analog Input
Configuration dialog box, 4-4
scan clock, external. See clocks.
scan list, analog input, 2-3, 4-2 to 4-4
scan rate
selecting number of scans per second, 4-5
setting, 2-4, 4-4 to 4-5
scans, specifying number for acquisition,
2-3 to 2-4, 4-4
scans after trigger field, Hardware Digital
Trigger dialog box, 4-8
Scans/second field, Analog Input
Configuration dialog box, 2-4, 4-5
SCXI modules. See also DAQ hardware
capabilities.
analog input, 3-2 to 3-4
N
Named channels, 2-2, 2-6, 4-4, 5-2, 5-3
NI-DAQ driver software, configuring, 1-2
Non-Referenced Single-Ended Channels
option, Analog Input Mode dialog
box, 4-9
Number of iterations field, Analog Output
Configuration dialog box, 2-6, 5-2
Measure Data Acquisition User Manual
I-4
© National Instruments Corporation
Index
channel strings syntax (table), 3-4
multiple SCXI modules and
chassis, 3-3 to 3-4
analog output, 3-5
configuration, 3-1
operating modes, 3-1 to 3-2
overview, 3-1
Signal Conditioning Extension for
Instrumentation (SCXI). See SCXI
modules.
Specify interchannel delay option,
Advanced Timing Settings dialog
box, 4-10
Start acquisition on trigger option,
Hardware Digital Trigger dialog
box, 4-8
selecting, 2-1 to 2-3
technical support, D-1 to D-2
terminal block selection guide, SCXI
modules (table), A-12
Timeout (seconds) field, Hardware Digital
Trigger dialog box, 4-8
timing settings, 4-4 to 4-5
Advanced Timing Settings dialog
box, 4-10
external scan clock, 4-5
round robin scanning (figure), 4-5
scan clock and channel clock (figure), 4-5
scan rate, 4-5
Trigger button, Analog Input Configuration
dialog box, 4-7
trigger reference, 4-7 to 4-8
troubleshooting, C-1 to C-2
T
U
Task Description option, DAQ Tasks dialog
box, 2-10
Task Name
Analog Input Configuration dialog box,
2-3, 4-2, 4-6
Analog Output Configuration dialog box,
2-6, 5-1 to 5-2
uninstalling Measure, 1-4
Updates per second field, Analog Output
Configuration dialog box, 2-6, 5-2
Use external channel clock option,
Advanced Timing Settings dialog
box, 4-10
V
tasks. See also DAQ Tasks dialog box.
acquisition tasks with VBA, 6-1
adding to DAQ menu, 2-8
configuring
advanced analog output configuration,
5-3 to 5-4
advanced timing settings, 4-10
analog input task, 2-3 to 2-5, 4-2 to 4-7
analog output task, 2-5 to 2-7,
5-1 to 5-3
mode reference, 4-8 to 4-9
timing settings, 4-4 to 4-5
trigger reference, 4-7 to 4-8
managing tasks in workbook, 2-9 to 2-10
saving, 2-9
© National Instruments Corporation
Visual Basic for Applications (VBA)
DAQ function, 6-1 to 6-2
GetDAQErrorMessage function, 6-3
running tasks from, 6-1
voltage limits
analog input
high, 4-3
low, 4-4
analog output
high, 5-4
low, 5-4
voltage reference, external, 5-4
volts, scale for displaying acquired
data in, 4-4
I-5
Measure Data Acquisition User Manual
Index
W
waveforms, generating on more than one
channel (note), 5-3
WDAQCONF utility, 1-1
workbook, managing tasks in, 2-9 to 2-10
Measure Data Acquisition User Manual
I-6
© National Instruments Corporation
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement