National Instruments DAQPad-6508, DAQPad-6507 User Manual

DAQPad™-6507/6508
User Manual
Digital I/O Devices for USB

DAQPad-6507/6508 User Manual

December 1998 Edition
Part Number 321724B-01
Internet Support
E-mail: support@natinst.com 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 (USA)
Tel: 512 795 8248 Fax: 512 794 5678
International Offices
Australia 03 9879 5166, Austria 0662 45 79 90 0, Belgium 02 757 00 20, 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
© Copyright 1997, 1998 National Instruments Corporation. All rights reserved.
Important Information
Warranty
The DAQPad-6507 and DAQPad-6508 are 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 defects in materials and work man ship, for a peri od of 90 d ays from da te o f sh ipm ent, as evi denced 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 noti ce of su ch defect s d uring th e warranty perio d. National Instruments does not warrant that the op eration of t he soft ware shall b e uni nterrup ted or erro r free.
A Return Material Authorization (RMA) number must b e ob tain ed fro m th e facto ry an d clearl y mark ed on t he outsi de of the package before any equipment will be a ccepted for warranty work. National Instruments will pay the shipping c osts of returning to the owner parts which are covered by warran ty.
National Instruments believes that the information in this manual is accurate. The document has been c arefully 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 th is do cume nt with ou t p rio r no ti ce to hold ers o f thi s ed itio n. The read er sh ou ld 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 docume nt o r th e in form ati on con tai ned in i t.
XCEPT AS SPECIFIED HEREIN
E
ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER OR INCIDENTAL OR CONSEQUENTIAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY THEREOF
National Instruments will apply regardless of the form of action, wh ether in con tract or tort , incl udin g n egli gen ce. 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, malfuncti ons, or s ervice failur es caused by own er’s fai lure to fol low 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.
ATIONAL INSTRUMENTS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA, PROFITS, USE OF PRODUCTS
. N
ATIONAL INSTRUMENTS MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AND SPECIFICALLY DISCLAIMS
, N
USTOMER’S RIGHT TO RECOVER DAMAGES CAUSED
. C
. This limitation of the liability of
,
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
ComponentWorks™, CVI™, DAQPad™, LabVIEW™, NI-DAQ™, SCXI™, and VirtualBench™ 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 com ponent s and tes ting inten ded to ensure a l evel of reliab ilit y suitable for use in treatment and diagnosis of humans. Applications of National Instruments products invol ving m edical 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 Instrum ents product s 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
Organization of This Manual...........................................................................................ix
Conventions Used in This Manual................................................................................... x
National Instruments Documentation...................................... .................................. ......xi
Related Documentation........................................... .................................. .......................xii
Customer Communication................................... .................................. ..........................xii
Chapter 1 Introduction
About the DAQPad-6507 and DAQPad-6508 Devices...................................................1-1
What You Need to Get Started........................................................................................1-2
Software Programming Choices......................................................................................1-2
National Instruments Application Software......................................................1-3
NI-DAQ Driver Software..................................................................................1-4
Optional Equipment................................................ .................................. .......................1-5
Custom Cabling.................................................................................................1-6
Unpacking........................................................................................................................1-6
Contents
Chapter 2 Installation and Configuration
Software Installation........................................................................................................2-1
Hardware Installation.......................................................................................................2-1
Configuration...................................................................................................................2-4
Power Considerations ......................................................................................................2-4
Chapter 3 Signal Connections
I/O Connector Pin Description ........................................................................................3-2
I/O Connector Signal Connection Descriptions...............................................................3-3
Port C Pin Assignments.....................................................................................3-4
Cable Assembly Connectors............................................................................................3-4
Digital I/O Signal Connections........................................................................................3-7
Power Connections ..........................................................................................................3-8
Connecting Power Sources to Digital I/O Lines ...............................................3-8
©
National Instruments Corporation v DAQPad-6507/6508 User Manual
Contents
Digital I/O State Selection...............................................................................................3-9
High DIO State..................................................................................................3-9
Low DIO State..................................................................................................3-10
Floating DIO State............................................................................................3-11
Timing Specifications......................................................................................................3-12
Mode 1 Input Timing........................................................................................ 3-13
Mode 1 Output Timing .....................................................................................3-14
Mode 2 Bidirectional Timing............................................................................3-15
Chapter 4 Theory of Operation
Interrupt Control Circuitry ..............................................................................................4-2
USB Microcontroller....................................................................................... ................4-2
82C55A Programmable Peripheral Interface ..................................................................4-2
Digital I/O Connector......................................................................................................4-3
Appendix A Specifications
Appendix B OKI 82C55A Data Sheet
Appendix C Common Questions
Appendix D Customer Communication
Glossary
Index
Figures
Figure 1-1. The Relationship between the Programming Environment,
NI-DAQ, and Your Hardware.................................. ... ............................1-5
Figure 2-1. Connection between Your Computer or USB Hub and
Your DAQPad Device ...........................................................................2-2
DAQPad-6507/6508 User Manual vi
©
National Instruments Corporation
Tables
Contents
Figure 2-2. Upstream and Downstream Connections between the
Host Computer and the DAQPad-6507 or DAQPad-6508 ....................2-4
Figure 3-1. Screw Terminal Assignments for the DAQPad-6507.............................3-1
Figure 3-2. Digital I/O Connector Pin Assignments for the DAQPad-6508 .............3-2
Figure 3-3. Cable Assembly Connector Pin Assignments for Pins 1 through 50
of the DAQPad-6508 I/O Connector.......................................................3-5
Figure 3-4. Cable Assembly Connector Pin Assignments for Pins 51 through
100 of the DAQPad-6508 I/O Connector................................................3-6
Figure 3-5. Digital I/O Connections...........................................................................3-7
Figure 3-6. DIO Channel Configured for High DIO State with External Load.........3-9
Figure 3-7. DIO Channel Configured for Low DIO State with External Load .........3-11
Figure 4-1. DAQPad-6507/6508 Devices Block Diagram ........................................4-1
Table 2-1. LED Patterns for DAQPad-6507/6508 States.........................................2-3
Table 3-1. Pin Assignments for the DAQPad-6508 ................................................. 3-3
Table 3-2. Port C Signal Assignments......................................................................3-4
Table 3-3. Timing Signal Descriptions.....................................................................3-12
©
National Instruments Corporation vii DAQPad-6507/6508 User Manual
This manual describes the mechanical and electrical aspects of the DAQPad-6507 and DAQPad-6508 and contains information concerning their operation and programming.
The DAQPad-6507 and DAQPad-6508 are digital I/O devices for USB-compatible computers. These devices are designed for high-performance data acquisition and control for applications in laboratory testing, production testing, and industrial process monitoring and control.

