Measure®Data AcquisitionUser ManualClick here to comment on this document via theNational Instruments website athttp://www.natinst.com/documentation/d
monospaceText in this font denotes text or characters that are to be literally inputfrom the keyboard, sections of code, programming examples, andsynt
IntroductionThis chapter helps you install the Measure Data Acquisition (DAQ)Add-In. You should have installed and configured your DAQ hardwarealready
DAQ Device OverviewMeasure is an easy-to-use spreadsheet interface for acquiring data witha wide range of National Instruments DAQ devices. Because Me
Manually Adding or Removing the DAQ Add-InTo add the DAQ Add-In manually, complete the following steps.1. Select Tools»Add-Ins.2. In the Add-Ins d
Getting Started withData Acquisition TasksAfter you install and configure your hardware and install the MeasureData Acquisition Add-In, you are ready
The DAQ Tasks dialog box manages the I/O operations, or tasks,that you define with Measure. From this dialog box, you can createnew tasks, edit existi
Configuring an Analog Input TaskFrom the Analog Input Configuration dialog box, you can specify allthe parameters for an analog input operation. In th
example in which there is only one channel specified, the numberof scans is equal to the number of points acquired from channel 0.If you were to speci
7. Click on the OK button to return to the DAQ Tasks dialog box,shown in Figure 2-4. Notice that you now have a task namedRead Channel 0 in your tas
1. From the DAQ Task dialog box, select AO from the Create a tasksection of the dialog box to display the Analog OutputConfiguration dialog box, sho
Email: [email protected] Instruments Home Page: http://www.natinst.comFTP Site: ftp.natinst.comBBS United States: (512) 794-5422 or
dialog box. Notice that your new analog output task appears in thetask list, shown in Figure 2-6.10. Highlight the Output 10 iterations task and click
3. Highlight each of the tasks in the window on the right and click onthe Add button to add them to the DAQ menu.4. Click on the OK button to return t
Your tasks are saved as part of the Excel workbook. Each time youlaunch Excel and open a workbook that contains Measure tasks, theyappear in the task
Table 2-1 contains a list of the DAQ Tasks dialog box options withdescriptions of their use.Data acquisition device Select the National Instrument dat
Using SCXIwith Measure DAQThis chapter describes how to use the Measure data acquisition (DAQ)Add-in in Excel with your Signal Conditioning Extension
your data acquisition device. The multiplexed mode is the default andrecommended mode to use with SCXI. In the parallel mode, each SCXImodule is direc
‘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
Table 3-1 lists other possible combinations for SCXI channel strings.String Syntax Descriptionob0!sc1!md2!5Channel 5 on module 2 of SCXIchassis 1 is r
SCXI Analog OutputThe current version of Measure does not support the use of analogoutput (AO) channels on the SCXI-1124 module. You can use theanalog
Analog Input ReferenceThis chapter introduces some basic concepts of data acquisition andcontains a reference for analog input configuration, hardware
Important InformationThe media on which you receive National Instruments software are warranted not to fail to execute programminginstructions, due to
Analog Input Configuration OverviewSelect DAQ»Configure DAQ Tasks and then press the AI button toopen the Analog Input Configuration dialog box, shown
left-to-right is the order that Measure scans the channels. The followingis a table of valid channel strings.Valid Channel Strings Channels in the Sca
Low LimitEnter the lower voltage limit for the channels in the channel string.This voltage is the minimum voltage that is measured at any of theanalog
in time the channels are sampled within each scan. The reciprocal ofthe channel clock rate is called the interchannel delay, or channelinterval, shown
DisplayWhen determining where to display the acquired data, Measure usesthree pieces of information you specify.• Address of the upper-left cell in th
Mode Change the analog input mode from the setting that you specify whenyou run the NI-DAQ Configuration Utility, WDAQCONF.EXE.Measure automatically s
Choices for Hardware DigitalTriggerDescriptionStart acquisition on trigger Select this option if you want to start your acquisition onthe rising edge
Table 4-4 contains a list Analog Input Mode choices with descriptionsof their use.Choices for Analog Input Mode DescriptionDifferential Channels Selec
Advanced Timing SettingsMost of the time, you do not have to configure the advanced timingsettings because Measure automatically selects reasonable va
Analog Output ReferenceThis chapter introduces some concepts of data acquisition and containsa reference for basic and advanced Analog Output Configur
About This ManualOrganization of This ManualConventions Used in This ManualCustomer Communication xiChapter 1IntroductionUsing Measure with Your DAQ D
Option DescriptionChannel Specify the analog output channel on which to generate a signal. Youmay only specify one channel at a time.Data cells Specif
Note:If you want to generate waveforms on more than one channel, each channelmust be added separately to the channel list. Also, Measure requires that
Option DescriptionHigh Limit (volts) The high limit is equal to your reference voltage and is the maximumvoltage the DAC can produce. If you have an A
Using Measure DataAcquisition Tasks with VBAThis chapter describes how to run tasks from within Visual Basic for Applications.There are two ways to ex
ParametersOption DescriptionTaskName The name of a task in the active workbook.NewTargetRange The address of a range on a worksheet that receives the
GetDAQErrorMessageFinds and returns a description of an error code returned by the DAQ function.SyntaxFunction GetDAQErrorMessage(ErrorCode As Integer
DAQ Hardware CapabilitiesThis appendix contains SCXI information, and tables that summarizethe analog I/O capabilities of National Instruments data ac
AT-MIO-16/16D By Channel By Device By Device By Device DCNote: “By device” means you select the value of a parameter with hardware jumpers, andthe se
Device Triggers1Max Sampling Rate (S/s)AT-MIO-16E-1AT-MIO-16E-2AT-MIO-64E-3AT-MIO-16E-10AT-MIO-16DE-10NEC-AI-16E-4NEC-MIO-16E-4Pre, Post E-1: 1 M,E-2
Lab and 1200 Series and Portable Devices Hardware CapabilitiesDevice Gain Range Polarity SE/DIFF couplingLab-PC+ By group By group By device By device
Chapter 4Analog Input ReferenceDAQ Device OverviewAnalog Input Configuration OverviewAnalog Input Scan ListChannelsHigh LimitLow LimitScan Information
Device Number ofChannelsResolution(bits)Gains1Range (V)1Input FIFO(samples)Lab-PC+SCXI-1200DAQPad-1200DAQCard-1200PCI-12008SE, 4DI 12 1, 2, 5, 10 20,
Device Channel #s DAC Type Output Limits (V) WaveformGroupingLab-PC+SCXI-1200DAQPad-1200DAQCard-1200PCI-12000, 1 12-bit double-buffered 0 to 10, ±5 0,
SCXI-1141 8 DI±51, 2, 5, 10, 20,50, 100(SW/C)1elliptic lowpassfilter with 10Hzto 25KHz cutofffrequency2 (SW/M)1(disabled on a per channelbasis)— multi
Analog Output Only Devices Hardware CapabilitiesDevice Channel #s DAC Type OutputLimits (V)Waveform Grouping Transfer MethodAT-AO-6AT-AO-100 through 5
Error CodesThis appendix describes the errors that can occur while using theMeasure DAQ Add-In.ErrorCodeError Description-10001syntaxErrAn error was d
-10010badCountErrThe count is too large or too small forthe specified counter, or the given I/Otransfer count is not appropriate for thecurrent buffer
-10026badBufferSpecThe requested number of buffers or thebuffer size is not allowed; e.g., Lab-PCbuffer limit is 64K samples, or the devicedoes not s
with the device type.-10090badRPGErrThe individual range, polarity, and gainsettings are valid, but the combination isnot allowed.-10091badIterationsE
-10244deviceInitErrThe driver encountered a hardware-initialization error while attempting toconfigure the specified device.-10245osInitErrThe driver
-10254DAQCardConfErrThe DAQCard cannot be configuredbecause 1) the correct version of the cardand socket services software is notinstalled, 2) the car
Appendix BError CodesAppendix CTrouble ShootingAppendix DCustomer CommunicationGlossaryIndexFiguresFigure 1-1. Add-Ins Dialog BoxFigure 2-1. DAQ Tasks
-10370badScanListErrPossible reasons for this error are asfollows.• The scan list is invalid; for example,you are mixing AMUX-64Tchannels and onboard
group.-10413groupAssignErrA group is already assigned, or thespecified line or channel is alreadyassigned to a group.-10414reservedPinErrThe selected
-10441memConfigErrNo memory is configured to support thecurrent data-transfer mode, or theconfigured memory does not support thecurrent data-transfer
-10451virtualMemErrThe driver is unable to make the transferbuffer contiguous in virtual memory andtherefore cannot lock it into physicalmemory. Thus
-10602noWriteErrNo output data has been written into thetransfer buffer.-10603groupWriteErrThe output data associated with a groupmust be for a single
-10616slaveClkErrThe clock configuration for the clockslave is invalid.-10617noClkSrcErrNo source signal has been assigned to theclock resource.-10618
-10632someInputsIgnoredErrCertain inputs were ignored becausethey were not relevant in the currentoperating mode.-10633invalidRegenModeErrThe specifie
-10688noTrigEnabledErrThe number of total scans andpretrigger scans implies that atriggered start is intended, buttriggering is not enabled.-10689digi
-10701noLaterUpdateErrorThe call had no effect because thespecified channel had not been set forlater internal update.-10702prePostTriggerErrorPretrig
-10805overRunErrThe clock source for the input task isfaster than the maximum clock rate thedevice supports. If you allow thedriver to calculate the
TablesTable 2-1. DAQ Tasks Dialog Box OptionsTable 3-1. SCXI Channel Strings SyntaxTable 4-1. Examples of Valid Channel StringsTable 4-2. Analog Input
-10844underWriteErrNew data was not written to the outputtransfer buffer before the driverattempted to transfer data to thedevice.-10845overFlowErrBec
-10880updateRateChangeErrA change to the update rate is notpossible at this time because 1) whenwaveform generation is in progress,you cannot change t
-2101iERR_AO_MULTIPLE_CHANS_PER_STRINGAn analog output channel stringrepresents multiple analog outputchannels. Measure requires that eachanalog outp
TroubleshootingThis appendix describes solutions to problems that you mightencounter using the Measure DAQ Add-In.Problem: No DAQ menu appears.Soluti
Problem: You are using Windows 3.1 or Windows forWorkgroups 3.11 and you get a dialog boxentitled Measure with the message,Error -10243 The driver cou
Customer CommunicationFor your convenience, this appendix contains forms to help you gather the information necessaryto help us solve technical proble
FaxBack is a 24-hour information retrieval system containing a library of documents on a widerange of technical information. You can access FaxBack fr
Technical Support FormPhotocopy this form and update it each time you make changes to your software or hardware, anduse the completed copy of this for
Hardware and Software Configuration FormRecord the settings and revisions of your hardware and software on the line to the right of eachitem. Complete
The Measure Data Acquisition User Manual describes how to use theMeasure Data Acquisition Add-In with National Instruments dataacquisition boards to a
For each instrument you are using:Name of instrument ______________________________________________________________Manufacturer of instrument_________
Documentation Comment FormNational Instruments encourages you to comment on the documentation supplied with ourproducts. This information helps us pro
Prefix Meaning Valuep-n-µ-m-k-M-pico-nano-micro-milli-kilo-mega-10-1210-910-610-3103106Numbers/Symbols1D One-dimensional.2D Two-dimensional.AA/D Analo
Analog Input The specification of the analog input channels, inputConfiguration limits, input mode, and scan rate that Measure will use toacquire a w
Cchannel Pin or wire lead to which you apply or from which you read theanalog or digital signal. Analog signals can be single-ended ordifferential. Fo
DMA Direct memory access. A method by which data you can transferdata to computer memory from a device or memory on the bus(or from computer memory to
does not uniquely determine the upper and lower voltage limits.An input range of 10 V could mean an upper limit of +10 V anda lower of 0 V or an upper
• Chapter 6, Using Measure Data Acquisition Tasks with VBA,describes how to run tasks from within Visual Basic forApplications.• Appendix A, DAQ Hardw
output limits The upper and lower voltage or current outputs for an analogoutput channel. The output limits determine the polarity andvoltage referenc
SCXI Signal Conditioning eXtensions for Instrumentation. TheNational Instruments product line for conditional low-levelsignals within an external chas
VV volts.Visual Basic for The programming language built into MicrosoftApplications (VBA) Excel.VrefVoltage reference.Wwaveform Multiple voltage read
AAcquire until trigger option, HardwareDigital Trigger dialog box, 4-7Add buttonAnalog Input Configuration dialog box,2-3, 3-4Analog Output Configurat
analog input configuration programmabilityLab and 1200 Series and portable devices(table), A-4MIO and AI devices (table), A-1 to A-2Analog Input Mode
Lab and 1200 Series and portabledevices (table), A-4MIO and AI devices (table), A-3terminal block selection guide, SCXImodules (table), A-7DAQ menuadd
In Rows option, Analog Input Configurationdialog box, 4-6installationadding DAQ Add-In manually, 1-3removing DAQ Add-In manually, 1-3steps for install
multiple SCXI modules and chassis, 3-3to 3-4analog output, 3-5configuration, 3-1operating modes, 3-1 to 3-2overview, 3-1Signal Conditioning Extension
Wwaveforms, generating on more than onechannel (note), 5-3WDAQCONF utility, 1-1workbook, managing tasks in, 2-9 to 2-10
Kommentare zu diesen Handbüchern