Benutzeranleitung / Produktwartung Measure Data Acquisition des Produzenten National Instruments
Zur Seite of 98
Measure ® Data Acquisition User Manual Click here to comment on this document via the National Instruments website at http://www.natinst.com/documentation/daq/.
Email: measure.support@natinst.com National Instruments Home Page: http://www.natinst.com FTP Site: ftp.natinst.com BBS United States: (512) 794-5422 or (800) 327-3077 BBS United Kingdom: 01635 551422.
Important Information 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.
About This Manual Organization of This Manual Conventions Used in This Manual Customer Communication xi Chapter 1 Introduction Using Measure with Your DAQ Device DAQ Device Overview Installing Measure.
Chapter 4 Analog Input Reference DAQ Device Overview Analog Input Configuration Overview Analog Input Scan List Channels High Limit Low Limit Scan Information Number of scans Scale to volts Timing Set.
Appendix B Error Codes Appendix C Trouble Shooting Appendix D Customer Communication Glossary Index Figures Figure 1-1. Add-Ins Dialog Box Figure 2-1. DAQ Tasks Dialog Box Figure 2-2. Analog Input Configuration Figure 2-3. Task Description Dialog Box Figure 2-4.
Tables Table 2-1. DAQ Tasks Dialog Box Options Table 3-1. SCXI Channel Strings Syntax Table 4-1. Examples of Valid Channel Strings Table 4-2. Analog Input Configuration Buttons/Options Table 4-3. Choices for Hardware Digital Trigger Table 4-4. Choices for Analog Input Mode Dialog Box Table 4-5.
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.
• 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 SCXI information and tables that summarize the analog I/O capabilities of National Instruments data acquisition devices you might use with Measure for Windows.
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.
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 User Manual for PC Compatibles that came with your device for instructions on installation and configuration.
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.
Manually Adding or Removing the DAQ Add-In To add the DAQ Add-In manually, complete the following steps. 1. 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.
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.
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.
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.
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 were to specify two channels in your channel list, 100 scans would result in 200 points of data acquired (100 from each channel).
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 named Read Channel 0 in your task list. Notice also that the description for this new task appears in the dialog box as well. 8. Click on the Run button to execute the task.
1. From the DAQ Task dialog box, select AO from the Create a task section of the dialog box to display the Analog Output Configuration dialog box, shown in Figure 2-5. 2. Type 0 in the Channel input field. 3. Type $A$1:$A$10 in the Data cells input field.
dialog box. Notice that your new analog output task appears in the task list, shown in Figure 2-6. 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.
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.
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, shown in Figure 2-9, to manage the tasks in a workbook.
Table 2-1 contains a list of the DAQ Tasks dialog box options with descriptions of their use. 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.
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.
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.
‘ 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.
Table 3-1 lists other possible combinations for SCXI channel strings. 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.
SCXI Analog Output The current version of Measure does not support the use of analog output (AO) channels on the SCXI-1124 module. You can use the analog output channels of the SCXI-1200 module by selecting the device number and the AO channel number as you would with any other DAQ device.
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.
Analog Input Configuration Overview Select DAQ » Configure DAQ Tasks and then press the AI button to open the Analog Input Configuration dialog box, shown in Figure 4-1.
left-to-right is the order that Measure scans the channels. The following is a table of valid channel strings. Valid Channel Strings Channels in the Scan List 99 3,1 3,1 4:7 4,5,6,7 9,4:7,3,1 9,4,5,6,.
Low Limit Enter the lower voltage limit for the channels in the channel string. This voltage is the minimum voltage that is measured at any of the analog input channels that are specified in the channel string. You may add more than one channel string to your scan list and each channel string may have a different set of high and low limits.
in time the channels are sampled within each scan. The reciprocal of the channel clock rate is called the interchannel delay, or channel interval, shown in Figure 4-2. 01 2 3 01 2 3 01 2 3 channel interval scan interval Measure automatically calculates the smallest, safe interchannel delay for your given configuration and device.
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 cha.
Mode Change the analog input mode from the setting that you specify when you run the NI-DAQ Configuration Utility, WDAQCONF.EXE . Measure automatically selects the option that reflects the current setting for your device. Description Enter a short description of your task.
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.
Table 4-4 contains a list Analog Input Mode choices with descriptions of their use. Choices for Analog Input Mode Description Differential Channels Select this option if you want each channel to use two analog channel input lines.
Advanced Timing Settings Most of the time, you do not have to 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 even use an external channel clock.
Analog Output Reference This chapter introduces some concepts of data acquisition and contains a reference for basic and advanced Analog Output Configuration.
Option Description Channel Specify the analog output channel on which to generate a signal. You may only specify one channel at a time. Data cells Specify the source range of the voltage values to write to the digital-to- analog converter (DAC) for the channel.
Note: If you want to generate waveforms on more than one channel, each channel must be added separately to the channel list. Also, Measure requires that all channels have the same number of voltage values to generate.
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.
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.
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.
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 Description ErrorCode A non-zero number returned by the DAQ function that indicates an error.
DAQ Hardware Capabilities This appendix contains SCXI information, and 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.
AT-MIO-16/16D By Channel By Device By Device By Device 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.
Device Triggers 1 Max Sampling Rate (S/s) AT-MIO-16E-1 AT-MIO-16E-2 AT-MIO-64E-3 AT-MIO-16E-10 AT-MIO-16DE-10 NEC-AI-16E-4 NEC-MIO-16E-4 Pre, Post E-1: 1 M, E-2 and E-3: 500 k, E-4: 250 k, E-10 and DE.
Lab and 1200 Series and Portable Devices Hardware Capabilities Device Gain Range Polarity SE/DIFF coupling Lab-PC+ By group By group By device By device DC SCXI-1200 DAQPad-1200 DAQCard-1200 PCI-1200 .
Device Number of Channels Resolution (bits) Gains 1 Range (V) 1 Input FIFO (samples) Lab-PC+ SCXI-1200 DAQPad-1200 DAQCard-1200 PCI-1200 8SE, 4DI 12 1, 2, 5, 10 20, 50, 100 ±5, 0 to 10 2,048; Lab-PC: 512 DAQCard-500 8SE 12 1 ±5 16 DAQCard-700 16SE, 8DI 12 1 ±10, ±5, ±2.
Device Channel #s DAC Type Output Limits (V) Waveform Grouping Lab-PC+ SCXI-1200 DAQPad-1200 DAQCard-1200 PCI-1200 0, 1 12-bit double-buffered 0 to 10, ±5 0, 1, or 0 and 1 SCXI Module Hardware Capabi.
SCXI-1141 8 DI ±5 1, 2, 5, 10, 20, 50, 100 (SW/C) 1 elliptic lowpass filter with 10Hz to 25KHz cutoff frequency 2 (SW/M)1 (disabled on a per channel basis) — multiplexed or parallel 1 DS/C = dip sw.
Analog Output Only Devices Hardware Capabilities Device Channel #s DAC Type Output Limits (V) Waveform Grouping Transfer Method AT-AO-6 AT-AO-10 0 through 5, 6 through 9* 12-bit double- buffered with 1 K FIFO for update clock 1 channels ±10V, ±Vref1, 0 to 10, 0 to Vref1, 4 to 20 mA, 4 to Vref mA 12 5 0 625 + .
Error Codes This appendix describes the errors that can occur while using the Measure DAQ Add-In. Error Code Error Description -10001 syntaxErr An error was detected in the input string; the arrangement or ordering of the characters in the string was not consistent with the expected ordering.
-10010 badCountErr The count is too large or too small for the specified counter, or the given I/O transfer count is not appropriate for the current buffer or channel configuration.
-10026 badBufferSpec The requested number of buffers or the buffer size is not allowed; e.g., Lab-PC buffer limit is 64K samples, or the device does not support multiple buffers. -10027 badDAQEventErr For DAQEvents 0 and 1, general value A must be greater than zero and less than the internal buffer size.
with the device type. -10090 badRPGErr The individual range, polarity, and gain settings are valid, but the combination is not allowed. -10091 badIterationsErr You have attempted to use an invalid setting for the iterations parameter. The iterations value must be 0 or greater.
-10244 deviceInitErr The driver encountered a hardware- initialization error while attempting to configure the specified device. -10245 osInitErr 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.
-10254 DAQCardConfErr The DAQCard cannot be configured 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.
-10370 badScanListErr Possible reasons for this error are as follows. • The scan list is invalid; for example, you are mixing AMUX-64T channels and onboard channels.
group. -10413 groupAssignErr A group is already assigned, or the specified line or channel is already assigned to a group. -10414 reservedPinErr The selected signal requires a pin that is reserved and configured only by NI-DAQ. You cannot configure this pin yourself.
-10441 memConfigErr No memory is configured to support the current data-transfer mode, or the configured memory does not support the current data-transfer mode.
-10451 virtualMemErr 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. -10452 noIntAvailErr No interrupt level is available for use.
-10602 noWriteErr No output data has been written into the transfer buffer. -10603 groupWriteErr The output data associated with a group must be for a single channel or must be for consecutive channels. -10604 activeWriteErr Once data generation has started, only the transfer buffers originally written to can be updated.
-10616 slaveClkErr The clock configuration for the clock slave is invalid. -10617 noClkSrcErr No source signal has been assigned to the clock resource. -10618 badClkSrcErr The specified source signal cannot be assigned to the clock resource. -10619 multClkSrcErr A source signal has already been assigned to the clock resource.
-10632 someInputsIgnoredErr Certain inputs were ignored because they were not relevant in the current operating mode. -10633 invalidRegenModeErr The specified analog output regeneration mode is not allowed for this device. -10634 noContTransferInProgressE rror No continuous (double buffered) transfer is in progress for the specified resource.
-10688 noTrigEnabledErr The number of total scans and pretrigger scans implies that a triggered start is intended, but triggering is not enabled. -10689 digitalTrigBErr Digital trigger B is illegal for the number of total scans and pretrigger scans specified.
-10701 noLaterUpdateError The call had no effect because the specified channel had not been set for later internal update. -10702 prePostTriggerError Pretriggering and posttriggering cannot be used simultaneously on the Lab and 1200 series devices. -10710 noHandshakeModeError The specified port has not been configured for handshaking.
-10805 overRunErr The clock source for the input task is faster than the maximum clock rate the device supports. If you allow the driver to calculate the analog input channel clock rate, the driver bases the clock rate on the device type.
-10844 underWriteErr New data was not written to the output transfer buffer before the driver attempted to transfer data to the device. -10845 overFlowErr Because of system limitations, the driver could not read data from the device fast enough to keep up with the device throughput.
-10880 updateRateChangeErr 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.
-2101 iERR_AO_MULTIPLE_CHANS_ PER_STRING An analog output channel string represents multiple analog output channels. Measure requires that each analog output channel string contain only one analog output channel.
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.
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.
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.
FaxBack is a 24-hour information retrieval system containing a library of documents on a wide range of technical information. You can access FaxBack from a touch-tone telephone at the following number.
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.
.
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.
.
For each instrument you are using: Name of instrument ______________________________________________________________ Manufacturer of instrument ________________________________________________________.
.
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.
.
Prefix Meaning Value p- n- µ- m- k- M- pico- nano- micro- milli- kilo- mega- 10 -12 10 -9 10 -6 10 -3 10 3 10 6 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.
Analog Input The specification of the analog input channels, input Configuration limits, input mode, and scan rate that Measure will use to acquire a waveform. Analog Output The specification of the analog output channels, output Configuration limits, data points, and update rate that Measure will use to generate a waveform.
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.
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.
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.
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.
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.
V V volts. Visual Basic for The programming language built into Microsoft Applications (VBA) Excel. V ref Voltage reference. W waveform Multiple voltage readings taken at a specific sampling rate.
A Acquire until trigger option, Hardware Digital Trigger dialog box, 4-7 Add button Analog Input Configuration dialog box, 2-3, 3-4 Analog Output Configuration dialog box, 5-1 adding DAQ Add-In manual.
analog input configuration programmability Lab and 1200 Series and portable devices (table), A-4 MIO and AI devices (table), A-1 to A-2 Analog Input Mode dialog box, 4-8 to 4-9 Differential Channels, .
Lab and 1200 Series and portable devices (table), A-4 MIO and AI devices (table), A-3 terminal block selection guide, SCXI modules (table), A-7 DAQ menu adding tasks, 2-7 to 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.
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-2 uninstalling Measure, 1-3 intercha.
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).
W waveforms, generating on more than one channel (note), 5-3 WDAQCONF utility, 1-1 workbook, managing tasks in, 2-9 to 2-10.
Ein wichtiger Punkt beim Kauf des Geräts National Instruments Measure Data Acquisition (oder sogar vor seinem Kauf) ist das durchlesen seiner Bedienungsanleitung. Dies sollten wir wegen ein paar einfacher Gründe machen:
Wenn Sie National Instruments Measure Data Acquisition noch nicht gekauft haben, ist jetzt ein guter Moment, um sich mit den grundliegenden Daten des Produkts bekannt zu machen. Schauen Sie zuerst die ersten Seiten der Anleitung durch, die Sie oben finden. Dort finden Sie die wichtigsten technischen Daten für National Instruments Measure Data Acquisition - auf diese Weise prüfen Sie, ob das Gerät Ihren Wünschen entspricht. Wenn Sie tiefer in die Benutzeranleitung von National Instruments Measure Data Acquisition reinschauen, lernen Sie alle zugänglichen Produktfunktionen kennen, sowie erhalten Informationen über die Nutzung. Die Informationen, die Sie über National Instruments Measure Data Acquisition erhalten, werden Ihnen bestimmt bei der Kaufentscheidung helfen.
Wenn Sie aber schon National Instruments Measure Data Acquisition besitzen, und noch keine Gelegenheit dazu hatten, die Bedienungsanleitung zu lesen, sollten Sie es aufgrund der oben beschriebenen Gründe machen. Sie erfahren dann, ob Sie die zugänglichen Funktionen richtig genutzt haben, aber auch, ob Sie keine Fehler begangen haben, die den Nutzungszeitraum von National Instruments Measure Data Acquisition verkürzen könnten.
Jedoch ist die eine der wichtigsten Rollen, die eine Bedienungsanleitung für den Nutzer spielt, die Hilfe bei der Lösung von Problemen mit National Instruments Measure Data Acquisition. Sie finden dort fast immer Troubleshooting, also die am häufigsten auftauchenden Störungen und Mängel bei National Instruments Measure Data Acquisition gemeinsam mit Hinweisen bezüglich der Arten ihrer Lösung. Sogar wenn es Ihnen nicht gelingen sollte das Problem alleine zu bewältigen, die Anleitung zeigt Ihnen die weitere Vorgehensweise – den Kontakt zur Kundenberatung oder dem naheliegenden Service.