Organization of This Manual

The DAQPad-6507/6508 User Manual is organized as follows:
Chapter 1, Introduction, describes the DAQPad-6507 and DAQPad-6508; lists what you need to get started; describes software programming choices, optional equipment, and custom cables; and explains how to unpack the DAQPad-6507 and DAQPad-6508.
Chapter 2, Installation and Configuration, describes how to install and configure the DAQPad-6507 and DAQPad-6508 devices.
Chapter 3, Signal Connections, includes timing specifications and signal connection instructions for the DAQPad-6507 and 6508 I/O connectors.
Chapter 4, Theory of Operation, contains a functional overvie w of the DAQPad-6507/6508 devices and explains the operation of each functional unit making up the DAQPad-6507 or DAQPad-6508.
Appendix A, Specifications, lists the specifications of the DAQPad-6507/6508 devices.
Appendix B, OKI 82C55A Data Sheet, contains the manufacturer data sheet for the OKI 82C55A (OKI Semiconductor) CMOS programmable peripheral interface. This interface is used on the DAQPad-6507/6508 devices.
Appendix C, Common Questions, contains a list of commonly asked questions and their answers relating to usage and special features of your DAQPad-6507/6508 devices.
About
This
Manual
©
National Instruments Corporation ix DAQPad-6507/6508 User Manual
About This Manual
Appendix D, Customer Communication, contains forms you can use to request help from National Instruments or to comment on our products.
The Glossary contains an alphabetical list and description of terms used in this manual, including abbreviations, acronyms, metric prefixes, mnemonics, and symbols.
The Index alphabetically lists the topics in this manual, including the page where you can find each one.

Conventions Used in This Manual

The following conventions are used in this manual: This icon to the left of bold italicized text denotes a note, which alerts you
to important information.
!
82C55A 82C55A refers to the OKI 82C55A (OKI Semiconductor) CMOS
< > Angle brackets containing numbers separated by an ellipses represent
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
monospace Text in this font denotes text or characters that you should literally enter
NI-DAQ NI-DAQ refers to the NI-DAQ software for PC compatibles unless
SCXI SCXI stands for Signal Conditioning eXtensions for Instrumentation and is
This icon to the left of bold italicized text denotes a caution, which advises you of precautions to take to avoid injury, data loss, or a system crash.
programmable peripheral interface.
a range of values associated with a bit or signal name (for example, ACH<0..7>).
concept.
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, operations, variables, filenames and extensions, and for statements and comments taken from programs.
otherwise noted.
a National Instruments product line designed to perform front-end signal conditioning for National Instruments plug-in DAQ devices.
DAQPad-6507/6508 User Manual x
©
National Instruments Corporation

