Resumen del contenido incluido en la página 1
Computer-Based
Instruments
NI 5102 User Manual
High-Speed Digitizer
NI 5102 User Manual
June 2001 Edition
Part Number 321390D-01
Resumen del contenido incluido en la página 2
Support Worldwide Technical Support and Product Information ni.com National Instruments Corporate Headquarters 11500 North Mopac Expressway Austin, Texas 78759-3504 USA Tel: 512 794 0100 Worldwide Offices Australia 03 9879 5166, Austria 0662 45 79 90 0, Belgium 02 757 00 20, Brazil 011 284 5011, Canada (Calgary) 403 274 9391, Canada (Montreal) 514 288 5722, Canada (Ottawa) 613 233 5949, Canada (Québec) 514 694 8521, Canada (Toronto) 905 785 0085, China (Shanghai) 021 6555 7838, China (ShenZhen)
Resumen del contenido incluido en la página 3
Important Information Warranty The NI 5102 is warranted against defects in materials and workmanship for a period of one year from the date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace equipment that proves to be defective during the warranty period. This warranty includes parts and labor. The media on which you receive National Instruments software are warranted not to fail to execute programming instructions, due to d
Resumen del contenido incluido en la página 4
Compliance FCC/Canada Radio Frequency Interference Compliance* Determining FCC Class The Federal Communications Commission (FCC) has rules to protect wireless communications from interference. The FCC places digital electronics into two classes. These classes are known as Class A (for use in industrial-commercial locations only) or Class B (for use in residential or commercial locations). Depending on where it is operated, this product could be subject to restrictions in the FCC rules. (In Canad
Resumen del contenido incluido en la página 5
Canadian Department of Communications This Class B digital apparatus meets all requirements of the Canadian Interference-Causing Equipment Regulations. Cet appareil numérique de la classe B respecte toutes les exigences du Règlement sur le matériel brouilleur du Canada. Compliance to EU Directives Readers in the European Union (EU) must refer to the Manufacturer's Declaration of Conformity (DoC) for information** pertaining to the CE Mark compliance scheme. The Manufacturer includes a DoC for mo
Resumen del contenido incluido en la página 6
Contents About This Manual Conventions Used in This Manual.................................................................................ix Related Documentation..................................................................................................x Chapter 1 Introduction About Your NI 5102 ......................................................................................................1-1 Acquiring Data with Your NI 5102 ........................................................
Resumen del contenido incluido en la página 7
Contents Chapter 4 Hardware Overview I/O Connector ................................................................................................................ 4-2 Signal Connections........................................................................................................ 4-5 Serial Communications Port (AUX) ............................................................... 4-6 Analog Input............................................................................................
Resumen del contenido incluido en la página 8
About This Manual TheNI5102isananaloginput device availableinPCI,PXI,ISA, PCMCIA, and USB form factors. This manual describes the installation and operation of these digitizers. Conventions Used in This Manual The following conventions are used in this manual: <> Angle brackets that contain numbers separated by an ellipsis represent a range of values associated with a bit or signal name—for example, DBIO<3..0>. » The » symbol leads you through nested menu items and dialog box options to a final
Resumen del contenido incluido en la página 9
About This Manual NI 5102 NI 5102 is a generic term that denotes one or more of the NI 5102 (PCI), NI 5102 (PXI), NI 5102 (ISA), NI 5102 (PCMCIA), and NI 5102 (USB) devices. NI 5102 (ISA) Refers to the NI 5102 for ISA bus. NI 5102 (PCI) Refers to the NI 5102 for PCI bus. NI 5102 (PCMCIA) Refers to the NI 5102 for computers with a Type II PCMCIA slot. NI 5102 (PXI) Refers to the NI 5102 for PXI bus. NI 5102 (USB) Refers to NI 5102 for computers that are USB compatible. NI-DAQ NI-DAQ refers to the
Resumen del contenido incluido en la página 10
1 Introduction This chapter describes the National Instruments (NI) 5102 and lists additional equipment. About Your NI 5102 Thank you for your purchase of an NI 5102. The NI 5102 family consists of five different devices tailored to your choice of bus: the PCI, the PXI, the ISA, the PCMCIA, and the universal serial bus (USB). Your NI 5102 has the following features: Two 8-bit resolution analog input channels Real-timesamplingrateof20MS/sto1kS/s; 1GS/srandom interleaved sampling (RIS) 15 MH
Resumen del contenido incluido en la página 11
Chapter 1 Introduction To improve timing resolution for repetitive signals, you can use random interleaved sampling (RIS) on your NI 5102. This method of sampling allows you to view pretrigger data and achieve an effective sampling rate as high as 1 GS/s, 50 times the real-time sampling rate of the device. Detailed specifications of the NI 5102 devices are in Appendix A, Specifications. Acquiring Data with Your NI 5102 You can acquire data either programmatically by writing an application for yo
Resumen del contenido incluido en la página 12
Chapter 1 Introduction Scope SFP C/C++ LabVIEW LabWindows/CVI Microsoft (Win 2000/NT/ (Win 2000/NT/ Visual Basic (Win 2000/NT/ (Win 2000/NT/ Excel Me/9x) Me/9x) Me/9x/3.1) Me/9x/3.1) DAQ VI NI-SCOPE ComponentWorks Measure Library Driver API NI-DAQ Driver Software PCI, PXI (Win 2000/NT/Me/9x/3.1) PCMCIA, ISA, USB (Win 2000/NT/Me/9x) NI 5102 Figure 1-1. The Relationship Between the Programming Environment, NI-DAQ, and Your Hardware Interactively Controlling your NI 5102 with the Scope Soft Front
Resumen del contenido incluido en la página 13
Chapter 1 Introduction NI-SCOPE Driver The NI-SCOPE driver is the preferred choice to program your NI 5102. It provides flexibility and programmability in a standard full-featured instrument-driver format which lets you avoid low-level software calls and which works with LabVIEW, LabWindows/CVI, and conventional languages such as C/C++ and Visual Basic. To help you get started, NI-SCOPE comes with examples you can use or modify. You can find examples for these different ADEs: LabVIEW— Go toPro
Resumen del contenido incluido en la página 14
Chapter 1 Introduction Note NI 5102 digitizers use only the easy I/O interface under data acquisition in LabWindows/CVI. The easy I/O interface provides limited functionality in CVI. To use the NI 5102 to its full capabilities, use the NI-SCOPE driver as shown in Figure 1-1. Measurement Studio contains tools for data acquisition and device control built on NI-DAQ driver software. Measurement Studio provides a higher-level programming interface for building virtual instruments with Visual Basic,
Resumen del contenido incluido en la página 15
Chapter 1 Introduction PXI-specific features, RTSI bus trigger, RTSI Clock, and Serial Communication are implemented on the J2 connector of the CompactPCI bus. Table 1-1 lists the J2 pins used by your NI 5102 (PXI) digitizer, which is compatible with any CompactPCI chassis with a sub-bus that does not drive these lines. Even if the sub-bus is capable of driving these lines, the NI 5102 (PXI) is still compatible as long as those pins on the sub-bus are disabled by default and are never enabled. D
Resumen del contenido incluido en la página 16
2 Installation and Configuration This chapter describes how to unpack, install, and configure your NI 5102. What You Need to Get Started To set up and use your NI 5102, you will need the following: ❑ One of the following NI 5102 devices: – NI 5102 (PCI) – NI 5102 (PXI) – NI 5102 (ISA) – NI 5102 (PCMCIA) – NI 5102 (USB) ❑ NI-SCOPE Driver CD ❑ One of the following software packages and documentation: – LabVIEW – An application development environment (ADE) such as LabWindows/CVI, Visual C++, or Vi
Resumen del contenido incluido en la página 17
Chapter 2 Installation and Configuration – NI 5102 (USB) NI 5102 (USB) power supply ❑ Vinyl pouch for storing cables and accessories for the NI 5102 (PCMCIA) only Unpacking ♦ NI 5102 (PCI, PXI, ISA) Your device is shipped in an antistatic package to prevent electrostatic damage to the device. Electrostatic discharge can damage several components on the device. To avoid such damage in handling the device, take the following precautions: Ground yourself via a grounding strap or by holding a grou
Resumen del contenido incluido en la página 18
Chapter 2 Installation and Configuration Installing the NI 5102 There are two main steps involved in installation: 1. Install the NI-SCOPE driver software. You use this driver to write programs to control your NI 5102 in different application development environments (ADEs). Installing NI-SCOPE also allows you to interactively control your NI 5102 with the Scope Soft Front Panel. 2. Install your NI 5102. For step-by-step instructions for installing NI-SCOPE and the NI 5102, see Where to Start wi
Resumen del contenido incluido en la página 19
Chapter 2 Installation and Configuration Table 2-1. NI 5102 (USB) LED Patterns LED NI 5102 (USB) State Description On Configured State Your NI 5102 (USB) is configured. Off Offorinthe Your NI 5102 (USB) is turned off low-power, or in the low-power, suspend suspend mode mode. 2 Blinks Addressed state This pattern is displayed if the host computer detects your NI 5102 (USB) but cannot configure it because NI-DAQ is not installed properly or because there are no system resources available. If the N
Resumen del contenido incluido en la página 20
3 Digitizer Basics This chapter explains basic information about using digitizers, including important terminology and use of the probe. Understanding Digitizers To understand how digitizers work, you should be familiar with the Nyquist theorem and how it affects analog bandwidth and sample rate. You should also understand vertical sensitivity, analog-to-digital converter (ADC) resolution, record length, and triggering options. Nyquist Theorem The Nyquist theorem states that a signal must be sam