Home
        PC-516/DAQCard-516 User Manual
         Contents
1.         National Instruments Corporation        Customer Communication    For your convenience  this appendix contains forms to help you gather the information necessary  to help us solve your technical problems and a form you can use to comment on the product  documentation  When you contact us  we need the information on the Technical Support Form  and the configuration form  if your manual contains one  about your system configuration to  answer your questions as quickly as possible     National Instruments has technical assistance through electronic  fax  and telephone systems to  quickly provide the information you need  Our electronic services include a bulletin board  service  an FTP site  a FaxBack system  and e mail support  If you have a hardware or software  problem  first try the electronic support systems  If the information available on these systems  does not answer your questions  we offer fax and telephone support through our technical support  centers  which are staffed by applications engineers     Electronic Services    Bulletin Board Support    National Instruments has BBS and FTP sites dedicated for 24 hour support with a collection of  files and documents to answer most common customer questions  From these sites  you can also  download the latest instrument drivers  updates  and example programs  For recorded instructions  on how to use the bulletin board and FTP services and for BBS automated information  call  512   795 6990  You can access these ser
2.       PC 516 DAQCard 516  User Manual    Multifunction I O Devices    May 1996 Edition  Part Number 321178A 01       Copyright 1996 National Instruments Corporation  All Rights Reserved     Internet Support    GPIB  gpib support natinst com  DAQ  daq support natinst com   VXI  vxi support natinst com  LabVIEW  lv support natinst com  LabWindows  lw  support natinst com  HiQ  hiq support natinst com    E mail  info natinst com  FTP Site  ftp natinst com  Web Address  http    www natinst com    Bulletin Board Support    BBS United States   512  794 5422 or  800  327 3077  BBS United Kingdom  01635 551422  BBS France  1 48 65 15 59    FaxBack Support     512  418 1111    Q gt   Telephone Support  U S      Tel   512  795 8248  Fax   512  794 5678     lt  gt  International Offices    Australia 03 9 879 9422  Austria 0662 45 79 90 0  Belgium 02 757 00 20    Canada  Ontario  519 622 9310  Canada  Qu  bec  514 694 8521  Denmark 45 76 26 00   Finland 90 527 2321  France 1 48 14 24 24  Germany 089 741 31 30  Hong Kong 2645 3186   Italy 02 413091  Japan 03 5472 2970  Korea 02 596 7456  Mexico 95 800 010 0793   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  U K  01635 523545    National Instruments Corporate Headquarters    6504 Bridge Point Parkway Austin  TX 78730 5039 Tel   512  794 0100    Important Information       Warranty    Copyright    Trademarks    The PC 516 and DAQCard 51
3.      Abbreviations  acronyms  metric prefixes  mnemonics  symbols  and  terms are listed in the Glossary     PC 516 DAQCard 516 User Manual x    National Instruments Corporation    About This Manual    National Instruments Documentation       The PC 516 DAQCard 516 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 manuals you have as follows        National Instruments Corporation    Getting Started with SCXI   If you are using SCXI  this is the first  manual you should read  It gives an overview of the SCX  system  and contains the most commonly needed information for the  modules  chassis  and software     Your SCX  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 DAQ 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 and LabWindows   CVI manual  sets and the NI DAQ documentation  After you set up your  hardware
4.     Chapter 2 Installation and Configuration    Considerations for using the DIFF configuration are discussed in  Chapter 3  Signal Connections  Notice that the signal return path is  through the negative terminal of the instrumentation amplifier and  through channel 4  5  6  or 7  depending on which channel pair you  select     Digital 1 0 Configuration    The device always uses one 4 bit digital output port and one 4 bit  digital input port     Counter Configuration    You can use the MSM82C54 counter timers for general purpose  applications  such as pulse and square wave generation  event counting   and pulsewidth  time lapse  and frequency measurement  For  information about configuring the MSM82CS4  see the Timing  Connections section of Chapter 3  Signal Connections        National Instruments Corporation 2 7 PC 516 DAQCard 516 User Manual          Chapter       Signal Connections       This chapter describes how to make input and output signal connections  to your PC 516 and DAQCard 516  If you are making your own cables   see Appendix B  Custom Cable Design     1 0 Connectors       Figure 3 1 shows the pin assignments for your 1 0 connector and CB 27  connector block  Although the pin arrangements on these connectors  differ  notice that the signal names and pin numbers are the same        J Warning  Connections that exceed any of the maximum ratings of input or output  signals on the 516 device can damage your 516 device and your computer   This includes connecting a
5.    GATE2 signal  table   3 3  general purpose counter and timing signal  connections  3 15 to 3 19  event counting  3 16  application with exterior switch  gating  figure   3 16  frequency measurement  3 17  application  figure   3 17  pulse and square wave generation  3 16  pulse width measurement  3 16  time lapse measurement  3 17  ground referenced signal sources  analog input signal connections  3 5  to 3 7  differential connection  considerations  3 9  differential input connections  3 10  recommended input configurations   table   3 6       National Instruments Corporation 1 3    Index    VO connectors  See also signal connections   custom cable pin assignments   figure   B 2  exceeding maximum ratings   warning   3 1  pin assignments  figure   3 2  signal connection descriptions   table   3 3 to 3 4  input multiplexer  4 4  installation  See also configuration   procedure for installation  2 1 to 2 2  unpacking the  516 device  1 6  instrumentation amplifier  figure   3 6    L    LabVIEW and LabWindows CVI application  software  1 3    manual  See documentation    MSM82C54 counter timer  4 7 to 4 8  multichannel  scanned  data acquisition  4 6  multiplexer  input  4 4    NC signal  table   3 4  NI DAQ driver software  1 3 to 1 4    0    OUT signal timing connections  See CLK   GATE  and OUT signal timing connections    OUT  signal  table   3 3   OUT 2 signal  table   3 4    PC 516 DAQCard 516 User Manual    Index    P    PC 516 DAQCard 516  See also theory of  operati
6.    clock input signal   complementary metallic oxide semiconductor  common mode rejection ratio   counter       National Instruments Corporation G 1 PC 516 DAQCard 516 User Manual    Glossary    D    D A  DAQ  DAVAIL  DC  DGND  DIN  DOUT    E    EISA  EXTCONV    F    FIFO    GATE    Hz    VO  lou  lo  Tout    ISA    digital to analog  data acquisition  data available signal  direct current   digital ground signal  digital input signal  digital output signal    Extended Industry Standard Architecture  external convert signal to trigger A D conversions    first in first out    gate input signal    hertz     input output   current  output high   current  output low   output current   Industry Standard Architecture    LED light emitting diode   LSB least significant bit   M   MB megabytes of memory  MSB most significant bit   mux multiplexer  PC 516 DAQCard 516 User Manual G 2       National Instruments Corporation    NC    OUT    P    PCMCIA    VCC  VDC  Vin  Vit  Vin    VoL       National Instruments Corporation G 3    Glossary    not connected  signal     output signal    Personal Computer Memory Card International Association    read  root mean square    samples  seconds  Signal Conditioning eXtensions for Instrumentation    transistor transistor logic    volts   positive supply voltage from the PCMCIA bus  usually  5V   volts  direct current   volts  input high   volts  input low   volts in   volts  output high   volts  output low    write    PC 516 DAQCard 516 User Manual  
7.   516 device    bold  bold italic    italic    Macintosh    monospace    NI DAQ    PC    The following conventions are used in this manual     Angle brackets containing numbers separated by an ellipsis represent a  range of values associated with a bit  port  or signal name  for example   ACH lt 0  7 gt  stands for ACHO through ACH7      516 device is a generic term to denote both the PC 516 and  DAQCard 516     Bold text denotes menus  menu items  or dialog box buttons or options   Bold italic text denotes a note  caution  or warning     Italic text denotes emphasis  a cross reference  or an introduction to a  key concept     Macintosh refers to Macintosh and PowerBook computers equipped  with a Type II PCMCIA  5 V capable slot     Text in this font denotes text or characters that are to be literally input  from the keyboard  sections of code  programming examples  and  syntax examples  This font is also used for the proper names of disk  drives  paths  directories  programs  subprograms  subroutines  device  names  functions  variables  file names  and extensions  and for  statements and comments taken from program code     NI DAQ refers to the NI DAQ software for PC compatibles or  Macintosh unless otherwise noted     PC refers to the IBM PC XT  PC AT  Personal System 2  and laptop  compatible computers that are equipped with a PCMCIA standard  version 2 0 or later bus interface and Type II  5 V capable slot     PC also refers to PCMCIA when referring to a Macintosh system
8.   Numbers    1 MHz signal  table   3 3   5 V signal  table   3 3    A    A D FIFO  4 4 to 4 5  ACH lt 0  7 gt  signal  analog input signal connections  3 4  description  table   3 3  differential mode  3 7  single ended mode  3 7  ADC  15 bit sampling  4 4  AIGND signal  analog input signal connections  3 4  description  table   3 3  analog input circuitry  block diagram  4 4  theory of operation  4 4 to 4 5  analog input configuration  2 5 to 2 6  DIFF input  2 6 to 2 7  RSE input  2 6  analog input signal connections  3 4 to 3 13  differential connection considerations   3 9 to 3 13  common mode signal rejection  considerations  3 12 to 3 13  floating signal sources  3 11 to 3 12  grounded signal sources  3 10  DIFF input  3 7  exceeding input signal range   warning   3 4  floating signal sources  3 5  ground referenced signal sources  3 5  input configurations  3 5 to 3 7  signal connection considerations  3 4       National Instruments Corporation    Index    single ended connection considerations   3 7 to 3 8   SE input  3 7   types of signal sources and measurement  systems  3 5   analog input specifications   amplifier characteristics  A 2   dynamic characteristics  A 2   input characteristics  A 1   stability  A 2   transfer characteristics  A 1 to A 2    base I O selection  PC 516  2 4 to 2 5  bulletin board support  E 1  bus interface  circuitry  figure   4 3  specifications  A 3  bus related configuration  PC 516  2 4 to 2 5    C    cables  CB 27 cable termination 
9.   PC 516 Register Level Programmer Manual for the programming  sequence needed to enable this input  Figure 3 7 shows the timing  requirements for the EXTCONV  input  An A D conversion is initiated  by arising edge on the EXTCONV   The data from this conversion is  latched into the FIFO memory within 20 ps  The EXTCONV  input is  a TTL compatible signal     EXTCONV     tw 200 ns minimum    tint 20 ps minimum   A D interval     St E    A D Conversion Starts Here       Figure 3 7  EXTCONV  Signal Timing    Notice that EXTCONV  can only cause conversions to occur  you  cannot use it as a monitor to detect conversions caused by the onboard  sample interval timer     General Purpose Counter and Timing Signal  Connections   The general purpose timing signals include CLK and OUT signals for  counter 1 and GATE  CLK  and OUT signals for counter 2 of the  MSM82C54  Counter 0 is not available on the I O connector  You can  use the MSM82C54 counter timers for general purpose applications  such as pulse and square wave measurement  For these applications   CLK and GATE signals are sent to the counters and the counters are  programmed for various operations  The only exceptions are counter 0   which has an internal 1 MHz clock and its gate is always enabled  and  counter 1  which has its gate always enabled        National Instruments Corporation 3 15 PC 516 DAQCard 516 User Manual    Chapter 3 Signal Connections    The MSM82C54 counter timer is described briefly in Chapter 4  Theory  of 
10.   loaded value  minus the read value  multiplied by the CLK2 period     To measure frequency  program counter 2 to be level gated and count  the number of falling edges in a signal applied to the CLK2 input  The  gate signal you applied to the GATE2 input is of a known duration  In  this case  program counter 2 to count falling edges at the CLK2 input  while the gate is applied  The frequency of the input signal then equals  the count value divided by the gate period  Figure 3 9 shows the  connections for a frequency measurement application  You could also  use counter 1 to generate the gate signal in this application     Gate  Source    I  ye NZ    I O Connector PC 516 or DAQCard 516       Figure 3 9  Frequency Measurement Application       National Instruments Corporation 3 17 PC 516 DAQCard 516 User Manual    Chapter 3 Signal Connections    The CLK and OUT signals for counter 1 are available at the I O  connector  The GATE  CLK  and OUT signals for counter 2 are  available at the I O connector  In addition  the GATE and CLK pins are  pulled up to  5 V through a 100 kQ resistor     Figure 3 10 shows the timing requirements for the GATE and CLK  input signals and the timing specifications for the OUT output signals  of the MSM82C54     PC 516 DAQCard 516 User Manual    Absolute maximum voltage input rating of  0 5 to 5 0 V with  respect to DGND    MSM82C54 digital input specifications  referenced to DGND          Vy  input logic high voltage 2 2 V minimum       Vj  input log
11.  Appendix D  Power Management Modes  for more information     Resources    1  How do I determine if I have a memory conflict     If no PC Cards are working at all  it is probably because a memory  window is not usable  Card Services uses a 4 KB memory window for  its own internal use  If the memory cannot be used  then Card Services  cannot read the Card Information Structure  CIS  from the card  EPROM  which means it cannot identify cards     There are two different methods you can use when Card Services has a  problem reading the CIS  First  you can determine which memory  window Card Services is using  and then exclude that window from use    PC 516 DAQCard 516 User Manual C 2    National Instruments Corporation    Appendix C PC Card Questions and Answers    by Card Services and or the memory manager  Second  you can attempt  to determine all of the memory that Card Services can possibly use and  then exclude all but that memory from use by Card Services     2  How do I determine all of the memory that Card Services can use     One way to find out which memory addresses Card Services can use is  to run a utility such as MSD  EXE that scans the system and tells you  how the system memory is being used  For example  if you run such a  memory utility and it tells you that physical addresses C0000 to C9FFF  are being used for ROM access  then you know that C8000 D3FFF is  an invalid range for Card Services and should be changed to CA000   D3FFF     3  How can I find usable I O
12.  Bus Interface Circuitry Block Diagram    Analog Input and Data Acquisition Circuitry    Each 516 device has 8 channels of analog input with 16 bit A D  conversion  Using the timing circuitry  each 516 device can also  automatically time multiple A D conversions  Figure 4 3 shows a block  diagram of the analog input and data acquisition circuitry        National Instruments Corporation    PC 516 DAQCard 516 User Manual    Chapter 4 Theory of Operation    Instrumentation  Amplifier    2 16 Bit  ROOMY 2 Word Sampling    1  51  1 0  Channel FIFO AD ADC  Interface Data    A D RD  g DAVAIL  EE    Interrupt   Counter  Interface  MSM82C54 A D Timing    Figure 4 3  Analog Input and Data Acquisition Circuitry Block Diagram    I O Connector        c  fa  a      O  g   lt   O  2  O  Q                 Analog Input Circuitry  The analog input circuitry consists of an input multiplexer  a buffer  and  a 16 bit sampling ADC  The data is stored in a 512 word deep FIFO  memory     The input multiplexer is an 8 channel CMOS analog input multiplexer   In single ended mode  the input multiplexer selects one of eight analog  input channels  channels 0 through 7   In differential mode  the input  multiplexer switches between differential pairs  0  4    1  5    2  6      3  7   With the input multiplexer stage  input overvoltage protection of    25 V is available  powered on or off     Each 516 device uses a 16 bit successive approximation ADC  The  ADC has a fixed input range of   5 V     When an 
13.  You should remove your memory manager by commenting it out of the  CONFIG  SYS file  Next  you can rerun the memory utility  Memory       National Instruments Corporation C 3 PC 516 DAQCard 516 User Manual    Appendix C PC Card Questions and Answers    managers often consume an enormous amount of memory  and you will  need to determine what memory is really usable by Card Services   When you have determined what memory is available for Card  Services  reinstall your memory manager and make the necessary  changes to provide Card Services with the memory needed  We suggest  that you use the minimum amount of memory for Card Services  namely  4 to 12 KB  which frees more memory for the memory manager     Resource Conflicts    1  How do I resolve conflicts between my memory manager and Card Services     Card Services can usually use memory space that is not being used for  real RAM on the system  Even when this is the case  you should still  exclude the memory addresses used by Card Services from use by any  memory manager that may be installed     PC 516 DAQCard 516 User Manual C 4    National Instruments Corporation    Power Management Modes        This appendix describes the power management modes of the  DAQCard 516        National Instruments Corporation    Normal Mode   This is the normal operating mode of the  DAQCard 516 in which all the circuits are fully functional  This  mode draws about 60 mA from the 5 V supply  about 300 mW      Power Down Mode   In this mode  the 
14.  addresses     Finding usable I O addresses is done by trial and error  Of the three  resources used   memory  I O  interrupts   I O conflicts will be low   You can use WDAQCONF in Windows to diagnose I O space conflicts   When you have configured DAQCONF or WDAQCONF for a particular I   O space  save the configuration  If there is a conflict  the configuration  utility will report an error describing the conflict     4  How do I find usable interrupt levels     Some utilities  such as MSD  EXE  will scan the system and display  information about what is using hardware interrupts  If you have such  a utility  you can run it to determine what interrupts Card Services can  use  Card Services needs an interrupt for itself as well as one interrupt  for each PCMCIA socket in the system  For example  in a system with  two PCMCIA sockets  at least three interrupts should be allocated for  use by Card Services     Keep in mind that utilities such as MSD   EXE will sometimes report that  an interrupt is in use when it really is not  For example  if the computer  has one serial port  COM1  and one parallel port  LPT1  you know that  IRQs 4 and 7 are probably in use  In general  IRQS is used for LPT2   but if the computer does not have two parallel ports  IRQ5 should be  usable  IRQ3 is used for COM2  but if the computer has only has one  serial port  IRQ3 should be usable     5  I run a memory utility  and it appears there is no memory available for Card  Services  What should I do    
15.  eeseeeeeeeeeeeeseesseeneeeenee 4 7  Figure 4 5  Timing I O Circuitry Block Diagram  0      eee ececeeceseeeeeeeseeeeseeeees 4 8  Figure 4 6     Counter Block Diaerainii  ccccsicciecischascses cccncecsdecccnscesiaaoncstcbtnaaniadesbestetvess 4 9  Figure B 1  DAQCard 516 I O Connector Pin Assignments                                       B 2       National Instruments Corporation vij PC 516 DAQCard 516 User Manual    Table of Contents    Tables    Table 2 1  Analog Input Modes for the 516 Device  0      ee cceeeesesereeeeseeneeeseeseeees 2 6  Table 3 1  Recommended Input Configurations for Ground Referenced   and Floating Measurement Systems                                                      3 6  Table D 1     DAQCard 516 Power Management Modes                                          D 2    PC 516 DAQCard 516 User Manual viii    National Instruments Corporation    About  This  Manual       This manual describes the mechanical and electrical aspects of the   PC 516 and DAQCard 516 and contains information concerning their  installation and operation  The PC 516 and DAQCard 516 are compact   low cost  low power analog input  digital I O  and timing I O devices     Organization of this Manual       The PC 516 DAQCard 516 User Manual is organized as follows     e Chapter 1  Introduction  describes the PC 516 and DAQCard 516   lists the optional software and optional equipment  and explains  how to unpack your 516 device     e Chapter 2  Installation and Configuration  describes
16.  how to install  and software configure your 516 device     e Chapter 3  Signal Connections  describes how to make input and  output signal connections to your PC 516 and DAQCard 516  If  you are making your own cables  see Appendix B  Custom Cable  Design     e Chapter 4  Theory of Operation  includes an overview of the  PC 516 and DAQCard 516 and explains the operation of each  functional unit making up your 516 device     e Appendix A  Specifications  lists the specifications of the PC 516  and DAQCard 516     e Appendix B  Custom Cable Design  describes the pin connections    on the PC 516 and DAQCard 516  which you will need only if you  are designing your own cable     e Appendix C  PC Card Questions and Answers  contains a list of  common questions and answers relating to PC Card  PCMCIA   operation     e Appendix D  Power Management Modes  describes the power   management modes of the DAQCard 516     e Appendix E  Customer Communication  contains forms you can  use to request help from National Instruments or to comment on our  products        National Instruments Corporation ix PC 516 DAQCard 516 User Manual    About This Manual    e The Glossary contains an alphabetical list and description of terms  used in this manual  including acronyms  abbreviations  metric  prefixes  mnemonics  and symbols     e The Index alphabetically lists topics covered in this manual   including the page number where you can find the topic     Conventions Used in This Manual     lt  gt   
17.  is used internally for data acquisition timing  The gate  signal of counter 1 is internally pulled up and is always active    Figure 4 5 shows a block diagram of both groups of timing I O  circuitry           National Instruments Corporation 4 7 PC 516 DAQCard 516 User Manual    Chapter 4 Theory of Operation    A D Conversion Logic    CTR RD WR    1 MHz  1 MHz  Clock    CLK1    1 0 Connector        c  rad          O  g   lt   QO  2  O  ou   lt   a    MSM82C54  Counter Timer Interrupt  Interface       Figure 4 5  Timing 1 0 Circuitry Block Diagram    The MSM82C54 contains three independent 16 bit counter timers and  one 8 bit Mode Register  As shown in Figure 4 5  counter 0 is used for  data acquisition timing  and counters 1 and 2 are free for general use   All three counter timers can be programmed to operate in several useful  timing modes  The programming and operation of the MSM82C54 is  presented in detail in the optional DAQCard 500 516 and PC 516  Register Level Programmer Manual     The MSM82C54 for counter 0 uses a 1 MHz clock generated from the  onboard oscillator  This 1 MHz clock is also available on the cable I O  connector  which you can use as a timebase for counters 1 and 2  The  16 bit counters in the MSM82C54 can be diagrammed as shown in  Figure 4 6     PC 516 DAQCard 516 User Manual 4 8    National Instruments Corporation    Chapter 4 Theory of Operation    Counter       Figure 4 6  Counter Block Diagram    Each counter has a clock input pin  a gate input
18.  pin  and an output pin  labeled CLK  GATE  and OUT  respectively  The MSM82CS54 counters  are numbered zero through two  and their GATE  CLK  and OUT pins  are labeled GATE N  CLK N  and OUT N  where N is the counter  number        National Instruments Corporation 4 9 PC 516 DAQCard 516 User Manual       Specifications       This appendix lists the specifications of the PC 516 and DAQCard 516   These specifications are typical at 25   C unless otherwise specified     Analog Input    Input Characteristics    Number of channels                            8 single ended or 4 differential   software selectable     Type of ADC sise Successive approximation    R  solution   issoria 16 bits  worst case code range   32 243 to  32 242  due to  software calibration     Maximum sampling rate                     50 kS s   Input signal ranges                               5 V   Input Couphng s  uns DC   Overvoltage protection                             25 V powered on   25 V  powered off   Inputs protected isssseninshenentes ACH lt 0  7 gt    FIFO buffer size aiment 512 S   Data transfers  sine Interrupts  programmed I O    Transfer Characteristics  ON ie niet  3 LSB max  No missing codes                                  15 bits  guaranteed  Offset error  After software calibration              1 LSB  Before software calibration           20 LSB typ   45 LSB max       National Instruments Corporation A 1 PC 516 DAQCard 516 User Manual    Appendix    Specifications    Gain error  relativ
19.  system  use either the application software  LabVIEW or  LabWindows CVI  manuals 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 manuals   If you are using accessory products  read the  terminal block and cable assembly installation guides  They  explain how to physically connect the relevant pieces of the system   Consult these guides when you are making your connections     SCXI chassis manuals   If you are using SCXI  read these manuals  for maintenance information on the chassis  installation  instructions  and information about making custom modules     xi PC 516 DAQCard 516 User Manual    About This Manual    Related Documentation    The following documents contain information that you may find helpful  as you read this manual       Your NI DAQ software documentation    e Your computer operating manual  which explains how to insert  cards into your system    The following National Instruments manual contains detailed  information for the register level programmer     e DAQCard 500 516 and PC 516 Register Level Programmer  Manual    This manual is available from National Instruments by request  If you  are using NI DAQ  LabVIEW  or LabWindows CVI  you should not  need the register level programmer manual  Using NI DAQ   LabVIEW  or LabWindows CVI is as easy and as flexible as using the  low level prog
20.  useful for the initial prototyping of an application or in  situations in which the 516 device interconnections are frequently  changed  After you develop a final field wiring scheme  however  you  may want to develop your own cable  Refer to Appendix B  Custom  Cable Design  for information and guidelines for the design of custom  cables        National Instruments Corporation 1 5 PC 516 DAQCard 516 User Manual    Chapter 1 Introduction    Unpacking      PC 516    Your board is shipped in an antistatic package to prevent  electrostatic damage to the board  Electrostatic discharge can  damage several components on the board  To avoid such damage  in handling the board  take the following precautions     e Ground yourself via a grounding strap or by holding a  grounded object     e Touch the antistatic package to a metal part of your computer  chassis before removing the board from the package        Remove the board from the package and inspect the board for  loose components or any other sign of damage  Notify  National Instruments if the board appears damaged in any way   Do not install a damaged board into your computer     e Never touch the exposed pins of connectors       DAQCard 516    Your PC card is shipped in an antistatic vinyl case  when you are  not using the card  you should store it in this case  Because the card  is enclosed in a fully shielded case  no additional electrostatic  precautions are necessary  However  for your own safety and to  protect the card  
21. 16 device  Signals are routed to the positive and    PC 516 DAQCard 516 User Manual 3 6    National Instruments Corporation    Chapter 3 Signal Connections    negative inputs of the instrumentation amplifier through input  multiplexers  The instrumentation amplifier converts two input signals  to a signal that is the difference between the two input signals multiplied  by the gain setting of the amplifier  The amplifier output voltage is  referenced to the 516 device ground  The 516 device ADC measures this  output voltage when it performs A D conversions     SE Input    In single ended mode  the signals connected to ACH lt 7  0 gt  are routed  to the positive terminal of the instrumentation amplifier  and the  negative terminal of the instrumentation amplifier is connected to the  analog ground reference of the 516 device  Thus  the voltage measured  by the 516 device in single ended mode is the difference between an  input signal and the 516 device analog ground reference     DIFF Input    In differential mode  signals connected to ACH lt 3  0 gt  are routed to the  positive input of the instrumentation amplifier  and signals connected to  ACH lt 7  4 gt  are routed to the negative input of the instrumentation  amplifier  Thus  the voltage measured by the 516 device in differential  mode is the difference between two of the input signals     Single Ended Connection Considerations    Single ended connections are those in which all 516 device analog input  signals are referen
22. 3 and the negative      input tied to channels 4  5  6  or 7 respectively  thus  choosing channel pairs  0  4    1  5    2  6    3  7      While reading the following paragraphs  you may find it helpful to refer  to the Analog Input Signal Connections section of Chapter 3  Signal  Connections  which contains diagrams showing the signal paths for the  two configurations  These two modes are software selectable     RSE Input  Eight Channels  Default Setting     RSE input means that all input signals are referenced to a common  ground point that is also tied to the device analog input ground  The  RSE configuration is useful for measuring floating signal sources  See  the Types of Signal Souces and Measurement Systems section of  Chapter 3  Signal Connections  for more information  With this input  configuration  the device can monitor eight different analog input  channels     Considerations for using the RSE configuration are discussed in  Chapter 3  Signal Connections  Notice that in this mode  the return path  of the signal is analog ground at the connector through the AIGND pin     DIFF Input  Four Channels     DIFF input means that each input signal has its own reference  and the  difference between each signal and its reference is measured  The signal  and its reference are each assigned an input channel  With this input  configuration  the device can monitor four differential analog input  signals     PC 516 DAQCard 516 User Manual 2 6    National Instruments Corporation
23. 6 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 workmanship  for a period of 90 days from date of shipment  as evidenced  by receipts or other documentation  National Instruments will  at its option  repair or replace software media that do  not execute programming instructions if National Instruments receives notice of such defects during the warranty  period  National Instruments does not warrant that the operation of the software shall be uninterrupted or error free     A Return Material Authorization  RMA  number must be obtained from the factory and clearly marked on the outside  of the package before any equipment will be accepted for warranty work  National Instruments will pay the shipping  costs of returning to the owner parts which are covered by warranty     National Instruments believes that the information in this manual is accurate  The document has been carefully  reviewed for technical accuracy  In the event that technical or typographical errors exist  National Instruments  reserves the right to make changes to subsequent ed
24. 6 only            eee eceeesseeeesseeeeseeerseseeessseess 2 4  Plug and Play Mode anni at ante 2 4  Switchless  M  de  scriosann eiin 2 5  Base I O Address Selection ss    2 5  Data Acquisition Related Configuration                                                        2 5  Analog Input Configuration 0 00    cece ceeenecceseeeeeeseesecsreseensaeseseeees 2 5  RSE Input  Eight Channels  Default Setting         0  00000     2 6  DIFF Input  Four Channels  2 0 0 0    ee eeeeeessseevesseesesrenees 2 6  Digital I O Configuration ss 2 7  Counter COMM SULTAN ON  nn nee deen secasevsoureseten 2 7       National Instruments Corporation v PC 516 DAQCard 516 User Manual    Table of Contents    Chapter 3  Signal Connections    HO CONN CEOLS  en a SN ere Re Reis en 3 1  Signal Connection Descriptions 2 nantaise   nidiosistitninse 3 3  Analog Input Signal Connections ss 3 4   Analog Input Signal Connection Considerations        0   0 cee 3 4   Types of Signal Sources and Measurement Systems               0000 3 5   Ground Referenced Signal Sources                                     3 5   Floating Signal Sources  0           eceesseseecesseeseseeessseeeseesenees 3 5   Input Configurations ne en nes den be often 3 5   SE INpUt RE se aar rai erasana aaao 3 7   DIFF Sanyo nn A a tt seeded sea ee beeen cendeceenads 3 7   Single Ended Connection Considerations                                        3 7   Differential Connection Considerations                                          3 9  Differ
25. A D conversion is complete  the ADC clocks the result into  the A D FIFO  The A D FIFO is 16 bits wide and 512 words deep  This  FIFO serves as a buffer to the ADC and has two benefits  First  when an  A D conversion is complete  the value is saved in the A D FIFO for later  reading  and the ADC is free to start a new conversion  Secondly  the    PC 516 DAQCard 516 User Manual 4 4    National Instruments Corporation    Chapter 4 Theory of Operation    A D FIFO can collect up to 512 A D conversion values before any  information is lost  thus giving the software some extra time  512 times  the sample interval  to catch up with the hardware  If more than   512 values are stored in the A D FIFO without the A D FIFO being read  from  an error condition called A D FIFO overflow occurs and A D  conversion information is lost     The A D FIFO generates a signal that indicates when it contains A D  conversion data  The state of this signal can be read from the Status  Register     The output from the ADC is a two   s complement number ranging from   32 768 to 32 767     Data Acquisition Timing Circuitry  A data acquisition operation refers to the process of obtaining a Series  of successive A D conversions at a carefully timed interval  This  interval is called the sample interval  The data acquisition timing  circuitry consists of various clocks and timing signals that perform this  timing  The 516 device can perform two types of data acquisition     single channel data acquisition a
26. Figure 1 1  The Relationship between the Programming Environment    NI DAQ  and Your Hardware                ccccccssssssseeeccccceasesscceceeeaeceesceeeeees 1 4  Figure 2 1  A Typical Configuration for the DAQCard 516 aseeseen 2 3  Figure 3 1  W O Connector Pin Assignment          0 cccesescccseesseeceeesstseeeseseseeeeeeeeees 3 2  Figure 3 2  Onboard Instrumentation Amplifier                 cc cccccceeeessesceeeeeeeeeeteneeeeeees 3 6  Figure 3 3   Single Ended Analog Input Signal Connections 0 0 0 0    cee eeeeeeeeeeeeee 3 8  Figure 3 4  Differential Input Connections for Grounded Signal Sources                3 10  Figure 3 5  Differential Input Connections for Floating Sources          0   3 11  Figure 3 6  Digital I O Signal Connections 0000       eee eeeseeeeeeneeeeeeeeeessueeeesseeseneees 3 14  Figure 3 7  EXTCONV  Signal Timing sisi cosesvincaconstscasiatsventsvotencuossannvangiers 3 15  Figure 3 8  Event Counting Application with External Switch Gating                   3 16  Figure 3 9  Frequency Measurement Application              ceseceecessseceeeeeeeeeeeeeenneees 3 17  Figure 3 10  General Purpose Timing Signals                                             3 19  Figure 4 1  516 Device Block Diagramme in teste isa 4 2  Figure 4 2  Bus Interface Circuitry Block Diagram                                         4 3  Figure 4 3  Analog Input and Data Acquisition Circuitry Block Diagram                4 4  Figure 4 4  Digital I O Circuitry Block Diagram            cece
27. Operation     To perform pulse and square wave generation  program a counter to  generate a timing signal at its OUT output pin     To count events  program a counter to count rising or falling edges  applied to any of the MSM82C54 CLK inputs  You can then read the  counter value to determine the number of edges that have occurred  You  can gate counter operation on and off during event counting  Figure 3 8  shows connections for a typical event counting operation in which a  switch is used to gate counter 2 on and off              27 DGND    a a    1 0 Connector PC 516 or DAQCard 516      Notice that the switch debounce circuit  which is required for proper operation  is not shown in  the figure for simplicity        Figure 3 8  Event Counting Application with External Switch Gating    Use level gating to measure pulse width  Apply the pulse to be  measured to the GATE2 input  Load the counter with the known count  and program the counter to count down while the signal at the GATE2    PC 516 DAQCard 516 User Manual 3 16    National Instruments Corporation    Chapter 3 Signal Connections    input is high  The pulse width equals the counter difference  loaded  value minus read value  multiplied by the CLK2 period     To measure time lapse  program counter 2 to be edge gated  Apply an  edge to the GATE2 input to start the counter  Program counter 2 to start  counting after receiving a low to high edge  The time lapse since  receiving the edge equals the counter value difference
28. accessory  1 5  custom cable design  connector pin assignments  B 2  DAQCard 516  B 1  PC 516  B 1 to B 2  CLK  GATE  and OUT signal timing  connections  counter block diagram  4 9  event counting application  figure   3 16  frequency measurement application   figure   3 17    PC 516 DAQCard 516 User Manual    Index    timing requirements  figure   3 19  timing specifications  3 18  CLK1 signal  table   3 3  CLK2 signal  table   3 3  common mode signal rejection  considerations  3 12 to 3 13  configuration  See also installation   analog input  2 5 to 2 7  DIFF input  2 6 to 2 7  RSE input  2 6  counter  2 7  data acquisition related  2 5 to 2 7  digital I O  2 7  PC 516 configuration  2 4 to 2 5  base I O selection  2 4 to 2 5  bus related  2 4  plug and play mode  2 4 to 2 5  switchless mode  2 5  PC card questions and answers  C 1  typical configuration for DAQCard 516   figure   2 3  counter block diagram  4 9  counter configuration  2 7  custom cable design  See cables   customer communication  xii  E 1 to E 2    D    DAQCard 516  See PC 516 DAQCard 516   data acquisition counter and timing  connections  3 15  data acquisition timing circuitry  block diagram  4 5  data acquisition rates  4 6  multichannel  scanned  data  acquisition  4 6  single channel data acquisition  4 6  theory of operation  4 5 to 4 6  DGND signal  table   3 3    PC 516 DAQCard 516 User Manual    DIFF input  analog input configuration  2 6 to 2 7  definition  table   2 6  recommended input configur
29. as a general  analog power ground tie to your 516 device  Pins 2 through 9 are the  ACH lt 0  7 gt  signal pins  These pins are tied to the analog input channels  of your 516 device through 4 7 kQ series resistors  These resistors limit  the input current to the multiplexer  The following input range and  maximum ratings apply to inputs ACH lt 0  7 gt      e Input signal range  5 V  e Maximum input voltage rating  25 V powered on or off  Ya Warning  Exceeding the input signal range distorts input signals  Exceeding the    maximum input voltage rating may damage your 516 device and computer   National Instruments IS NOT liable for any damages resulting from any  such signal connections     Analog input Signal Connection Considerations    When making analog signal connections to your 516 device  you should  first determine whether the signal source and the measurement system  are floating or ground referenced  The two types of signal sources are  described as follows  and the types of measurement systems are  described in later sections     PC 516 DAQCard 516 User Manual 3 4    National Instruments Corporation    Chapter 3 Signal Connections    Types of Signal Sources and Measurement Systems    Ground Referenced Signal Sources    A ground referenced signal source or measurement system is one that  is connected in some way to the building system ground  Nonisolated  outputs of instruments and devices that plug into the building power  system fall into this category     The diffe
30. assignment figure only if you are designing custom made  cables for your device        PC 516 DAQCard 516 User Manual B 2    National Instruments Corporation    PC Card Questions and  Answers        Appendix        This appendix contains a list of common questions and answers relating  to PC Card  PCMCIA  operation  The questions are grouped according  to the type of information requested  You may find this information  useful if you are having difficulty with the PCMCIA system software  configuration and you are using Windows 3 1     If you are using Windows 95  the operation system will automatically  configure your PC Card  All questions in this appendix are specific to  Windows 3 1  with the exception of question 3 in the Operations section     Configuration       Do I need to use my PCMCIA configuration utility to configure the National  Instruments PC Cards     No  We recommend that you do not configure our PC Cards using PC  Card Control or an equivalent PC Card configuration utility  Use the  configuration utilities included with the NI DAQ driver software to  properly configure your card  The appropriate utility is the NI DAQ  Configuration Utility  formerly called WOAQCONF  for Windows 3 1  users     2  What should I do if my computer does not have Card and Socket Services  version 2 0 or later     Contact the manufacturer of your computer or of your PCMCIA adapter  and request the latest Card and Socket PCMCIA driver  Our NI DAQ  software will work with any Card an
31. ations   table   3 6  differential connection considerations   3 9 to 3 13  common mode signal rejection  considerations  3 12 to 3 13  floating signal sources  3 11 to 3 12  grounded signal sources  3 10  DIFF input  3 7  digital  O  circuitry  4 7  block diagram  4 7  data acquisition configuration  2 7  signal connections  3 13 to 3 14  I O connections  figure   3 14  pins  3 13  specifications  3 13  specifications  A 3  DIN  lt 0  3 gt  signal  description  table   3 3  digital I O circuitry  4 7  documentation  conventions used in manual  x  National Instruments documentation  xi  organization of manual  ix x  related documentation  xii  DOUT  lt 0  3 gt  signal  description  table   3 3  digital I O circuitry  4 7    E    e mail support  E 2  electronic technical support  E 1 to E 2  environment specifications  A 4  equipment  optional  1 5  event counting  3 16  application with external switch gating   figure   3 16       National Instruments Corporation    EXTCONV  signal  data acquisition counter and timing  connections  3 15  description  table   3 3  signal timing  figure   3 15    F    fax and telephone support  E 2  faxback support  E 2  floating signal sources  analog input signal connections  3 5  to 3 7  differential input connections   3 11 to 3 12  recommended input configurations   table   3 6  frequency measurement  3 17  application  figure   3 17  FTP support  E 1    G    GATE signal timing connections  See CLK   GATE  and OUT signal timing connections
32. ced to one common ground  The input signals are tied  to the positive input of the instrumentation amplifier that is referenced  to their common ground point     When your 516 device is configured for single ended input  eight  analog input channels are available  You can use single ended input  connections when the following criteria are met by all input signals     e Input signals are high level  greater than 1 V    e Leads connecting the signals to the 516 device are less than 15 ft     e All input signals share a common reference signal  at the source      If any one of the preceding criteria is not met  use the DIFF input  configuration     The 516 device single ended configuration is referenced  You can use  this mode for nonreferenced signal sources  In addition  if the computer       National Instruments Corporation 3 7 PC 516 DAQCard 516 User Manual    Chapter 3 Signal Connections    using the 516 device is not ground referenced  you can use this mode for  ground referenced signal sources     Figure 3 3 shows how to connect a signal source to your 516 device in  single ended mode  When you connect grounded signal sources to a 516  device in a ground referenced computer  carefully observe the polarity  to avoid shorting the signal source output  A laptop operating from a  battery is not grounded  A laptop powered from an AC DC adapter may  or may not be grounded     Instrumentation    Signal Amplifier  Source      Measured  Vy Voltage    1 0 Connector     7    PC 516 
33. croprocessor  Clock frequency or speed 2  a ma    Type of video board installed    Operating system version    Operating system mode  Programming language 2 2 re a a    aa  Programming language version _           o e a a aa a aa aa  Other boards in system A a a a a  Base I O address of other boards    DMA channels of other boards    Interrupt level of other boards _ s s e s a aa a aaa a aaa a a    PC card software    Documentation Comment Form    National Instruments encourages you to comment on the documentation supplied with our  products  This information helps us provide quality products to meet your needs     Title   PC 516 DAQCard  516 User Manual  Edition Date  May 1996  Part Number  321178A 01    Please comment on the completeness  clarity  and organization of the manual     If you find errors in the manual  please record the page numbers and describe the errors           Thank you for your help    Name   Title   Company   Address   Phone       Mail t0  Technical Publications Fax to  Technical Publications  National Instruments Corporation National Instruments Corporation  6504 Bridge Point Parkway  512  794 5678    Austin  TX 78730 5039    Glossary       Numbers Symbols    Q     1 MHz    AIGND  AWG    CE  CLK  CMOS  CMRR  CTR    degrees   ohms   percent   1 MHz square wave oscillator signal    amperes  alternating current   analog input channel signal  analog to digital   A D converter   analog input ground signal  American Wire Gauge    Celsius   card enable signal
34. d Socket Service driver that is  compliant to version 2 0 or later        National Instruments Corporation C 1 PC 516 DAQCard 516 User Manual    Appendix C PC Card Questions and Answers    Operation    1  My PC Card works when inserted before power on time  but it does not work  when hot inserted  What is wrong     You may have an interrupt conflict  If you have a utility such as   MSD  EXE  run it to determine the allocated interrupts  then refer to  question 5 in the Resources section  MSD  EXE is usually shipped with  Microsoft Windows     2  My computer locks up when I use a PC Card  What should I do     This usually happens because Card Services allocated an unusable  interrupt level to the PC Card  For example  on some computers   interrupt level 11 is not routed to PC Cards  If Card Services is not  aware of this  it may assign interrupt 11 to a PC Card even though the  interrupt is not usable  When a call uses the interrupt  the interrupt  never occurs  and the computer locks up waiting for a response  For  information about how to locate an interrupt that is free to be used  refer  to question 4 in the Resources section     3  Is there a way I can conserve power on my PC Card when it is not in use     Yes  If you are using NI DAQ for PC compatibles version 4 8 0 or later   a utility called DAQPOWER  EXE will switch National Instruments PC  Cards between normal mode and power down mode  Run DAQPOWER  from the command line to view instructions on the proper usage  See 
35. digital circuitry is powered  on and is functional  The analog input is powered down by setting  the PWRDOWN bit in the PC Card Configuration and Status  Register  You can set the PWRDOWN bit by using the DAQPOWER  utility that is shipped with NI DAQ  Use DAQPOWER D to power  down and DAQPOWER U to power up the DAQCard 516  This  utility is available in Windows and is installed whenever you install  NI DAQ  Typically  the analog supplies are not reduced to zero   negligible power is supplied to the analog circuits  This mode  draws about 20 mA from the 5 V supply  about 100 mW      D 1 PC 516 DAQCard 516 User Manual    Appendix D Power Management Modes    Table D 1 shows the effects of different power management modes on  the DAQCard 516 circuits     Table D 1     Analog Input       Normal Mode    Functional  Protected to   25 V   Impedance  gt  10 GQ        Counters    PC 516 DAQCard 516 User Manual    Functional  Protected from   0 5 to 5 5 V     Functional  Initialize to  undefined states  Individual  counters of the 82C54 must  be fully programmed before  use  Protected from  0 5 to  5 5 V     DAQCard 516 Power Management Modes    Power Down Mode    Nonfunctional  Draws  negligible power  Protected  to  25 V  Impedance     4 7 kQ  which is the input  protection resistance     Functional  Protected from   0 5 to 5 5 V        Functional  Initialize to  undefined states  Individual  counters of the 82C54 must  be fully programmed before  use  Protected from  0 5 to  5 5 V   
36. e  or negligent acts  and power failure or surges  fire  flood  accident  actions of third parties  or  other events outside reasonable control     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     LabVIEW    NI DAQ    RTSI    DAQCard     and SCXI    are trademarks of National Instruments Corporation   Product and company names listed are trademarks or trade names of their respective companies     WARNING REGARDING MEDICAL AND CLINICAL USE OF NATIONAL INSTRUMENTS PRODUCTS    National Instruments products are not designed with components and testing intended to ensure a level of reliability  suitable for use in treatment and diagnosis of humans  Applications of National Instruments products involving  medical or clinical treatment can create a potential for accidental injury caused by product failure  or by errors on the  part of the user or application designer  Any use or application of National Instruments products for or involving  medical or clinical treatment must be performed by properly trained and qualified medical personnel  and all  traditional medical safeguards  equipment  and procedures that are appropriate in the particular situation to prevent  serious injury or death should always continue to be used whe
37. e to calibration reference     After software calibration            40 045  of reading typ   0 09   max   Before software calibration           0 87  of reading typ   1 5   max    Amplifier Characteristics  Input impedance                                      10 GQ in parallel with 20 pF    CMRR  all input ranges               0   70 dB  DC to 60 Hz    Dynamic Characteristics  Settling time to  0 0015    1 LSB     for full scale Step    20 us   System OISE pese ens 1 LSBrms typ  Stability   Recommended warm up time              15 min   Offset temperature coefficient            20 ppm   C max  Gain temperature coefficient               30 ppm   C max    PC 516 DAQCard 516 User Manual A 2    National Instruments Corporation    Digital 1 0    Timing 1 0    Bus interface    Number of channels                              Compatibility sde sis    Appendix A Specifications       Digital logic levels          Input low voltage    Input high    voltage    Input low current   Vin   0 V     Input high   Vin  5 V     current    Output low voltage   Tout   4 mA     Output high voltage   out   4 mA     Number of channels                               Resolution                                                Compatibility ns    Base clocks available                     008  Base clock accuracy                             Max source frequency                            Min source pulse duration                    Min gate pulse duration     Data transfers nie nmen nine       National Inst
38. ential Connections for Grounded Signal Sources      3 10  Differential Connections for Floating Signal Sources         3 11  Common Mode Signal Rejection Considerations               3 12  Digital I O Signal Connections ss 3 13  Timing    ONNECHONS nn sn en a Esa TESEN Eae Si 3 14  Data Acquisition Counter and Timing Connections                c ce00 3 15  General Purpose Counter and Timing Signal Connections               3 15    Chapter 4  Theory of Operation    Funct Oral Overview  isco eile Re aeaee a eee iine ar iaae EEAS SET iR 4 1  Bus Interface Circuitry nee ia ac es a aes aaa e re E h e ESER EE A ia aED 4 3  Analog Input and Data Acquisition Circuitry ss 4 3  Analog Inp  t Circ nner y opsein erie seiiet nes ie diiens 4 4   Data Acquisition Timing Circuitry ss 4 5  Single Channel Data Acquisition          eseesssreessreeeseeeeeesrsrnreesessrressses 4 6   Multichannel  Scanned  Data Acquisition                                       4 6   Data  ACquisition Rates  nt astsdiettncnaos sa snnces ureien vakoaan 4 6   Digital VO Circ  ttiy eiee iiite a seaseasosscessbe adbicivec EASE EEA OE EAE Eoee aras 4 7  Timing  DO CC ey nn ainsi id nr ann Ann E LA EEE EE bete 4 7    Appendix A  Specifications    Appendix B  Custom Cable Design    PC 516 DAQCard 516 User Manual vi    National Instruments Corporation    Table of Contents    Appendix C  PC Card Questions and Answers    Appendix D  Power Management Modes    Appendix E  Customer Communication    Glossary    Index  Figures   
39. er operations  SCXI  RTSI  self calibration   messaging  and acquiring data to extended memory        National Instruments Corporation 1 3 PC 516 DAQCard 516 User Manual    Chapter 1    Introduction       NI DAQ has both high level DAQ 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 DAQ also internally addresses many of the complex 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  LabVIEW  or  LabWindows CVI  your application uses the NI DAQ driver software   as illustrated in Figure 1 1     Conventional  Programming LabVIEW LabWindows CVI  Environment  PC  Macintosh  or  PC or   PC  Macintosh  or Sun SPARCstation  Sun SPARCstation   Sun SPARCstation           NI DAQ  Driver Software    Personal    DAQ or Computer  SCXI Hardware or    Workstation    Figure 1 1  The Relationship between the Programming Envir
40. figuration section for your operating system and follow the  instructions given there     If you are using LabVIEW  the software installation instructions  are in your LabVIEW release notes  After you have installed  LabVIEW  refer to the Configuring LabVIEW section of Chapter 1  of your LabVIEW user manual for software configuration  instructions     If you are using LabWindows CVI  the software installation  instructions are in your LabWindows CVI release notes  After you  have installed LabWindows CVI  refer to Chapter 1  Configuring  LabWindows CVI  of the LabWindows CVI User Manual for  software configuration instructions     If you are a register level programmer  refer to the DAQCard 500   516 and PC 516 Register Level Programmer Manual       PC 516    The PC 516 is completely software configurable  Two types of  configuration are performed on the PC 516   bus related and data  acquisition related  Bus related configuration includes setting the  base I O address  Data acquisition related configuration includes  such settings as analog input mode  digital I O configuration  and  counter configuration     Bus Related Configuration  PC 516 only     The PC 516 works in either a Plug and Play mode or a switchless mode   These modes dictate how the base I O address is determined and  assigned to the device     Plug and Play Mode    The PC 516 is fully compatible with the industry standard Intel   Microsoft Plug and Play Specification version 1 0  A Plug and Play  system arbi
41. for the 27 pin female connector on the  DAQCard 516  Use the pin assignment in Figure B 1 only for  custom cable design     If you are using the National Instruments PR27 30F cable  you  should use the pin assignment shown in Figure 3 1a     The other end of the cable uses a 30 pin  insulation displacement   male ribbon cable header connector  National Instruments uses a  polarized  keyed  connector to prevent inadvertent upside down  connection to the CB 27  The recommended manufacturer part  number for this mating connector is as follows     e AMP Manufacturing  part number 746288 7     The following are the standard ribbon cables  30 conductor  28  AWG  stranded  that work with the 30 pin connectors     e Electronic Products Division 3M  part number 3365 30   e T amp B Ansley Corporation  part number 171 30     PC 516    The recommended cable for the PC 516 is the National Instruments  R30 30  This cable is a standard 30 conductor ribbon cable with a  polarized  30 pin  insulation displacement  male ribbon cable  header connector on each end  Figure 3 1b shows the pin  assignment for the 30 pin connector on the PC 516  Recommended  manufacturer part numbers for the standard ribbon cables that work  with the 30 pin connectors are listed above     B 1 PC 516 DAQCard 516 User Manual    Appendix B Custom Cable Design    EXTCONV      5 V  ACH7  ACH3  ACH6  ACH2  ACH5  ACH1  ACH4  ACHO    mano    Figure B 1  DAQCard 516 1 0 Connector Pin Assignments       J   Note  Use this pin 
42. ic low voltage 0 8 V maximum       Input load current  10 0 pA maximum  MSM82C54 digital output specifications  referenced to DGND        Voy output logic high voltage 3 0 V minimum     Vo  output logic low voltage 0 40 V maximum       Ip output source current  at Voy 2 5 mA maximum       Ip  output sink current  at VoL 2 5 mA maximum    3 18    National Instruments Corporation       clock period 100 ns  clock high level 30 ns  clock low level 50 ns  gate setup time 40 ns  gate hold time 50 ns  gate high level 50 ns  gate low level 50 ns  output delay from clock 100 ns  output delay from gate 100 ns    Chapter 3 Signal Connections    minimum  minimum  minimum  minimum  minimum  minimum  minimum  maximum  maximum       Figure 3 10  General Purpose Timing Signals    The GATE and OUT signals in Figure 3 10 are referenced to the rising    edge of the CLK signal        National Instruments Corporation 3 19    PC 516 DAQCard 516 User Manual         Chapter    Theory of Operation    This chapter includes an overview of the PC 516 and DAQCard 516  and explains the operation of each functional unit making up your  516 device     Functional Overview       The block diagram in Figure 4 1 shows a functional overview of the  PC 516 and DAQCard 516        National Instruments Corporation 4 1 PC 516 DAQCard 516 User Manual    Chapter 4 Theory of Operation           Cc   amp      O  O      lt   O     O  a  2  a       Instrumentation  Amplifier    512 Word  _  sampling    Interface    A D Tim
43. include the configuration forms from their user manuals  Include additional pages if necessary     Name   Company   Address   Fax  ___  Phone  __     Computer brand Model Processor    Operating system  include version number        Clock speed MHz RAM __ MB Display adapter   Mouse _yes __no Other adapters installed   Hard disk capacity __MB Brand   Instruments used   National Instruments hardware product model Revision  Configuration   National Instruments software product Version  Configuration   The problem is     List any error messages     The following steps reproduce the problem     PC 516 DAQCard 516 Hardware and Software  Configuration Form    Record the settings and revisions of your hardware and software on the line to the right of each  item  Complete a new copy of this form each time you revise your software or hardware  configuration  and use this form as a reference for your current configuration  Completing this  form accurately before contacting National Instruments for technical support helps our  applications engineers answer your questions more efficiently     National Instruments Products    PC 516 or DAQCard 516 Serial Number and Revision  DAQ hardware    Interrupt level of hardware    Base I O address of hardware    NI DAQ  LabVIEW  or LabWindows CVI version    Programming choice    Other boards in system    Base I O address of other boards  DMA channels of other boards    Interrupt level of other boards    Other Products    Computer make and model    Mi
44. ing    oo  eee ee cert nl eee  MSM82c54       CRE  OUT  lt 1  2 gt     1 0 Connector    Interrupt    Interface From A D FIFO    Digital  1O    DC DC  Converter    0 75 A Resettable Fuse    Figure 4 1  516 Device Block Diagram    The following are the major components of the 516 device    e Bus interface circuitry      Analog input circuitry   e Digital I O circuitry      Timing I O circuitry   You can execute data acquisition functions by using the analog input    circuitry and some of the timing I O circuitry  The internal data and  control buses interconnect the components  The theory of operation for    PC 516 DAQCard 516 User Manual 4 2    National Instruments Corporation    Chapter 4 Theory of Operation    each of these components is explained in the remainder of this chapter   The theory of operation for the data acquisition circuitry is included  with the discussion of the analog input circuitry     Bus Interface Circuitry       The bus interface circuitry consists of an address bus  a data bus   interrupt lines  and several control and support signals  The components  making up the bus interface circuitry are shown in Figure 4 2     Address Bus    Control Lines    Data Bus    S  Cc     fse        O   Q    lt    O       O   Q    2          Address  Decoder    Timing  Interface    Card  Information  Structure  Data  Buffers  PCMCIA  Control  Registers    Interrupt  Control    Register Selects    Timing Signals    Internal Data Bus    interrupt Requests       Figure 4 2 
45. 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 hardware  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     Using LabVIEW or LabWindows CVI software will greatly reduce the  development time for your data acquisition and control application     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 tim
46. itions of this document without prior notice to holders of this  edition  The reader should consult National Instruments if errors are suspected  In no event shall National  Instruments be liable for any damages arising out of or related to this document or the information contained in it     EXCEPT AS SPECIFIED HEREIN  NATIONAL INSTRUMENTS MAKES NO WARRANTIES  EXPRESS OR IMPLIED  AND  SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE   CUSTOMER   S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL  INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER  NATIONAL INSTRUMENTS  WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA  PROFITS  USE OF PRODUCTS  OR INCIDENTAL OR  CONSEQUENTIAL DAMAGES  EVEN IF ADVISED OF THE POSSIBILITY THEREOF  This limitation of the liability of National  Instruments will apply regardless of the form of action  whether in contract or tort  including negligence  Any action  against National Instruments must be brought within one year after the cause of action accrues  National Instruments  shall not be liable for any delay in performance due to causes beyond its reasonable control  The warranty provided  herein does not cover damages  defects  malfunctions  or service failures caused by owner   s failure to follow the  National Instruments installation  operation  or maintenance instructions  owner   s modification of the product   owner   s abuse  misus
47. mple  do not configure two devices for the same base address     Base 1 0 Address Selection    You can configure the PC 516 to use base addresses in the range of 100  to FFFO hex  The PC 516 occupies 16 bytes of address space and must  be located on a 16 byte boundary  Therefore  valid addresses include  100  110  120  FFEO  FFFO hex  This selection is software configured  and does not require you to manually change any settings on the device     Data Acquisition Related Configuration    Analog Input Configuration    At startup  your device defaults to the following configuration   e Single ended input mode referenced to analog ground    e  5 V analog range  Software can configure the device for differential input mode     The device has two different input modes   referenced single ended   RSE  input and differential  DIFF  input  The single ended input       National Instruments Corporation 2 5 PC 516 DAQCard 516 User Manual    Chapter 2 Installation and Configuration    configuration provides eight channels  The DIFF input configuration  provides four channels  Table 2 1 describes these configurations     Table 2 1  Analog Input Modes for the 516 Device    Analog Input Description  Modes    RSE                       Referenced single ended mode provides eight single   ended inputs referenced to analog ground  default  setting      Differential mode provides four differential inputs  with the positive     input of the instrumentation  amplifier tied to channels 0  1  2  or 
48. n National Instruments products are being used   National Instruments products are NOT intended to be a substitute for any form of established process  procedure  or  equipment used to monitor or safeguard human health and safety in medical or clinical treatment     Table  of    Contents       About This Manual    Organization of this Manual issue rlnatetrertenisle delete ele Este 1X  Conventions Used in This Manual  000          eee eeceeecseeceesessssceceeeseeeesseaneeeeeeeesssesnaeeeeeeeeees X  National Instruments Documentation ss xi  Related Documentation         sooonseeoeeseesoeresessssssreesessssoreretesssssssoreessssnssrererssssssrrereresssreeeees xii  Customer Communication divs cciisadectvrerceneca tase seem tise sare Guene aie ees xii  Chapter 1  introduction  About Your PC 516 and DAQCard 516 ss 1 1  What You Ne  d to Get Started  fier enr RE E a E a 1 2  Software Programming Choices  gt  ssc  ccrecscusssveyeceavecicesta zovcebae detec teendonsSikeadeseeeusnauddendsseee  1 3  LabVIEW and LabWindows CVI Application Software              cseseeee 1 3  NI DAQ Driver SOFWAT    2e eee sense tese 1 3  Register Level Programming suisses uit rsniatt  terse 1 5  Optional Equipment nesciens ene ne dd tite de 1 5  Cabling SR PR vate Payet Stade 1 5    APACRINE ns TN teens eat E rte 1 6  Chapter 2  Installation and Configuration  Installation 55 oie she Rs LAS nn ds ea aa 2 1  Hardwar   Config  ration cca pss de sass ne CRM den ne NN ere 2 3  Bus Related Configuration  PC 51
49. n amplifier     If the input signal common mode range exceeds the maximum  computed above with respect to the 516 device ground  you need to  limit the amount of floating that occurs between the signal ground and  the 516 device ground     Digital 1 0 Signal Connections    Pins 12 through 19 of the I O connector are digital I O signal pins   Pins 12 through 15 are digital input pins  Pins 16 through 19 are digital  output pins  Pin 27 is the digital ground pin     The following specifications and ratings apply to the digital I O lines     e Absolute maximum voltage  5 5 V with respect to  input rating DGND   e Absolute minimum voltage  0 5 V with respect to  input rating DGND   e Digital input compatibility TTL compatible       Input current  high or low level  1 HA   e Digital output compatibility TTL compatible   e Output current source capability 4 mA  at Voy   3 5 V  e Output current sink capability 4 mA  at VoL  0 5 V    Figure 3 6 shows an example of connections to the digital input and  output ports  Digital input applications include receiving TTL signals  and sensing external device states such as the switch in Figure 3 6   Digital output applications include sending TTL signals and driving  external devices such as the LED shown in Figure 3 6        National Instruments Corporation 3 13 PC 516 DAQCard 516 User Manual    Chapter 3 Signal Connections       Digital  Input  Port       Digital  Output  Port       1 0 Connector  PC 516 or DAQCard 516      Notice that the 
50. n your country   contact the source from which you purchased your software to obtain support     Australia  Austria  Belgium  Canada  Ontario   Canada  Quebec   Denmark  Finland  France  Germany  Hong Kong  Italy   Japan  Korea  Mexico  Netherlands  Norway  Singapore  Spain  Sweden  Switzerland  Taiwan  UK     Telephone    03 9 879 9422  0662 45 79 90 0  02 757 00 20  519 622 9310  514 694 8521  45 76 26 00  90 527 2321   1 48 14 24 24  089 741 31 30  2645 3186   02 413091   03 5472 2970  02 596 7456  95 800 010 0793  0348 433466  32 84 84 00  2265886   91 640 0085  08 730 49 70  056 200 51 51  02 377 1200  01635 523545    LabVIEW  1v support natinst com  HiQ  hiq support natinst com  VISA  visa support natinst com    Fax    03 9 879 9179  0662 45 79 90 19  02 757 03 11    514 694 4399  45 76 26 02  90 502 2930   1 48 14 24 14  089 714 60 35  2686 8505   02 41309215  03 5472 2977  02 596 7455   5 520 3282  0348 430673  32 84 86 00  2265887   91 640 0533  08 730 43 70  056 200 51 55  02 737 4644  01635 523154    Technical Support Form    Photocopy this form and update it each time you make changes to your software or hardware  and  use the completed copy of this form as a reference for your current configuration  Completing  this form accurately before contacting National Instruments for technical support helps our  applications engineers answer your questions more efficiently    If you are using any National Instruments hardware or software products related to this problem   
51. nd multichannel  scanned  data  acquisition  Scanned data acquisition uses a counter to automatically  switch between analog input channels during data acquisition     Data acquisition timing consists of signals that initiate a data  acquisition operation and generate scanning clocks  One of the three  counters of the onboard MSM82CS4 is reserved for this purpose     An A D conversion can be initiated during data acquisition by a low to   high transition on the counter 0 output  OUTO  of the MSM82C54  onboard counter timer chip on the 516 device  or by a low to high  transition on EXTCONV  input     The sample interval timer is a 16 bit down counter that uses the  onboard 1 MHz clock to generate sample intervals from 2 us to  65 535 ps  see Timing I O Circuitry later in this chapter   Each time the  sample interval timer reaches zero  it generates a pulse and reloads with  the programmed sample interval count  This operation continues until  you reprogram the counter     Notice that only counter 0 is required for data acquisition operations   The software must track the number of conversions that have occurred  and turn off counter 0 after the required number has been obtained        National Instruments Corporation 4 5 PC 516 DAQCard 516 User Manual    Chapter 4 Theory of Operation    Single Channel Data Acquisition    During single channel data acquisition  you set a control register to  select the analog input channel before data acquisition starts  This  multiplexer setti
52. never attempt to touch the pins of the connectors     PC 516 DAQCard 516 User Manual 1 6    National Instruments Corporation    Installation and  Configuration        Chapter       This chapter describes how to install and software configure your 516    device     Installation       i  Note  You should install your driver software before installing your hardware     Refer to your NI DAQ Release Notes for software installation instructions       PC 516    You can install the PC 516 in any available 8 bit or 16 bit  expansion slot in your computer  The following are general  installation instructions  but consult your PC user manual or  technical reference manual for specific instructions and warnings        National Instruments Corporation    1   2   3     Turn off your computer   Remove the top cover or access port to the I O channel     Remove the expansion slot cover on the back panel of the  computer     Record the PC 516 serial and revision numbers on the  Hardware and Software Configuration form in Appendix E   Customer Communication  You will need these numbers when  you install and configure your board     Insert the PC 516 into an 8 bit or a 16 bit slot    Screw the mounting bracket of the PC 516 to the back panel  rail of the computer    Check the installation    Replace the cover     Attach the I O cable  The optional R30 30 cable available for  the PC 516 plugs into the 30 pin I O connector on the other end  of the card  This cable connects the PC 516 to other Nati
53. ng remains constant during the entire data acquisition  process  therefore  you read all A D conversion data from a single  channel     Multichannel  Scanned  Data Acquisition    You can perform multichannel data acquisition by enabling scanning  during data acquisition  A scan counter controls multichannel scanning     For scanning operations  the 516 device decrements from the highest  numbered channel  which you select  through channel 0 and then  repeats the sequence  The 516 device can scan any number of channels  from 2 to 8     Data Acquisition Rates    The maximum data acquisition rate  number of samples per second  is  determined by the conversion period of the ADC plus the acquisition  time of its track and hold stage  During multichannel scanning  the data  acquisition rate is further limited by the settling time of the input  multiplexer and operational amplifier  After the input multiplexer is  switched  the amplifier must be able to settle to the new input signal  value to within 16 bit accuracy before an A D conversion is performed   or 16 bit accuracy cannot not be achieved     If your chosen data acquisition rate does not allow the specified settling  time  the analog input circuitry may not perform at 16 bit accuracy   Furthermore  if the maximum data acquisition rate is exceeded  A D  conversions may be lost  The maximum data acquisition rate and  settling time specifications are listed in Appendix A  Specifications     These settling time specifications as
54. nstruments products  Be  very careful not to put strain on the I O cable when inserting it  into and removing it from the DAQCard 516  When plugging  and unplugging the cable  always grasp the cable by the  connector  Never pull directly on the I O cable to unplug it  from the DAQCard 516     The DAQCard 516 is installed  You are ready to make the  appropriate connections to the I O connector cable as described in  Chapter 3  Signal Connections  and to install and configure your  software     Figure 2 1 shows an example of a typical configuration     PC 516 DAQCard 516 User Manual 2 2    National Instruments Corporation    Chapter 2 Installation and Configuration    Portable  Computer    Se     es  ae            2           PL    PCMCIA Slot    PR27 30F       Figure 2 1  A Typical Configuration for the DAQCard 516    Hardware Configuration         DAQCard 516    The DAQCard 516 is completely software configurable  refer to  your software documentation to install and configure the software   If you are using NI DAQ for PC compatibles or NI DAQ for NEC  PC 9800 Series computers  refer to your NI DAQ release notes   Find the installation and system configuration section for your  operating system and follow the instructions given there    If you are using NI DAQ for Macintosh  refer to the NI DAQ  software reference manual  Find the installation and system       National Instruments Corporation 2 3 PC 516 DAQCard 516 User Manual    Chapter 2 Installation and Configuration    con
55. nts Corporation 3 9 PC 516 DAQCard 516 User Manual    Chapter 3 Signal Connections    Differential Connections for Grounded Signal Sources    Figure 3 4 shows how to connect a ground referenced signal source to  your 516 device configured for DIFF input           Ground   Referenced  Signal Instrumentation  Source Amplifier    QO     V Measured  Voltage    Common   Mode  Noise   Ground NZ  Potential   and so on    Input Multiplexers    1 0 Connector    PC 516 or DAQCard 516 in DIFF Configuration       Figure 3 4  Differential Input Connections for Grounded Signal Sources    With this type of connection  the instrumentation amplifier rejects both  the common mode noise in the signal and the ground potential  difference between the signal source and the 516 device ground  shown  as Vom in Figure 3 4      PC 516 DAQCard 516 User Manual 3 10    National Instruments Corporation    Chapter 3 Signal Connections    Differential Connections for Floating Signal Sources    Figure 3 5 shows how to connect a floating signal source to your 516  device configured for DIFF input  Configuration instructions are  included in the Input Configurations section earlier in this chapter           Floating  Signal  Source    Instrumentation  Amplifier       Measured  m Voltage    Bias  Current  Return  Paths    1O Connector    PC 516 or DAQCard 516 in DIFF Configuration       Figure 3 5  Differential Input Connections for Floating Sources    The 100 kQ resistors shown in Figure 3 5 create a return pa
56. ny power signals to ground and vice versa   National Instruments is NOT liable for any damages resulting from such  signal connections        National Instruments Corporation 3 1 PC 516 DAQCard 516 User Manual    Chapter 3 Signal Connections    DIN AIGND    DINO ACH4       EXTCONV  AE ACH5     5 V ACH6  ACH7 ACH7  ACH3 EXTCONV   ACH6 DIN  ACH2   16   15   DIN3  ACH5 DOUT1  ACH1 DOUT3  ACH4 EE DGND  ACHO OUT   AIGND CLK2  AIGND DGND    NC    a  CB 27 Connector Block b  PR27 30F and R30 30 Cable       Figure 3 1  1 0 Connector Pin Assignments    PC 516 DAQCard 516 User Manual 3 2    National Instruments Corporation    Chapter 3 Signal Connections    Signal Connection Descriptions     Pim  Simi ame   met  erin o  AIGND AIGND Analog Input Ground   This signal is the common ground    tie in point for all analog signals   ACH lt 0  7 gt  AIGND  ae  EXTCONV    DGND    12 15  DIN lt 0  3 gt  DGND  16 19  DOUT lt 0  3 gt   DGND       National Instruments Corporation 3 3 PC 516 DAQCard 516 User Manual                                     Analog Input Channels 0 through 7   These signals are  single ended analog input signals  The differential pairs are   0 4    1 5    2 6  and  3 7               5 Volts   This pin provides  5 VDC  The  5 V supply is  fused at 0 75 A  which is the maximum current available                    External Convert Signal   This input signal externally  controls A D conversions           Digital Input Data Lines   These signals are TTL   compatible  digital inp
57. on   cabling  1 5  hardware and software requirements  1 2  optional equipment  1 5  overview and features  1 1 to 1 2  software programming choices  1 3 to 1 5  LabVIEW and LabWindows CVI  application software  1 3  NI DAQ driver software  1 3 to 1 4  register level programming  1 5  PC card questions and answers  C 1 to C 4  configuration  C 1  operation  C 1 to C 2  resource conflicts  C 4  resources  C 2 to C 3  physical specifications  A 4  pin assignments  custom cabling  B 2  I O connectors  3 2  plug and play mode  PC 516  2 4  power management modes of DAQCard 516  effects of power management  table   D 2  normal mode  D 1  power down mode  D 1  power requirement specifications  A 4  pulse and square wave generation  3 16  pulse width measurement  3 16    R    referenced single ended input  See RSE input   register level programming  1 5  RSE input  analog input configuration  2 6  definition  table   2 6  recommended input configurations   table   3 6  single ended connection considerations   3 7 to 3 8  SE input  3 7    PC 516 DAQCard 516 User Manual 1  4    S    scanned  multichannel  data acquisition  4 6  signal connections  analog input signal connections   3 4 to 3 13  differential connection  considerations  3 9 to 3 13  common mode signal rejection  considerations  3 12 to 3 13  floating signal sources   3 11 to 3 12  grounded signal sources  3 10  DIFF input  3 7  exceeding input signal range   warning   3 5  floating signal sources  3 5  ground referenced 
58. on  4 6  block diagram of  PC 516 DAQCard 516  4 2  bus interface circuitry  figure   4 3  digital I O circuitry  4 7  functional overview  4 1 to 4 3  timing I O circuitry  4 7 to 4 9  block diagram  4 8  counter block diagram  4 9  time lapse measurement  3 17       National Instruments Corporation 1 5    Index    timing connections  3 14 to 3 19  data acquisition counter and timing  connections  3 15  GATE  CLK  and OUT signal timing  requirements  3 18 to 3 19  general purpose counter and timing  signal connections  3 15 to 3 19  event counting  3 16  frequency measurement  3 17  pulse and square wave  generation  3 16  pulse width measurement  3 16  time lapse measurement  3 17  pins for timing I O signals  3 14  timing I O circuitry  4 7 to 4 9  block diagram  4 8  counter block diagram  4 9  timing I O specifications  A 3    PC 516 DAQCard 516 User Manual    
59. onal  Instruments products  When plugging and unplugging the  cable  always grasp the cable by the connector  Never pull  directly on the I O cable to unplug it from the PC 516     2 1 PC 516 DAQCard 516 User Manual    Chapter 2 Installation and Configuration    The PC 516 device is installed  You are ready to make the  appropriate connections to the I O connector cable as described in  Chapter 3  Signal Connections  and to install and configure your  software       DAQCard 516    You can install your DAQCard 516 in any available Type II  PCMCIA slot in your computer  You must have Card and Socket  Services 2 0 or later installed in your computer     The PC card software configures the card for your computer and  automatically determines the base address  The following are  general installation instructions  but consult your PC user manual  or technical reference manual for specific instructions and  warnings     1  Turn off your computer  If your computer supports hot  insertion  you may insert or remove the DAQCard 516 at any  time  whether the computer is powered on or off     2  Remove the PCMCIA slot cover on your computer     Insert the 68 pin PCMCIA bus connector of the DAQCard 516  into the PCMCIA slot  The card is keyed so that you can insert  it only one way     4  Attach the I O cable  The optional PR27 30F cable available  for the DAQCard 516 plugs into the 27 pin I O connector on  the other end of the card  This cable connects the  DAQCard 516 to other National I
60. onment   NI DAQ  and Your Hardware    PC 516 DAQCard 516 User Manual 1 4    National Instruments Corporation    Chapter 1 Introduction    Register Level Programming    The final option for programming any National Instruments DAQ  hardware is to write register level software  Writing register level  programming software can be very time consuming and inefficient and  is not recommended for most users     Even if you are an experienced register level programmer  consider  using NI DAQ  LabVIEW  or LabWindows CVI to program your  National Instruments DAQ hardware  Using the NI DAQ  LabVIEW  or  LabWindows CVI software is as easy and as flexible as register level  programming and can save weeks of development time     Optional Equipment       Cabling    Listed below are some of the optional accessories that work with your  516 device  New accessories are always being added to our product  family  See your National Instruments catalog or call the National  Instruments office nearest you for more information about optional  equipment     e CB 27 I O connector block  e R30 30 I O connector with 0 5 or 1 m connector cable  PC 516        PR27 30F I O connector with 0 5 or 1 m connector cable   DAQCard 516        National Instruments currently offers a cable termination accessory  the  CB 27  for use with your PC 516 or DAQCard 516  You can attach  signal input and output wires to screw terminals on the connector block  and  therefore  to your 516 device I O connector     The CB 27 is
61. or DAQCard 516       Figure 3 3  Single Ended Analog Input Signal Connections    PC 516 DAQCard 516 User Manual 3 8    National Instruments Corporation    Chapter 3 Signal Connections    Differential Connection Considerations    Differential connections are those in which each 516 device analog  input signal has its own reference signal or signal return path  These  connections are available when the 516 device is configured in the DIFF  mode  Each input signal is tied to the positive input of the  instrumentation amplifier  and its reference signal  or return  is tied to  the negative input of the instrumentation amplifier     When your 516 device is configured for DIFF input  each signal uses  two of the multiplexer inputs   one for the signal and one for its  reference signal  Therefore  only four analog input channels are  available when you use the DIFF configuration  Use the DIFF input  configuration when any of the following conditions is present     e Input signals are low level  less than 1 V      e Leads connecting the signals to the 516 device are greater than  15 ft     e Any of the input signals requires a separate ground reference point  or return signal     e The signal leads travel through noisy environments   Differential signal connections reduce picked up noise and increase  common mode signal and noise rejection  With these connections  input    signals can float within the common mode limits of the input  instrumentation amplifier        National Instrume
62. our acquisition        Both 516 devices ship with NI DAQ  National Instruments    complete  DAQ driver that handles every function listed on the data sheet for our  DAQ hardware  Using NI DAQ  you can quickly and easily start your  application without having to program the card on the register level     In addition  the low cost of a system based on the PC 516 or  DAQCard 516 makes it ideal for laboratory work in industrial and  academic environments  The multichannel analog input is useful in  signal analysis and data logging  The 16 bit ADC is useful in high   resolution applications such as chromatography  temperature  measurement  and DC voltage measurement  You can use the eight  TTL compatible digital I O lines for switching external devices such as  transistors and solid state relays  and for reading the status of external  digital logic  You can use the counter timers to synchronize events   generate pulses  and measure frequency and time  The PC 516 and  DAQCard 516  used in conjunction with your computer  are versatile   cost effective platforms for laboratory test  measurement  and control        National Instruments Corporation 1 1 PC 516 DAQCard 516 User Manual    Chapter 1 Introduction      DAQCard 516    The DAQCard 516 is a low cost  low power analog input  digital  I O  and timing I O card for computers equipped with a Type II  PCMCIA slot  The small size and weight of the DAQCard 516  coupled with its low power consumption make this card ideal for  use in po
63. pect to your 516 device  In  these cases  the instrumentation amplifier can reject any voltage due to  ground potential differences between the signal source and the 516  device  In addition  with differential input connections  the  instrumentation amplifier can reject common mode noise pickup in the  leads connecting the signal sources to the 516 device     The common mode input range of the 516 device instrumentation  amplifier is defined as the magnitude of the greatest common mode  signal that can be rejected  The 516 device can reject common mode  input signals so long as V     and V    are both in the range  4 9 V     The common mode input range for the 516 device depends on the size  of the differential input signal  Vaifr   V  in   V  in   The formula for  the permissible common mode input range is as follows     V      4 9 V   Vif  2     cm max  Thus  for a differential voltage as large as 8 V  the largest  common mode voltage that can be rejected is  0 9 V  However  if the  differential signal is 2 5 V   3 65 V common mode voltage can be  rejected     The common mode voltage is measured with respect to the 516 device  ground and can be calculated by the following formula     Vv  Vta   Win   2    cm actual        PC 516 DAQCard 516 User Manual 3 12    National Instruments Corporation    Chapter 3 Signal Connections    where V     is the signal at the positive input of the instrumentation  amplifier and V     is the signal at the negative input of the  instrumentatio
64. r computer documentation whether any of the power connections  are tied to the building power system ground     Input Configurations   To measure the different types of input signals  you can configure your  516 device for one of two input modes    DIFF or RSE   by changing the  configuration of the onboard instrumentation amplifier  Table 3 1  summarizes the recommended input configurations for both types of       National Instruments Corporation 3 5 PC 516 DAQCard 516 User Manual    Chapter 3 Signal Connections    signal sources  Figure 3 2 shows a diagram of the instrumentation  amplifier     Table 3 1  Recommended Input Configurations for Ground Referenced and Floating Measurement Systems    System Type Type of Signal Recommended Input  Configurations    Ground referenced Ground referenced  system  such as a  nonisolated outputs  plug in instruments   desktop computer    Floating DIFF with bias resistors   batteries  thermocouples  isolated outputs  RSE    Floating system  such as   Ground referenced DIFF with bias resistors  a battery powered  nonisolated outputs  plug in instruments  RSE  computer  Floating DIFF with bias resistors   batteries  thermocouples  isolated outputs  RSE    Instrumentation  Amplifier    Vin Measured  Voltage    Vin    Vins  gt  Vin    Gain       Figure 3 2  Onboard Instrumentation Amplifier    The instrumentation amplifier applies common mode voltage rejection  and presents a high input impedance to the analog input signals  connected to the 5
65. ramming described in the register level programmer  manual  Refer to Software Programming Choices in Chapter 1   Introduction  of this manual to learn more about your programming  options     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 E  Customer Communication  at the end of this manual     PC 516 DAQCard 516 User Manual xii    National Instruments Corporation       Introduction       This chapter describes the PC 516 and DAQCard 516  lists the optional  software and optional equipment  and explains how to unpack your 516  device     About Your PC 516 and DAQCard 516    Thank you for purchasing the National Instruments PC 516 or  DAQCard 516  Each 516 device contains a 16 bit  successive   approximation ADC with eight single ended or four differential analog  inputs  four lines of TTL compatible digital input  and four lines of  digital output  Each 516 device also contains two 16 bit counter timer  channels for timing I O  The optional 27 pin I O connector enables you  to easily connect all your signals directly to the 516 device  Each 516  device is fully software configurable and calibrated so that you can  easily install the 516 device and begin y
66. rence in ground potential between two instruments connected  to the same building power system is typically between 1 and 100 mV  but can be much higher if power distribution circuits are not properly  connected  The connection instructions described later in this chapter  for grounded signal sources are designed to eliminate this ground  potential difference from the measured signal     Floating Signal Sources    A floating signal source or measurement system is one that is not  connected in any way to the building ground system but rather has an  isolated ground reference point  Some examples of floating signal  sources are outputs of transformers  thermocouples  battery powered  devices  optical isolator outputs  and isolation amplifiers  A floating  measurement system will float to the level of the signals being  measured  The ground reference of a floating signal must be tied to the  analog input ground to establish a local or onboard reference for the  signal  Otherwise  the measured input signal varies or appears to float   An instrument that provides an isolated output falls into the floating  signal source category     Depending on the power connection  a portable computer can represent  either a floating or ground referenced measurement system  If a  portable computer is entirely battery powered  it is a floating system  If  it is operated from an AC DC wall adapter  it may or may not be ground  referenced  depending on the connection  You should determine from  you
67. rtable computers  making remote data acquisition  practical  The card requires very little power when operating and  has a standby mode that uses even less power  thus extending the  life of your computer batteries     Detailed specifications for the PC 516 and DAQCard 516 are in  Appendix A  Specifications     What You Need to Get Started    To set up and use your 516 device  you will need the following     Q One of the following 516 devices   PC 516  DAQCard 516    Q One of the following I O connectors with 0 5 or 1 m connector cable   PR27 30F  DAQCard 5 16   R30 30  PC 516     Q PC 516 DAQCard 516 User Manual    LJ One of the following software packages and documentation   NI DAQ for PC compatibles  NI DAQ for NEC PC 9800 Series  NI DAQ for Macintosh  LabVIEW for Windows  LabVIEW for Macintosh  LabWindows CVI for Windows    Q Your computer    PC 516 DAQCard 516 User Manual 1 2    National Instruments Corporation    Chapter 1 Introduction    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  or NI DAQ     LabVIEW and LabWindows CVI 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  
68. ruments Corporation A 3       3 counter timers  1 dedicated to  analog input   16 bits    TTL  gate and source pulled high  with 100 kQ resistors     0 01     PC 516 DAQCard 516 User Manual    Appendix A Specifications    Power Requirement                  PC 516   5 VDC CES D  se 80 mA max   12 ND   CES Minis 20 mA max    DAQCard 516   9 VDC CED   sn eais 60 mA in operational mode  20 mA in power down mode     7 Note  These power usage figures do not include the power used by external  devices that you have connected to the fused supply present on the 1 0  connector   Physical    PC 516  Dimensions                                   12 by 10 7 cm  4 25 by 4 3 in    VO CORRECLO NS ne 27 pin male    DAQCard 516  PC Card De auras  Type II  I O CONNECUOF ss sine 27 pin male  Environment  Operating temperature                            0   to 70   C  Storage temperature     55   to 150   C  Relative humidity                                   5  to 90  noncondensing    PC 516 DAQCard 516 User Manual A 4    National Instruments Corporation    Custom Cable Design        This appendix describes the pin connections on the PC 516 and  DAQCard 516  which you will need only if you are designing your own  cable       DAQCard 516            National Instruments Corporation    The recommended cable for the DAQCard 516 is the National  Instruments PR27 30F  This cable has a 27 pin male connector that  mates with the 27 pin female connector on the device  Figure B 1  shows the pin assignment 
69. signal  sources  3 5  input configurations  3 5 to 3 7  signal connection considerations  3 4  single ended connection  considerations  3 7 to 3 8  SE input  3 7  types of signal sources and  measurement systems  3 5  digital I O signal connections   3 13 to 3 14  I O connector pin assignments   figure   3 2  signal connection descriptions  table    3 3 to 3 4  timing connections  3 14 to 3 19  data acquisition counter and timing  connections  3 15  general purpose counter and timing  signal connections  3 15 to 3 19  single channel data acquisition  4 6  single ended connection considerations   3 7 to 3 8  signal source connection  figure   3 8  SE input  3 7       National Instruments Corporation    software programming choices  LabVIEW and LabWindows CVI  application software  1 3  NI DAQ driver software  1 3 to 1 4  register level programming  1 5  specifications  analog input  amplifier characteristics  A 2  dynamic characteristics  A 2  input characteristics  A 1  stability  A 2  transfer characteristics  A 1 to A 2  bus interface  A 3  digital I O  A 3  environment  A 4  physical  A 4  power requirements  A 4  timing I O  A 3  switchless mode  2 4    T    technical support  E 1 to E 2  theory of operation  analog input and data acquisition  circuitry  4 3 to 4 6  analog input circuitry  4 4 to 4 5  block diagram  4 4  data acquisition rates  4 6  data acquisition timing circuitry   4 5 to 4 6  multichannel  scanned  data  acquisition  4 6  single channel data acquisiti
70. sume that voltage levels on all the  channels included in the scan sequence are within range and are driven  by low impedance sources  Signal levels outside the ranges on the  channels included in the scan sequence adversely affect the input  settling time  Similarly  greater settling time may be required for  channels driven by high impedance signal sources     PC 516 DAQCard 516 User Manual 4 6    National Instruments Corporation    Chapter 4 Theory of Operation    Digital 1 0 Circuitry    Each 516 device has eight digital I O lines that are TTL compatible   Pins DIN lt 0  3 gt  of the I O connector are digital input lines  and pins  DOUT lt 0  3 gt  are digital output lines  These lines are monitored or  driven by the Digital Input Register or the Digital Output Register   respectively  Reading the Digital Input Register returns the current state  of DIN lt 0  3 gt  lines  Writing to the Digital Output Register drives the  new value onto the DOUT lt 0  3 gt  lines  Figure 4 4 shows a diagram of  this circuitry     Digital DIN  lt 0  3 gt     Input  Register    1 0 Connector    de DOUT lt 0  3 gt   Digital    Output  Register                      O  Q   lt   O  2  O  ie  2  a       Figure 4 4  Digital 1 0 Circuitry Block Diagram    Timing 1 0 Circuitry    Each 516 device uses an MSM82CS54 counter timer integrated circuit  for data acquisition timing and for general purpose timing I O  functions  Counters 1 and 2 of the MSM82CS54 are available for general  use  but counter 0
71. switch debounce circuit  which is required for proper operation  is not shown in  the figure for simplicity        Figure 3 6  Digital 1 0 Signal Connections    i  Note  Pin numbers in this figure refer only to the PR27 30F cable     Timing Connections    Pins 20 through 26 and pin 11 of the I O connector are for timing I O  signals  The 516 device uses an MSM82C54 counter timer integrated  circuit  Counters 1 and 2 are available at the I O connector  Counter 0  is dedicated for data acquisition timing  Pin 11 carries an external  signal  EXTCONV   that can be used for data acquisition timing in  place of counter 0 of the MSM82C54  This signal is explained in the  Data Acquisition Counter and Timing Connections section of this  chapter  Pin 20 carries the 1 MHz square wave oscillator signal  This  signal can be used as a timebase for the counter clock inputs  Pins 22  through 26 carry general purpose timing signals from the MSM82C54   These signals are explained under General Purpose Counter and  Timing Signal Connections later in this chapter     PC 516 DAQCard 516 User Manual 3 14    National Instruments Corporation    Chapter 3 Signal Connections    Data Acquisition Counter and Timing Connections    Counter 0 on the MSM82C54 counter timer is used as a sample interval  counter in timed A D conversions  In addition to counter 0  you can use  pin 11  EXTCONV   to externally time conversions  If you need to  program this chip directly  refer to the optional DAQCard 500 516 and
72. th to ground  for the bias currents of the instrumentation amplifier  If a return path is  not provided  the instrumentation amplifier bias currents charge up  stray capacitances  resulting in uncontrollable drift and possible  saturation in the amplifier  Typically  values from 10 to 100 kQ are  used     A resistor from each input to ground  as shown in Figure 3 5  provides  bias current return paths for an AC coupled input signal  This solution   although necessary for AC coupled signals  lowers the input impedance       National Instruments Corporation 3 11 PC 516 DAQCard 516 User Manual    Chapter 3 Signal Connections    of the analog input channel  In addition  the input offset current of the  instrumentation amplifier contributes a DC offset voltage at the input   The amplifier has a maximum input offset current of  0 75 nA and a  typical offset current drift of  1 5 pA   C     Multiplied by the 100 kQ resistor  this current contributes a maximum  offset voltage of 75 uV and a typical offset voltage drift of 150 nV   C  at the input  Thus  the offset is unlikely to be more than an LSB  so it  can usually be ignored     If the input signal is DC coupled  only the resistor connecting the  negative signal input to ground is needed  This connection does not  lower the input impedance of the analog input channel     Common Mode Signal Rejection Considerations    Figures 3 4 and 3 5 show connections for signal sources that are already  referenced to some ground point with res
73. trates and assigns resources through software  freeing you  from manually setting switches and jumpers  These resources include  the device base I O address  The PC 516 is configured at the factory to  request these resources from the Plug and Play Configuration Manager     The Configuration Manager receives all of the resource requests at start  up  compares the available resources to those requested  and assigns the  available resources as efficiently as possible to the Plug and Play  devices  Application software can query the Configuration Manager to  determine the resources assigned to each device without your    PC 516 DAQCard 516 User Manual 2 4    National Instruments Corporation    Chapter 2 Installation and Configuration    involvement  The Plug and Play software is installed as a device driver  or as an integral component of the computer BIOS     If you have the Windows 95 operating system on your PC  it will  configure your PC 516  Refer to your NI DAQ documentation for more  information     Switchless Mode    You can use the PC 516 in a non Plug and Play system as a switchless  DAQ device  A non Plug and Play system is a system in which the  Configuration Manager has not been installed and which does not  contain any non National Instruments Plug and Play products  You use  a configuration utility to enter the base address  and the application  software assigns it to the device     7 7 Note  Avoid resource conflicts with non National Instruments devices  For  exa
74. ut lines  DIN3 is the MSB  DINO is the  LSB           Digital Output Data Lines   These signals are TTL   compatible digital output lines  DOUT3 is the MSB  DOUTO  is the LSB                1 MHz Square Wave Output of Oscillator   This signal is a  1 MHz square wave for use with the internal counter or for  external timing needs          Digital Ground   This is the common ground tie in point for  all digital signals                 Clock Input of Counter 1   This signal is the clock input of  counter 1               Output of Counter 1   This signal outputs the programmed  waveform of counter 1              Gate Input of Counter 2   This signal controls the starting   interruption  and restarting of counter 2                  Clock Input of Counter 2   This signal is the clock input of  counter 2                  Chapter 3 Signal Connections    26 OUT2 DGND Output of Counter 2   This signal outputs the programmed  waveform of counter 2    28 30  NC Not Connected   These signals are not connected   Not  available on the CB 27     I   Note  An asterisk     indicates that the signal is active low                           The connector pins are grouped into analog input signal pins  digital  I O signal pins  and timing I O signal pins  Signal connection guidelines  for each of these groups are included in this chapter     Analog Input Signal Connections    Pins 1 through 9 are analog input signal pins for the ADC  Pin 1   AIGND  is an analog common signal  You can use this pin 
75. vices at     United States   512  794 5422 or  800  327 3077  Up to 14 400 baud  8 data bits  1 stop bit  no parity    United Kingdom  01635 551422  Up to 9 600 baud  8 data bits  1 stop bit  no parity    France  1 48 65 15 59  Up to 9 600 baud  8 data bits  1 stop bit  no parity    FTP Support    To access our FTP site  log on to our Internet host  ftp natinst com as anonymous and use  your Internet address  such as joesmith anywhere com  as your password  The support files  and documents are located in the  support directories        National Instruments Corporation E 1 PC 516 DAQCard 516 User Manual    FaxBack Support    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    512  418 1111    E Mail Support  currently U S  only     You can submit technical support questions to the appropriate applications engineering team  through e mail at the Internet addresses listed below  Remember to include your name  address   and phone number so we can contact you with solutions and suggestions     GPIB  gpib support natinst com  DAQ  daq support natinst com  VXI  vxi support natinst com    LabWindows  1w support natinst com    Fax and Telephone Support    National Instruments has branch offices all over the world  Use the list below to find the technical  support number for your country  If there is no National Instruments office i
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
Shogun Club RGB-120  取扱説明書  LM318A  NEC Projector Image Express Utility 2 for Mac OS User`s Guide    SpeedTouch™530v5/v6  YAWL - Technical Manual  Livret jeu 6-10 ans  Fujitsu LIFEBOOK T935  D3000 Series User Manual    Copyright © All rights reserved. 
   Failed to retrieve file