National Instruments Documentation

The DAQPad-6507/6508 User Manual is one piece of the documentation set for your data acquisition (DAQ) system. You could have any of several types of manuals, depending on the hardware and software in your system. Use the different types of manuals you have as follows:
Getting Started with SCXI—If you are using SCXI, this is the first manual you should read. It gives an overview of the SCXI system and contains the most commonly needed information for the modules, chassis, and software.
Y our SCXI hardware user manuals—If you are using SCXI, read these manuals next for detailed information about signal connections and module configuration. They also explain in greater detail how the module works and contain application hints.
Your DAQ hardware user manuals—These manuals have detailed information about the DA Q hardware that plugs into or is connected to your computer. Use these manuals for hardware installation and configuration instructions, specification information about your DAQ hardware, and application hints.
Software documentation—Examples of software documentation you may have are the LabVIEW, LabWindows/CVI, and NI-DAQ documentation sets. After you set up your hardware system, use either the application software (LabVIEW or LabWindows/CVI) documentation or the NI-DAQ documentation to help you write your application. If you have a large and complicated system, it is worthwhile to look through the software documentation before you configure your hardware.
Accessory installation guides or manuals—If you are using accessory products, read the terminal block and cable assembly installation guides or accessory device user manuals. They explain how to physically connect the relevant pieces of the system. Consult these guides when you are making your connections.
SCXI Chassis User Manual—If you are using SCXI, read this manual for maintenance information on the chassis and installation instructions.
About This Manual
©
National Instruments Corporation xi DAQPad-6507/6508 User Manual
About This Manual

Related Documentation

If you are a register-level programmer, the following documents contain information that you may find helpful as you read this manual:
Your computer technical reference manual
USB Specification, Revision 1.1

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.
DAQPad-6507/6508 User Manual xii
©
National Instruments Corporation
Chapter
Introduction
This chapter describes the DAQPad-6507 and DAQPad-6508; lists what you need to get started; describes software programming choices, optional equipment, and custom cables; and explains how to unpack the DAQPad-6507 and DAQPad-6508.
1

About the DAQPad-6507 and DAQPad-6508 Devices

Thank you for purchasing the National Instruments DAQPad-6507 or DAQPad-6508. Your DAQPad device is a 96-bit, parallel, digital I/O interface for computers with USB ports. Four 82C55A programmable peripheral interface (PPI) chips control the 96 bits of digital I/O. The 82C55A can operate in either a unidirectional or bidirectional mode and can generate interrupt requests to the host computer. You can program the 82C55A for almost any 8-bit or 16-bit digital I/O application. All communication is through a standard, 100-pin, female connector for the DAQPad-6508 or 100-screw terminals with a strain-relief clamp for the DAQPad-6507.
Your DAQPad device has a wide input voltage range, and can be powered from any 9 to 30 VDC power supply.
You can use your DAQPad device in a wide range of digital I/O applications. With the DAQPad-6507 and DAQPad-6508 devices, you can interface any PC to any of the following:
Other computers: – Another PC with a National Instruments PC-DIO-96/PnP,
PC-DIO-24/PnP, AT-DIO-32F, DAQPad-6507, or DAQPad-6508
Any other computer with an 8-bit or 16-bit parallel interface
Centronics-compatible printers and plotters
Panel meters
Instruments and test equipment with BCD readouts and/or controls
Optically isolated, solid-state relays and I/O module mounting racks
©
National Instruments Corporation 1-1 DAQPad-6507/6508 User Manual
Chapter 1 Introduction
Note Your DAQPad device cannot sink sufficient current to drive the SSR-OAC-5 and
SSR-OAC-5A output modules. However, it can drive the SSR-ODC-5 output module and all SSR input modules available from National Instruments.
If you need to drive an SSR-OAC-5 or SSR-OAC-5A, you can either use a non-inverting digital buffer chip between your DAQPad device and the SSR backplane, or you can use an MIO series device with appropriate connections (for example, an SC-205X and cables).
With a DAQPad-6507or DAQPad-6508, your computer can serve as a digital I/O system controller for laboratory testing, production testing, and industrial process monitoring and control.
Detailed specifications of the DAQPad-6507 and DAQPad-6508 devices are in Appendix A, Specifications.

What You Need to Get Started

To set up and use your DAQPad-6507 or DAQPad-6508, you will need the following:
DAQPad-6507 or DAQPad-6508 deviceDAQPad-6507/6508 User ManualOne of the following software packages and documentation:
NI-DAQ for PC Compatibles – LabVIEW for Windows – LabWindows/CVI – ComponentW orks – VirtualBench
Your computer

Software Programming Choices

There are several options to choose from when programming your National Instruments DAQ and SCXI hardware. You can use LabVIEW, LabWindows/CVI, ComponentWorks, VirtualBench, NI-DAQ, or register-level programming.
DAQPad-6507/6508 User Manual 1-2
©
National Instruments Corporation

National Instruments Application Software

LabVIEW and LabWindows/CVI are innovative program development software packages for data acquisition and control applications. LabVIEW uses graphical programming, whereas LabWindows/CVI enhances traditional programming languages. Both packages include extensive libraries for data acquisition, instrument control, data analysis, and graphical data presentation.
LabVIEW features interactive graphics, a state-of-the-art user interface, and a powerful graphical programming language. The LabVIEW Data Acquisition VI Library, a series of VIs for using LabVIEW with National Instruments DAQ hard ware, is included with LabVIEW. The LabVIEW Data Acquisition VI Library is functionally equivalent to the NI-DAQ software.
LabWindows/CVI features interactive graphics, a state-of-the-art user interface, and uses the ANSI standard C programming language. The LabWindows/CVI Data Acquisition Library , a series of functions for using LabWindows/CVI with National Instruments DAQ hardware, is included with the NI-DAQ software kit. The LabWindows/CVI Data Acquisition Library is functionally equivalent to the NI-DAQ software.
Chapter 1 Introduction
ComponentWorks contains tools for data acquisition and instrument control built on NI-DAQ driver software. ComponentWorks provides a higher-level programming interface for building virtual instruments through standard OLE controls and DLLs. With ComponentWorks, you can use all of the configuration tools, resource management utilities, and interactive control utilities included with NI-DAQ.
VirtualBench features virtual instruments that combine DAQ products, software, and your computer to create a stand-alone instrument with the added benefit of the processing, display, and storage capabilities of yo ur computer. VirtualBench instruments load and save waveform data to disk in the same forms that can be used in popular spreadsheet programs and word processors.
Using LabVIEW, LabWindows/CVI, ComponentWorks, or VirtualBench software will greatly reduce the development time for your data acquisition and control application.
©
National Instruments Corporation 1-3 DAQPad-6507/6508 User Manual
Chapter 1 Introduction
NI-DAQ Driver Software
The NI-DAQ driver software is included at no charge with all National Instruments DAQ hardware. NI-DAQ is not packaged with SCXI or accessory products, except for the SCXI-1200. NI-DAQ has an extensive library of functions that you can call from your application programming environment. These functions include routines for analog input (A/D conversion), buffered data acquisition (high-speed A/D conversion), analog output (D/A conversion), waveform generation, digital I/O, counter/timer operations, SCXI, RTSI, self-calibration, messaging, and acquiring data to extended memory.
NI-DAQ has both high-level D AQ I/O functions for maximum ease of use and low-level DAQ I/O functions for maximum flexibility and performance. Examples of high-level functions are streaming data to disk or acquiring a certain number of data points. An example of a low-level function is writing directly to registers on the DAQ device. NI-DAQ does not sacrifice the performance of National Instruments DAQ devices because it lets multiple devices operate at their peak performance.
NI-DA Q also internally addresses man y of the comple x issues between the computer and the DAQ hardware such as programming interrupts and DMA controllers. NI-DAQ maintains a consistent software interface among its different versions so that you can change platforms with minimal modifications to your code. Whether you are using conventional programming languages or NI-DAQ software, your application uses the NI-DAQ driver software, as illustrated in Figure 1-1.
DAQPad-6507/6508 User Manual 1-4
©
National Instruments Corporation
Chapter 1 Introduction
Figure 1-1. The Relationship between the Programming Environment,

Optional Equipment

Conventional
Programming Environment
DAQ or
SCXI Hardware
NI-DAQ, and Your Hardware
ComponentWorks,
LabVIEW,
LabWindows/CVI, or
VirtualBench
NI-DAQ
Driver Software
Personal
Computer or
Workstation
National Instruments offers a variety of products to use with your DAQPad-6508 device, including cables, connector blocks, and other accessories, as follows:
Cables and cable assemblies
Connector blocks and unshielded 50-pin screw terminals
SCXI modules and accessories for isolating, amplifying, exciting, and multiplexing signals—from up to 3,072 channels—for relays and analog output
Low channel count signal conditioning modules, devices, and accessories, including conditioning for strain gauges and RTDs, simultaneous sample and hold, and relays
For more specific information about these products, refer to your National Instruments catalogue or website, or call the office nearest you.
©
National Instruments Corporation 1-5 DAQPad-6507/6508 User Manual
Chapter 1 Introduction

Custom Cabling

National Instruments offers cables and accessories for you to prototype your application or to use if you frequently change device interconnections.
You can connect the DAQPad-6508 device to a wide range of printers, plotters, test instruments, I/O racks and modules, screw terminal panels, and almost any device with a parallel interface. The DAQPad-6508 digital I/O connector is a standard, 100-pin header connector. Adapters for this header connector expand the interface to four 50-pin ribbon cables, each of which has the pinout of a PC-DIO-24. The pin assignments of the expansion cables are compatible with the standard 24-channel I/O module mounting racks (such as those manufactured by Opto 22 and Gordos).
The CB-100 cable termination accessory is available from National Instruments for use with your DA QPad device. This accessory includes tw o 50-conductor, flat-ribbon cables and a connector block. You can attach signal input and output wires to screw terminals on the connector block and, therefore, connect signals to your DAQPad device I/O connector.
You can use the CB-100 for initial prototyping of an application or in situations in which your DAQPad device interconnections are frequently changed. When a final field wiring scheme has been developed, you might want to develop your own cable.
If you want to develop your own cable, the mating connector for the DAQPad-6508 is a 100-position, right-angle receptacle without board locks. Recommended manufacturer part numbers for this mating connector are as follows:
AMP Corporation (part number 749076-9)
Honda Corporation (part number PCS-XE100LFD-HS)

Unpacking

Your DAQPad-6507 or DAQPad-6508 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, never touch the exposed pins of connectors.
DAQPad-6507/6508 User Manual 1-6
©
National Instruments Corporation
Installation and
Chapter
Configuration
This chapter describes how to install and configure the DAQPad-6507 and DAQPad-6508 devices.

Software Installation

You should install your software before you install your DAQPad-6507 or DAQPad-6508. If you are using LabVIEW, LabWindows/CVI, ComponentWorks, or VirtualBench, install this software before installing NI-DAQ driver software. Refer to your software release notes for your software for installation instructions.
Note
The DAQPad-6507/6508 devices require NI-DAQ 6.0 or 6.1 for Windows 95, or NI-DA Q 6.5 or later for Windows 98 (strongly recommended with USB). To ensure that you have the latest version of NI-DAQ, install it from the CD that ships with your device.
To install NI-DAQ, refer to your NI-DAQ rel ease not es. Fi nd the installation section for your operating system and follow the instructions given there.
2

Hardware Installation

You can connect your DAQPad-6507 or DAQPad-6508 to any available USB socket. The following are general installation instructions, but consult your computer user manual or technical reference manual for specific instructions and warnings. Refer to Figure 2-1 to learn more about making connections for DAQPad-6507/6508 device.
The following are general installation instructions, but consult your personal computer user manual or technical reference manual for specific instructions and warnings.
Note
©
National Instruments Corporation 2-1 DAQPad-6507/6508 User Manual
To ensure proper operation of your DAQP ad device, f ollo w the instructions in the sequence shown below . Otherwise, your DA QPad might not initialize properly, and
Chapter 2 Installation and Configuration
you will need to turn off the DAQPad rocker switch and restart your DAQPad device again.
1. Connect the USB cable from the computer port or from any hub to the port on your DA QPad device. Refer to Figure 2-1 for more information on connections.
Upstream Connector
Computer or Hub
Downstream Connector
DAQPad

Figure 2-1. Connection between Your Computer or USB Hub and Your DAQPad Device

2. Flip the rocker switch to turn the power on for the DAQPad-6507 or DAQPad-6508. Your computer should detect your DAQPad device immediately, and when the computer recognizes your D A QPad device, the LED on the front panel blinks or lights up, depending on the status of your device.
3. If the LED comes on after the DAQPad is powered and connected to the host, it is functioning properly. Refer to Table 2-1 for LED pattern descriptions for your DAQPad device.
4. Configure your DA QP ad device and any accessories with the NI-D A Q Configuration Utility.
When the LED blinks, it turns on and off for one second each for as many times as necessary, then waits three seconds before repeating the cycle.
DAQPad-6507/6508 User Manual 2-2
©
National Instruments Corporation
LED
Chapter 2 Installation and Configuration

Table 2-1. LED Patterns for DAQPad-6507/6508 States

DAQPad-6507/6508
State
Description
Off Off or in the low power ,
suspend mode
Your DAQPad device is turned off or in the low po wer, suspend mode.
2 blinks Addressed state This pattern is displayed if the
host computer detects your DAQPad device but cannot configure it because there are no system resources available. If your DA QPad remains in this state, check your software installation.
3 blinks Power supply failure This pattern is displayed if you
try to draw too much power from the USB. You must attach the external power supply.
4 blinks General error state If this pattern is displayed,
contact National Instruments.
On Configured state Your DAQPad device is
configured.
Note The DAQPad-6507/6508 devices use 100 k resistors for polarity selection.
These signals are controlled by a switch on the back of your DAQPad. For more information, see the Digital I/O State Selection section in Chapter 3,
Signal Connections.
©
National Instruments Corporation 2-3 DAQPad-6507/6508 User Manual
Chapter 2 Installation and Configuration
Your DAQPad-6507/6508 device is now installed. Refer to Figure 2-2 to learn more about upstream and downstream connections between the host computer and the DAQPad-6507/6508 devices.
Host Computer with
Upstream Connector
Figure 2-2. Upstream and Downstream Connections between the Host Computer

Configuration

The DAQPad-6507/6508 devices are completely software-configurable, hot Plug and Play instruments. The Plug and Play services query the instrument and allocate the required resources. The operating system enables the instrument for operation. Refer to your software documentation for more information.

Power Considerations

The DAQPad device remains powered up only when the USB cable connects it to the host computer and the computer is powered up. The host computer has the ability to go into a power-saving suspend mode. During this time, your DAQPad device can also go into a low-power mode, and the I/O signals remain in a fully powered, static state. The advantage of the low-power mode is that it conserves power. This mode is important if you are using a battery pack, even though all of the analog circuitry and digital I/O is powered off and the +5 V supply on the I/O connector is turned off in this state.
DAQPad-6507/6508 with
Downstream Connector
and the DAQPad-6507 or DAQPad-6508
DAQPad-6507/6508 User Manual 2-4
©
National Instruments Corporation
Chapter 2 Installation and Configuration
When the DAQPad exits the suspend mode, NI-DAQ will reinitialize your DAQPad device and all I/O signals to their default state, regardless of whether your DAQPad device is in low power mode or static mode. This action might change the current I/O states and gain if your DA QP ad device is the low powered, static mode.
The default behavior of your DAQPad device is to go into powered, static state when the computer enters its suspend mode.
In the powered static state of your DAQPad device, you can draw current from the +5 V pin on the connector and all digital I/O lines and analog output channels will be static at a fixed voltage.
Note Refer to the Set_DAQ_Device_Info function in the NI-D AQ Function Reference
Manual to change the settings that determine the behavior of your DA QP ad device
during the suspend state.
If low-power consumption is a concern, the recommended way to turn off your DAQPad device is with the rocker switch located on the rear panel. This switch turns your DAQPad device on and off by disconnecting both the external power supply and the USB supply.
It is also possible to turn off your DAQPad device by detaching the USB cable while leaving the external supply attached; however, several milliamperes are continually drawn from the external supply in this case, although no power is drawn from the USB supply . If you are using a battery pack, such as the BP-1, it is best to use the rocker switch on the back panel to prolong the charge of the battery.
©
National Instruments Corporation 2-5 DAQPad-6507/6508 User Manual
Chapter
Signal Connections
This chapter includes timing specifications and signal connection instructions for the DAQPad-6507 and DAQPad-6508 I/O connectors.
Caution
!
Connections that exceed any of the maximum ratings of input or output signals on the DA QPad-6507/6508 devices can damage the device and the computer. The description of each signal in this section includes information about maximum input ratings. National Instruments is any inaccurate signal connections.
To learn more about screw terminal assignments on the DAQPad-6507, refer to Figure 3-1.
01234567
APB
012345
G
G
N
N
D
D
01234567
APA
APC
3
liable for any damages resulting from
not
BPA
01234567
BPB
67
01234567
BPC
01234567
CPA
V
cc
01234567
Figure 3-1.
©
National Instruments Corporation 3-1 DAQPad-6507/6508 User Manual
1234567
0V
cc
CPB
01234567
CPC
Screw Terminal Assignments for the DAQPad-6507
01234567
01234567
01234567
DPA
DPB
DPC
Chapter 3 Signal Connections

I/O Connector Pin Description

Figure 3-2 shows the pin assignments for the DAQPad-6507/6508 digital I/O connector.
APC7 CPC7 BPC7 DPC7 APC6 CPC6 BPC6 DPC6 APC5 CPC5 BPC5 DPC5 APC4 CPC4 BPC4 DPC4 APC3 CPC3 BPC3 DPC3 APC2 CPC2 BPC2 DPC2 APC1 CPC1 BPC1 DPC1 APC0 CPC0 BPC0 DPC0
APB7 CPB7 BPB7 DPB7 APB6 CPB6 BPB6 DPB6 APB5 CPB5 BPB5 DPB5 APB4 CPB4 BPB4 DPB4 APB3 CPB3 BPB3 DPB3 APB2 CPB2 BPB2 DPB2 APB1 CPB1 BPB1 DPB1 APB0 CPB0 BPB0 DPB0 APA7 CPA7 BPA7 DPA7 APA6 CPA6 BPA6 DPA6 APA5 CPA5 BPA5 DPA5 APA4 CPA4 BPA4 DPA4 APA3 CPA3 BPA3 DPA3 APA2 CPA2 BPA2 DPA2 APA1 CPA1 BPA1 DPA1 APA0 CPA0 BPA0 DPA0
GND GND
151 252 353 454 555 656 757 858 959
10 60
11 61 12 62 13 63 14 64 15 65 16 66 17 67 18 68 19 69 20 70 21 71 22 72 23 73 24 74 25 75 26 76 27 77 28 78 29 79 30 80 31 81 32 82 33 83 34 84 35 85 36 86 37 87 38 88 39 89 40 90 41 91 42 92 43 93 44 94 45 95 46 96 47 97 48 98
+5 V +5 V
49 99 50 100
Figure 3-2.
Digital I/O Connector Pin Assignments for the DAQPad-6508
DAQPad-6507/6508 User Manual 3-2
©
National Instruments Corporation
Chapter 3 Signal Connections

I/O Connector Signal Connection Descriptions

Refer to Table 3-1 for pin assignments for the DAQPad-6508.
Table 3-1.
Pin Assignments for the DAQPad-6508
Pin Signal Name Description
1, 3, 5, 7, 9, 11, 13, 15 APC<7..0> Bidirectional Data Lines for Port C of
PPI A—APC7 is the MSB, APC0 the LSB.
17, 19, 21, 23, 25, 27, 29, 31 APB<7..0> Bidirectional Data Lines for Port B of
PPI A—APB7 is the MSB, APB0 the LSB.
33, 35, 37, 39, 41, 43, 45, 47 APA<7..0> Bidirectional Data Lines for Port A of
PPI A—AP A7 is the MSB, APA0 the LSB.
2, 4, 6, 8, 10, 12, 14, 16 BPC<7..0> Bidirectional Data Lines for Port C of
PPI B—BPC7 is the MSB, BPC0 the LSB.
18, 20, 22, 24, 26, 28, 30, 32 BPB<7..0> Bidirectional Data Lines for Port B of
PPI B—BPB7 is the MSB, BPB0 the LSB.
34, 36, 38, 40, 42, 44, 46, 48 BPA<7..0> Bidirectional Data Lines for Port A of
PPI B—BPA7 is the MSB, BPA0 the LSB.
51, 53, 55, 57, 59, 61, 63, 65 CPC<7..0> Bidirectional Data Lines for Port C of
PPI C—CPC7 is the MSB, CPC0 the LSB.
67, 69, 71, 73, 75, 77, 79, 81 CPB<7..0> Bidirectional Data Lines for Port B of
PPI C—CPB7 is the MSB, CPB0 the LSB.
83, 85, 87, 89, 91, 93, 95, 97 CPA<7..0> Bidirectional Data Lines for Port A of
PPI C—CPA7 is the MSB, CPA0 the LSB.
52, 54, 56, 58, 60, 62, 64, 66 DPC<7..0> Bidirectional Data Lines for Port C of
PPI D—DPC7 is the MSB, DPC0 the LSB.
68, 70, 72, 74, 76, 78, 80, 82 DPB<7..0> Bidirectional Data Lines for Port B of
PPI D—DPB7 is the MSB, DPB0 the LSB.
84, 86, 88, 90, 92, 94, 96, 98 DPA<7..0> Bidirectional Data Lines for Port A of
PPI D—DP A7 is the MSB, DPA0 the LSB.
49, 99 +5 V +5 V—These pins are connected to the
DAQPad’s +5 VDC supply.
50, 100 GND Ground—These pins are connected to the
computer’s ground signal.
Note
: Pins 49 and 99 are connected to the +5 V PC power supply via a 1 A self-resetting fuse.
©
National Instruments Corporation 3-3 DAQPad-6507/6508 User Manual
Chapter 3 Signal Connections

Port C Pin Assignments

The signals assigned to port C depend on the mode in which the 82C55A is programmed in your application software. In mode 0, port C is considered as two 4-bit I/O ports. In modes 1 and 2, port C is used for status and handshaking signals with zero, two, or three lines available for general-purpose input/output. Table 3-2 summarizes the signal assignments of port C for each programmable mode.
Caution
!
Programming
Mode
During programming, be aware that each time a port is configured, output ports A and C are reset to 0, and output port B is undefined.
Table 3-2.
Port C Signal Assignments
Group A Group B
PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0
Mode 0 I/O I/O I/O I/O I/O I/O I/O I/O Mode 1 Input I/O I/O IBF
STBA* INTRASTBB* IBFBBINTR
A
Mode 1 Output OBFA* ACKA* I/O I/O INTRAACKB* OBFB* INTR Mode 2 OBFA* ACKA* IBF
STBA* INTRAI/O I/O I/O
A
* Indicates that the signal is active low; refer to Table 3-3 for signal name definitions.

Cable Assembly Connectors

The cable assembly referred to in the Optional Equipment section in Chapter 1, Introduction, is an assembly of two 50-pin cables and three connectors. Both cables are joined to a single connector on one end and to individual connectors on the free ends. The 100-pin connector that joins the two cables plugs into the I/O connector of the DAQPad-6508. The other two connectors are 50-pin connectors, one of which is connected to pins 1 through 50, and the other is connected to pins 51 through 100 of the DAQPad-6508 I/O connector. The cables are labelled Position 1-50 and 51-100, respectively. Figures 3-3 and 3-4 show the pin assignments for the 50-pin connectors on the cable assembly.
B
B
DAQPad-6507/6508 User Manual 3-4
©
National Instruments Corporation
Chapter 3 Signal Connections
APC7 APC6
APC5
APC4
APC3
APC2 APC1 APC0
APB7
APB6
APB5
APB4
APB3
APB2
APB1 APB0 APA7
APA6
APA5
APA4
APA3
APA2
APA1
APA0
+5 V
12 34 56 78
910 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
BPC7 BPC6 BPC5 BPC4 BPC3 BPC2 BPC1 BPC0
BPB7 BPB6
BPB5 BPB4 BPB3 BPB2 BPB1 BPB0 BPA7 BPA6 BPA5 BPA4 BPA3 BPA2 BPA1 BPA0 GND
Figure 3-3. Cable Assembly Connector Pin Assignments for Pins 1 through 50
of the DAQPad-6508 I/O Connector
©
National Instruments Corporation 3-5 DAQPad-6507/6508 User Manual
Chapter 3 Signal Connections
CPC7
CPC6
CPC5 CPC4
CPC3
CPC2 CPC1 CPC0
CPB7
CPB6
CPB5
CPB4
CPB3
CPB2
CPB1 CPB0 CPA7
CPA6 CPA5
CPA4 CPA3 CPA2 CPA1 CPA0
+5 V
12 34 56 78
910 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
DPC7 DPC6 DPC5 DPC4 DPC3 DPC2 DPC1 DPC0
DPB7 DPB6
DPB5 DPB4 DPB3 DPB2 DPB1 DPB0 DPA7 DPA6 DPA5 DPA4 DPA3 DPA2 DPA1 DPA0 GND
Figure 3-4. Cable Assembly Connector Pin Assignments for Pins 51 through 100
of the DAQPad-6508 I/O Connector
DAQPad-6507/6508 User Manual 3-6
©
National Instruments Corporation

Digital I/O Signal Connections

Pins 1 through 48 and pins 51 through 98 of the I/O connector are digital I/O signal pins. Figure 3-5 depicts signal connections for three typical digital I/O applications.
Chapter 3 Signal Connections
+5 V
LED
+5 V
TTL Signal
Switch *
I/O Connector
41 43 45 47
67 69 71
73
+5 V
Front Switch
100 k100 k 100 k 100 k
PPI A
Port A
APA<3..0>
100 k 100 k 100 k 100 k
PPI C Port B
CPB<7..4>
50, 100
GND
DAQPad-6507/6508
* Complex switch circuitry is not shown in order to simplify the figure.
Figure 3-5.
Digital I/O Connections
In Figure 3-5, PPI A, port A is configured for digital output, and PPI C, port B is configured for digital input. Digital input applications include receiving TTL signals and sensing external device states, such as the state of the switch in Figure 3-5. Digital output applications include sending TTL signals and driving external devices such as the LED shown in Figure 3-5.
©
National Instruments Corporation 3-7 DAQPad-6507/6508 User Manual
Loading...
+ 64 hidden pages