Home
DIO 6533 User Manual - National Instruments
Contents
1. 4 7 Board and RTSI Clocks 4 8 RTSI Triggers 4 8 Data Signal Connections 4 9 Unstrobed I O 4 10 Strobed I O 4 12 Table of Contents National Instruments Corporation vii DIO 6533 User Manual Timing Connections 4 13 Pull Up and Pull Down Connections 4 13 Power Connections 4 14 Field Wiring and Termination 4 14 Chapter 5 Signal Timing Pattern Generation Timing 5 1 Request Timing 5 2 Internal Requests
2. 5 2 External Requests 5 2 Trigger Timing 5 3 Handshake Timing 5 4 8255 Emulation 5 4 Input 5 5 Output 5 6 8255 Emulation Mode Timing Specifications 5 8 Other Asynchronous Modes 5 9 Level ACK Mode 5 9 Input 5 9 Output 5 10 Level ACK Mode Timing Specifications 5 11 Leading Edge Mode 5 14 Input 5 14 Output
3. 5 14 Leading Edge Mode Timing Specifications 5 16 Long Pulse Mode 5 19 Long Pulse Mode Timing Specifications 5 20 Trailing Edge Mode 5 23 Input 5 23 Output 5 23 Trailing Edge Mode Timing Specifications 5 25 Burst Mode 5 27 Burst Mode Timing Specifications 5 28 Table of Contents DIO 6533 User Manual viii National Instruments Corporation Appendix A Specifications Appendix B Optional Adapter Description Appendix C Customer Communication Glossary Index Figures Figure 1 1 The Relationship Between the Programming Environment NI DAQ and Your Hardware 1 6 Figure 2 1 DAQCard 6533 Completed Installation 2 4 Figure 3 1 PCI DIO 32HS PXI 6533 Block Diagram 3 2 Figure 3 2 AT DIO 32HS Block
4. 3 9 Leading Edge Pulse 3 9 Long Pulse 3 9 Trailing Edge Pulse 3 9 Burst Mode 3 10 Comparing Protocols 3 10 Starting a Handshaking Transfer 3 12 Controlling the Startup Sequence 3 12 Controlling Line Polarities 3 13 Transfer Rates 3 13 Chapter 4 Signal Connections I O Connector 4 1 Signal Descriptions 4 3 Signal Characteristics 4 6 Control Signal Summary 4 7 RTSI Bus Interface
5. 2 5 Bus Interface 2 5 Plug and Play Mode 2 5 Switchless Data Acquisition 2 5 Base I O Address Selection 2 6 DMA Channel Selection 2 6 Interrupt Channel Selection 2 6 Chapter 3 Hardware Overview Unstrobed I O 3 4 Strobed I O Pattern Generation and Handshaking 3 5 Pattern and Change Detection 3 6 Pattern Detection Triggers 3 6 Change Detection 3 7 Message Generation 3 8 Handshaking Protocols 3 8 8255 Emulation 3 9 Level ACK
6. 1 4 NI DAQ Driver Software 1 5 Register Level Programming 1 6 Optional Equipment 1 7 Unpacking 1 8 Chapter 2 Installation and Configuration Software Installation 2 1 Hardware Installation 2 1 Installing the PCI DIO 32HS 2 1 Installing the PXI 6533 2 2 Installing the AT DIO 32HS 2 3 Installing the DAQCard 6533 2 3 PCI PXI and DAQCard Device Configuration 2 4 Table of Contents DIO 6533 User Manual vi National Instruments Corporation AT Device Configuration
7. 5 24 Figure 5 21 Trailing Edge Mode Output 5 25 Figure 5 22 Trailing Edge Mode Input Timing 5 26 Figure 5 23 Trailing Edge Mode Output Timing 5 27 Figure 5 24 Input Burst Mode Transfer Example 5 28 Figure 5 25 Output Burst Mode Transfer Example 5 29 Figure 5 26 Burst Mode Output Timing Default 5 30 Figure 5 27 Burst Mode Input Timing Default 5 31 Figure 5 28 Burst Mode Output Timing PCLK Reversed 5 32 Figure 5 29 Burst Mode Input Timing PCLK Reversed 5 33 Figure B 1 68 to 50 Pin Adapter Pin Assignments B 2 Table Table 1 1 Pins Used by the PXI 6533 Device 1 3 Table 2 1 PC AT I O Address Map 2 6 Table 2 2 PC AT Interrupt Assignment Map 2 8 Table 2 3 PC AT 16 Bit DMA Channel Assignment Map 2 9
8. Parameter Description Minimum Maximum Input Parameters trr REQ pulse width 75 tr r REQ inactive duration 75 ta r ACK inactive to next REQ inactive 0 Output Parameters taa ACK pulse width 2251 2752 tr do 1 REQ inactive to new output data with REQ edge latching 0 50 tr do 2 REQ inactive to new output data with REQ edge latching disabled 0 tdoa Output data valid to ACK with REQ edge latching disabled 25 1 taa min 225 programmable delay All timing values are in nanoseconds 2 taa max 275 programmable delay REQ ACK Output Data REQ edge latching Output Data REQ edge latching disabled tr r tr do 1 tdoa taa ta r trr tr do 2 Chapter 5 Signal Timing DIO 6533 User Manual 5 28 National Instruments Corporation deasserting the ACK or REQ signal respectively Every clock cycle in which both the ACK and REQ signals are high transfers one data point The 6533 device can either drive an output clock signal onto the PCLK line or receive an input clock signal from the PCLK line By default the PCLK line is an input during output transfers and an output during input transfers In the default configuration because the clock direction is the opposite of the data direction any delay associated with the cable between the 6533 device and the peripheral device increases the data hold time available although decreasing the data
9. 10 ns Min 20 ns Min tp 30 ns Max thw 20 ns Min tlw 20 ns Min tc 50 ns Min Chapter 5 Signal Timing DIO 6533 User Manual 5 4 National Instruments Corporation respectively Using only a start trigger you can do posttrigger data acquisition A stop trigger enables you to do pretrigger data acquisition or combined pretrigger and posttrigger data acquisition After detecting the stop trigger the 6533 device begins counting the post stop trigger portion of the data acquisition Figure 5 4 shows trigger pulse timing where tw is pulse width Figure 5 4 Trigger Input Signal Timing Instead of a pulse on the I O connector you can also use digital pattern detection as a trigger to start or stop an input operation See Chapter 3 Hardware Overview for more information about pattern detection Handshake Timing This section describes the 6533 device two way handshaking modes and the timing specifications of each mode In handshaking the ACK signal always conveys information about when the 6533 device is ready for a transfer The REQ signal conveys information about when the peripheral device is ready for a transfer Note Depending on the protocol and the direction of the transfer either an ACK or a REQ signal can occur first in the handshaking sequence 8255 Emulation The 8255 emulation mode handshakes in a manner compatible with an 8255 or 82C55 Programmable Peripheral Interface PPI The 8255 and 82
10. Start and stop trigger detection and digital pattern detection 24 mA outputs Hysteresis and diode based line termination on all inputs With 6533 devices you can use your computer or chassis as a digital I O tester logic analyzer or system controller for laboratory testing production testing and industrial process monitoring and control For detailed 6533 device specifications see Appendix A Specifications Using PXI with CompactPCI Using PXI compatible products with standard CompactPCI products is an important feature provided by the PXI Specification rev 1 0 If you use a PXI compatible plug in device in a standard CompactPCI chassis you will be unable to use PXI specific functions but you can still use the basic plug in device functions For example the RTSI bus on your PXI 6533 device is available in a PXI chassis but not in a CompactPCI chassis The CompactPCI specification permits vendors to develop sub buses that coexist with the basic PCI interface on the CompactPCI bus Compatible operation is not guaranteed between CompactPCI devices with different sub buses nor between CompactPCI devices with sub buses and PXI The standard implementation for CompactPCI does not include these sub buses Your PXI 6533 device will work in any standard CompactPCI chassis adhering to the PICMG CompactPCI 2 0 R2 1 document Chapter 1 Introduction National Instruments Corporation 1 3 DIO 6533 User Manual PXI spec
11. Table 3 1 6533 Handshaking Protocols 3 11 Table 4 1 Signal Descriptions 4 3 Table 4 2 Control Signal Summary 4 7 National Instruments Corporation xi DIO 6533 User Manual About This Manual This manual describes the electrical and mechanical aspects of the DIO 6533 formerly called DIO 32HS family of devices and contains information concerning their operation and programming Unless otherwise noted text applies to all devices in the DIO 6533 family The devices named DIO 32HS and 6533 are the same in functionality their primary difference is the bus interface The DIO 6533 family includes the following devices PCI DIO 32HS PXI 6533 AT DIO 32HS DAQCard 6533 Organization of This Manual The DIO 6533 User Manual is organized as follows Chapter 1 Introduction describes the DIO 6533 DIO 32HS devices lists what you need to get started describes optional equipment and explains how to unpack your device Chapter 2 Installation and Configuration explains how to install and configure your DIO 6533 device Chapter 3 Hardware Overview provides an overview of the hardware functions of your DIO 6533 device Chapter 4 Signal Connections describes how to ma
12. The AT DIO 32HS is a completely switchless jumperless DAQ device for AT 16 bit ISA buses The AT DIO 32HS implements the Plug and Play ISA Specification so that your operating system can configure all DMA channels interrupts and base I O addresses You can easily change device configurations without removing the device from your computer The AT DIO 32HS offers dual DMA with channel switching for uninterrupted high speed data transfer The DAQCard 6533 is a general purpose digital I O card for computers equipped with Type II PCMCIA slots The small size and weight of the DAQCard 6533 coupled with low power consumption make this card ideal for use in portable computers making remote digital data acquisition practical The card requires very little operating power and has a standby mode that uses even less power thus extending the life of your computer batteries Chapter 1 Introduction DIO 6533 User Manual 1 2 National Instruments Corporation Each 6533 device contains the National Instruments DAQ DIO chip providing two independent channels of digital input and output pattern generation and handshaking Each channel offers the following functions Selectable data path width 8 16 or 32 bits 16 sample deep FIFO buffer 16 bit and 32 bit counters for timebase and interval generation with a maximum timing resolution of 50 ns A handshaking controller implementing six flexible timing protocols
13. data transfer For buffered operations therefore use the second startup method controlling the line polarities Chapter 3 Hardware Overview National Instruments Corporation 3 13 DIO 6533 User Manual Controlling Line Polarities If you cannot control the initialization order of the 6533 device and peripheral device you can still start a transfer reliably if you select the polarities of the ACK and REQ lines so that the power up undriven states of the control lines are the inactive states By default the power up undriven state of the REQ and ACK lines is low due to the onboard 2 2 k pull down resistors Therefore you should either select a protocol with active high REQ and ACK signals or use the CPULL bias selection line or your own pull up resistors to change the power up undriven control line state to high See Chapter 4 Signal Connections for information on using the CPULL line to control the 6533 device pull up and pull down resistors Transfer Rates The maximum average transfer rate that the 6533 device can achieve for two way handshaking applications is the lower of the following two rates The peak handshaking rate from Table 3 1 which can be lowered by the handshaking speed of your peripheral device The average available bus bandwidth based on your computer system the number of other devices generating bus cycles and your application software The maximum sustainable transfer rate the 6533
14. default Chapter 2 Installation and Configuration National Instruments Corporation 2 7 DIO 6533 User Manual 240 to 25F AT DIO 32F default 260 to 27F Lab PC PC default 278 to 28F AT Parallel Printer Port 2 LPT2 279 Reserved for Plug and Play operation 280 to 29F WD EtherCard default 2A0 to 2BF 2E2 to 2F7 2F8 to 2FF PC AT Serial Port 2 COM2 300 to 30F 3Com EtherLink default 310 to 31F 320 to 32F IBM PC XT Fixed Disk Controller 330 to 35F 360 to 363 PC Network low address 364 to 367 Reserved 368 to 36B PC Network high address 36C to 36F Reserved 370 to 366 PC AT Parallel Printer Port 1 LPT1 380 to 38C SDLC Communications 380 to 389 Bisynchronous BSC Communications alternate 390 to 393 Cluster Adapter 0 394 to 39F 3A0 to 3A9 BSC Communications primary 3AA to 3AF 3B0 to 3BF Monochrome Display Parallel Printer Adapter 0 Table 2 1 PC AT I O Address Map Continued I O Address Range Hex Device Chapter 2 Installation and Configuration DIO 6533 User Manual 2 8 National Instruments Corporation Table 2 2 shows the PC AT interrupt assignments 3C0 to 3CF Enhanced Graphics Adapter VGA 3D0 to 3DF Color Graphics Monitor Adapter VGA 3E0 to 3EF 3F0 to 3F7 Diskette Controller 3F8 to 3FF Serial Port 1 COM1 A79 Reserved for Plug and Play operation Table 2 2 PC AT Interru
15. or unlatched digital I O update the output equivalent of a scan One or more analog or digital output samples Typically the number of output samples in an update is equal to the number of channels in the output group For example one pulse from the update clock produces one update which sends one new sample to every analog output channel in the group V V volts Vcc the voltage of the power supply from the computer approximately 5 V VDC volts direct current VIH volts input high VIL volts input low Vin volts in VOH volts output high VOL volts output low Vref reference voltage W wire data path between nodes wired OR a type of output driver that provides sink current but little or no source current and is typically used with a pull up resistor to provide source current If you connect two or more wired OR outputs together any one Glossary National Instruments Corporation G 11 DIO 6533 User Manual of the output drivers can drive the resulting connection low Also called an open collector or open drain driver word the standard number of bits that a processor or memory manipulates at one time Microprocessors typically use 8 16 or 32 bit words working voltage the highest voltage that should be applied to a product in normal use normally well under the breakdown voltage for safety margin National Instruments Corporation I 1 DIO 6533 User Manual Index Numbers 5 V si
16. to denote the amount of memory required to store one byte of data base address a memory address that serves as the starting address for programmable registers All other addresses are located by adding to the base address bus the group of conductors that interconnect individual circuitry in a computer Typically a bus is the expansion vehicle to which I O or other devices are connected Examples of PC buses are the AT EISA and PCI bus C C Celsius clock hardware component that controls timing for reading from or writing to groups CMOS complementary metal oxide semiconductor CPU central processing unit CPULL control pullup pulldown selection Glossary National Instruments Corporation G 3 DIO 6533 User Manual crosstalk an unwanted signal on one channel due to an input on a different channel current drive capability the amount of current a digital or analog output channel is capable of sourcing or sinking while still operating within voltage range specifications current sinking the ability of a DAQ board to dissipate current for analog or digital output signals current sourcing the ability of a DAQ board to supply current for analog or digital output signals D DAQ data acquisition 1 collecting and measuring electrical signals from sensors transducers and test probes or fixtures and inputting them to a computer for processing 2 collecting and measuring the same kinds of electrical signals
17. you can configure each individual pin for input standard output or wired OR output Figure 4 3 shows DIOA lt 0 3 gt configured for input DIOA lt 4 7 gt configured for standard output and DIOB lt 0 3 gt configured for wired OR output Unstrobed input applications include sensing external device states such as the state of the switch shown in the figure and receiving low speed TTL signals Unstrobed output applications include driving external controls and indicators such as the LED shown in Figure 4 3 and sending low speed TTL signals Chapter 4 Signal Connections National Instruments Corporation 4 11 DIO 6533 User Manual Figure 4 3 Example of Data Signal Connections LED 5 V TTL Signal 5 V DIOA lt 4 7 gt DIOB lt 0 3 gt DIOA lt 0 3 gt GND Switch I O Connector GND 5 V Switch DPULL 5 V Open Collector TTL 6533 Device Chapter 4 Signal Connections DIO 6533 User Manual 4 12 National Instruments Corporation For unstrobed operations you have a choice of two types of output drivers standard and wired OR A standard driver drives its output pin to approximately 0 V for logic low or 5 V for logic high A standard driver has several advantages It does not rely on pull up resistors It is independent of the state of the DPULL line It has high current drive for both its logic high and logic low states It can drive high speed transitions
18. 1997 Part Number 321464B 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 ____________
19. 3 6 to 3 8 starting handshaking transfer 3 12 to 3 13 transfer rates 3 13 to 3 14 achieving highest possible rates 3 13 to 3 14 maximum 3 13 I I O connector 4 1 to 4 9 control signal summary 4 7 exceeding maximum ratings note 4 1 pin assignments table 4 2 RTSI bus interface 4 7 to 4 9 signal characteristics 4 6 signal descriptions table 4 3 to 4 5 initial state of signals 4 6 installation AT DIO 32HS 2 3 DAQCard 6533 2 3 to 2 4 PCI DIO 32HS 2 1 to 2 2 PXI 6533 2 2 to 2 3 software 2 1 unpacking the DIO 6533 1 8 interrupt channel selection 2 6 to 2 9 PC AT 16 bit DMA channel assignment map table 2 9 PC AT I O address map table 2 6 to 2 8 PC AT interrupt assignment map table 2 8 to 2 9 L leading edge mode 5 14 to 5 18 input 5 14 5 15 output 5 14 5 16 purpose and use 3 9 timing specifications input timing figure 5 17 output timing figure 5 18 level ACK mode 5 9 to 5 13 input 5 9 5 10 output 5 10 to 5 11 DIO 6533 User Manual I 4 National Instruments Corporation purpose and use 3 9 timing specifications 5 11 to 5 13 input timing figure 5 12 output timing figure 5 13 line polarities controlling 3 13 long pulse mode 5 19 to 5 22 input figure 5 19 output figure 5 20 purpose and use 3 9 timing specifications input timing figure 5 21 output timing figure 5 22 M manual See documentation message generation 3 8 N National Instrum
20. DMA channels of other boards ______________________________________________________ Interrupt level of other boards _______________________________________________________ Other Products Computer make and model _________________________________________________________ Microprocessor ___________________________________________________________________ Clock frequency or speed ___________________________________________________________ Type of video board installed ________________________________________________________ Operating system version ___________________________________________________________ Operating system mode ____________________________________________________________ Programming language ____________________________________________________________ Programming language version ______________________________________________________ Other boards in system _____________________________________________________________ Base I O address of other boards _____________________________________________________ DMA channels of other boards ______________________________________________________ Interrupt level of other boards _______________________________________________________ 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 DIO 6533 User Manual Edition Date July
21. Diagram 3 3 Figure 3 3 DAQCard 6533 Block Diagram 3 4 Figure 3 4 Pattern Detection Example 3 7 Figure 4 1 6533 Device I O Connector Pin Assignments 4 2 Figure 4 2 RTSI Bus Signal Connection 4 9 Figure 4 3 Example of Data Signal Connections 4 11 Figure 4 4 Transmission Line Terminations 4 16 Figure 5 1 Pattern Generation Timing 5 1 Figure 5 2 Internal Request Timing 5 2 Figure 5 3 External Request Timing 5 3 Figure 5 4 Trigger Input Signal Timing 5 4 Figure 5 5 8255 Emulation Mode Input 5 6 Figure 5 6 8255 Emulation Mode Output 5 7 Figure 5 7 8255 Emulation Timing 5
22. OR1 Hysteresis 500 mV 1 As of NI DAQ 5 1 LabVIEW does not support wired OR outputs Appendix A Specifications DIO 6533 User Manual A 2 National Instruments Corporation Digital logic levels Level Min Max Input low voltage 0 V 0 8 V Input high voltage 2 V 5 V Input low current for data lines Vin 0 4 V DPULL high DPULL low 70 A 10 A Input high current for data lines Vin 2 4 V DPULL high DPULL low 10 A 40 A Input low current for control lines Vin 0 4 V CPULL high CPULL low 2 5 mA 200 A Input high current for control lines Vin 2 4 V CPULL high CPULL low 200 A 1 4 mA Input low current for CPULL DPULL Vin 0 4 V 4 A Input high current for CPULL DPULL Vin 2 4 V 140 A Appendix A Specifications National Instruments Corporation A 3 DIO 6533 User Manual Absolute max input voltage range 0 3 to 5 V Power on state for outputs Tri stated pulled up or down selectable Data transfers Programmed I O DMA Strobed I O Pattern Generation Direction Input or output Modes Internally or externally timed Output low voltage IOL 24 mA 0 4 V Output high v
23. 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 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 services at United States 512 794 5422 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 01 48 65 15 59 Up to 9 600 baud 8 data bits 1 stop bit no parity 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 Bulletin Board Support FTP Support Fax on Demand is a 24 hour information retrieval system containing a library of documents on a wide range of technical information You can access Fax on Demand from a touch tone telephone at 512
24. computer runs programs interacts with users and communicates with installed hardware or peripheral devices optical isolation the technique of using an optoelectric transmitter and receiver to transfer data without electrical continuity to eliminate high potential differences and transients P pattern generation a type of strobed digital I O in which timing signals pass either to or from the digital device but not in both directions Typically the timing signals occur at a constant rate resulting in constant rate digital data acquisition or waveform generation PCI Peripheral Component Interconnect a high performance expansion bus architecture originally developed by Intel to replace ISA and EISA It is achieving widespread acceptance as a standard for PCs and work stations it offers a theoretical maximum transfer rate of 132 Mbytes s PCLK peripheral clock signal Glossary DIO 6533 User Manual G 8 National Instruments Corporation PCMCIA an expansion bus architecture that has found widespread acceptance as a de facto standard in notebook size computers It originated as a specification for add on memory cards written by the Personal Computer Memory Card International Association peripheral device an external device that a board controls monitors tests or communicates with Plug and Play devices devices that do not require dip switches or jumpers to configure resources on the devices Plug and Play ISA a s
25. in both the high to low and low to high directions A wired OR output driver drives its output pin to 0 V for logic low but floats tri states the pin for logic high Therefore a wired OR output driver requires a pull up resistor to pull the pin to 5 V for logic high To provide a pull up resistor you can connect the DPULL pin on the I O connector to the 5 V pin making the 6533 device 100 k pull down resistors into 100 k pull up resistors A wired OR driver has the following advantages over a standard driver You can connect two or more wired OR outputs together without damaging the drivers You can connect wired OR outputs to open collector drivers to GND signals or to switches connecting to GND signals without damaging the drivers You can use wired OR outputs bidirectionally For example after connecting wired OR outputs together you can read back the value of one of the pins to determine whether any of the connected outputs is logic low Note As of NI DAQ 5 1 LabVIEW does not support wired OR outputs Strobed I O Strobed operations such as pattern generation and handshaking use the same data signal connections as unstrobed operations with the following exceptions You can configure data signals only on a port by port basis rather than on a pin by pin basis To configure data ports you must assign them to handshaking groups Strobed output operations use only standard rather than
26. signal to the REQ line this signal is an external request The 6533 devices can also generate their own REQ pulses or internal requests Each group has a 32 bit counter to regulate the period between transfers In pattern generation you can also supply start and stop triggers to begin and end an operation You can select either a rising edge or a falling edge as a trigger signal You can also trigger when the 6533 device detects a specified digital pattern on its data lines Chapter 3 Hardware Overview DIO 6533 User Manual 3 6 National Instruments Corporation A variant of pattern generation is change detection In change detection the 6533 device generates an internal request only when the input data changes This feature allows you to monitor activity on the input lines efficiently without capturing multiple copies of the same input pattern See the Pattern and Change Detection section for more information In full or two way handshaking transfer control information passes both to and from the peripheral device The 6533 device and the peripheral device each provides the other with strobe signals as data becomes available or is acquired By withholding strobe signals either the 6533 device or the peripheral device can slow down the transfer if necessary Because of this capability and because fixed rates are not critical you can run full handshaking operations at the highest possible speeds Pattern and Change Detection
27. transmission line terminations figure 4 16 triggers RTSI triggers 4 8 specifications RTSI triggers A 7 start and stop triggers A 7 two way handshaking transfer See handshaking transfer U unpacking the DIO 6533 1 8 unstrobed I O 4 10 to 4 12
28. 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 ____________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________
29. wired OR output drivers Chapter 4 Signal Connections National Instruments Corporation 4 13 DIO 6533 User Manual Strobed applications include digital data acquisition digital waveform generation and data transmission to or from an external device Timing Connections Timing connections include the REQ ACK STARTTRIG and STOPTRIG pins for pattern generation and the REQ ACK and PCLK pins for two way handshaking operation The 6533 device provides two handshaking groups each with its own timing connections To perform pattern generation or handshaking you must first associate a set of data pins with a group Do this by assigning data ports to handshaking groups Chapter 5 Signal Timing details the connection and timing of each pattern generation and handshaking control signal Pull Up and Pull Down Connections The CPULL and DPULL lines enable you to select the biasing of the control and data signals If you drive the CPULL pin low connect the CPULL pin to a GND pin or leave the CPULL line disconnected the 6533 device pulls all its control lines down to 0 V with 2 2 k resistors If you drive the CPULL pin high or connect the CPULL pin to the 5 V pin the 6533 device pulls all its control lines to 5 V with the same 2 2 k resistors Similarly if you drive the DPULL pin low connect the DPULL pin to a GND pin or leave the DPULL line disconnected the 6533 device pulls all its data lines down to 0 V with
30. with A D and or DIO boards plugged into a computer and possibly generating control signals with D A and or DIO boards in the same computer DC direct current device a plug in data acquisition board card or pad that can contain multiple channels and conversion devices Plug in boards PCMCIA cards and devices such as the DAQPad 1200 which connects to your computer parallel port are all examples of DAQ devices SCXI modules are distinct from devices with the exception of the SCXI 1200 which is a hybrid digital input group a collection of digital input ports You can associate each group with its own clock rates handshaking modes buffer configurations and so on A port cannot belong to more than one group digital output group a collection of digital output ports You can associate each group with its own clock rates handshaking modes buffer configurations and so forth A port cannot belong to more than one group digital trigger a TTL level signal having two discrete levels a high and a low level that starts or stops an operation DIO digital input output Glossary DIO 6533 User Manual G 4 National Instruments Corporation DLL dynamic link library a software module in Microsoft Windows containing executable code and data that can be called or used by Windows applications or other DLLs Functions and data in a DLL are loaded and linked at run time when they are referenced by a Windows application or other
31. with a Triton I chip set The DAQCard 6533 rates do tend to increase as the speed of the computer increases The DAQCard 6533 75 MHz Pentium rates were measured using a 75 MHz Pentium computer with the Triton I 430FX chip set The DAQCard 6533 133 MHz Pentium rates were measured using a 133 MHz Pentium computer with the Natoma 430HX chip set The DAQCard 6533 266 MHz Pentium II rates were measured using a 266 MHz Pentium II computer with the Natoma 440FX chip set Appendix A Specifications National Instruments Corporation A 7 DIO 6533 User Manual DAQCard 6533 Pattern and Change Detection Pattern detection triggers Start or stop on pattern Pattern detection resolution 60 ns or one REQ period depending on mode Change detection function Sample on change Change detection resolution 150 ns Triggers Start and Stop Triggers Compatibility TTL CMOS Trigger types Rising or falling edge or digital pattern Pulse width for edge triggers min 10 ns Pattern triggers detection capabilities Detect pattern match or mismatch on user selected bits RTSI Triggers PCI PXI AT Trigger lines 7 75 MHz Pentium 133 MHz Pentium 266 MHz Pentium II Rates in KB s kS s on Sample Systems 32 b
32. 100 k resistors If you drive the DPULL pin high or connect the DPULL pin to the 5 V pin the 6533 device pulls all its control lines to 5 V with the same 100 k resistors Do not connect CPULL DPULL or any other line directly to an external power supply while the 6533 device is powered off The 6533 device drivers power up and reset to high impedance states Therefore the CPULL and DPULL lines control whether you get high or low control and data lines respectively when you power up the 6533 device or reset its drivers Chapter 4 Signal Connections DIO 6533 User Manual 4 14 National Instruments Corporation You should connect DPULL to 5 V when using any wired OR output drivers In other cases you can use the CPULL and DPULL lines to select a power up state that is inactive in your application For example if you are using active low handshaking signals you can connect the CPULL line to 5 V to place the handshaking lines in the high inactive state at power up Power Connections The 5 V pin on the I O connector supplies power from the computer power supply through a self resetting fuse The fuse resets automatically within a few seconds after removal of an overcurrent condition The power pin is referenced to the GND pins and can supply power to external digital circuitry PCI DIO 32HS PXI 6533 and AT DIO 32HS Power rating 4 65 to 5 25 VDC at 1 A DAQCard 6533 Power rating 4 65 t
33. 4 Fax on Demand Support E Mail Support currently U S only 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 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
34. 418 1111 You can submit technical support questions to the applications engineering team through e mail at the Internet address listed below Remember to include your name address and phone number so we can contact you with solutions and suggestions support natinst com Telephone and Fax 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 in your country contact the source from which you purchased your software to obtain support Telephone Fax Australia 03 9879 5166 03 9879 6277 Austria 0662 45 79 90 0 0662 45 79 90 19 Belgium 02 757 00 20 02 757 03 11 Canada Ontario 905 785 0085 905 785 0086 Canada Quebec 514 694 8521 514 694 4399 Denmark 45 76 26 00 45 76 26 02 Finland 09 725 725 11 09 725 725 55 France 01 48 14 24 24 01 48 14 24 14 Germany 089 741 31 30 089 714 60 35 Hong Kong 2645 3186 2686 8505 Israel 03 5734815 03 5734816 Italy 02 413091 02 41309215 Japan 03 5472 2970 03 5472 2977 Korea 02 596 7456 02 596 7455 Mexico 5 520 2635 5 520 3282 Netherlands 0348 433466 0348 430673 Norway 32 84 84 00 32 84 86 00 Singapore 2265886 2265887 Spain 91 640 0085 91 640 0533 Sweden 08 730 49 70 08 730 43 70 Switzerland 056 200 51 51 056 200 51 55 Taiwan 02 377 1200 02 737 4644 United States 512 795 8248 512 794 5678 United Kingdom 01635 523545 01635 52315
35. 6533 User Manual Chapter3 Hardware Overview This chapter provides an overview of the hardware functions of your DIO 6533 device Each 6533 device contains the National Instruments DAQ DIO chip a 32 bit general purpose digital I O interface The DAQ DIO chip enables the 6533 device to perform single line and single point input and output digital data acquisition digital waveform generation and high speed data transfer using a wide range of handshaking protocols Figures 3 1 3 2 and 3 3 show the block diagrams for the 6533 devices Chapter 3 Hardware Overview DIO 6533 User Manual 3 2 National Instruments Corporation Figure 3 1 PCI DIO 32HS PXI 6533 Block Diagram DAQ DIO Counters and Timers DMA Interrupt Requests Handshaking and Control Data Latches and Drivers Data Lines Data Lines 32 32 MITE PCI Interface PCI I O Channel EEPROM 20 MHz RTSI RTSI PXI Trigger Bus Oscillator Interface Control Lines 8 I O Connector Clock Selection Internal FIFOs Bus Interface Request Processing Chapter 3 Hardware Overview National Instruments Corporation 3 3 DIO 6533 User Manual Figure 3 2 AT DIO 32HS Block Diagram DAQ DIO Counters and Timers DMA Interrupt Requests Handshaking and Control Data Latches and Drivers Data Lines Data Lines 32 16 AT Plug and Play Interface AT I O Channel EEPROM 20 MHz RTSI RTSI Bus Osci
36. 8 Figure 5 8 Level ACK Mode Input 5 10 Figure 5 9 Level ACK Mode Output 5 11 Figure 5 10 Level ACK Mode Input Timing 5 12 Table of Contents National Instruments Corporation ix DIO 6533 User Manual Figure 5 11 Level ACK Mode Output Timing 5 13 Figure 5 12 Leading Edge Mode Input 5 15 Figure 5 13 Leading Edge Mode Output 5 16 Figure 5 14 Leading Edge Mode Input Timing 5 17 Figure 5 15 Leading Edge Mode Output Timing 5 18 Figure 5 16 Long Pulse Mode Input 5 19 Figure 5 17 Long Pulse Mode Output 5 20 Figure 5 18 Long Pulse Mode Input Timing 5 21 Figure 5 19 Long Pulse Mode Output Timing 5 22 Figure 5 20 Trailing Edge Mode Input
37. C55 PPIs are digital I O chips used on many digital DAQ devices such as the National Instruments PC DIO 24 and PC DIO 96 PnP Rising Edge Polarity Falling Edge Polarity t w t w 10 ns minimum Chapter 5 Signal Timing National Instruments Corporation 5 5 DIO 6533 User Manual 6533 device emulation mode is a superset of the 8255 and 82C55 protocols The PCI DIO 32HS can handshake with peripheral devices that use 8255 or 82C55 handshaking specifications The 6533 device can perform back to back transfers much faster than a true 8255 based device If your peripheral device requires more time between transfers you can configure the 6533 device to add a data settling delay between transfers You can use a 6533 device in emulation mode with 8 16 or 32 bit data paths Input Note 6533 device terminology differs from 8255 terminology In input mode the 6533 device REQ line carries the 8255 STB input signal and the 6533 device ACK line carries the 8255 IBF output signal Both lines are active low Chapter 5 Signal Timing DIO 6533 User Manual 5 6 National Instruments Corporation In input mode the 6533 device asserts the ACK signal low when ready to accept data The peripheral device can then strobe data into the 6533 device by pulsing the REQ line low The falling REQ signal edge causes the ACK signal to deassert and the rising REQ signal edge causes the 6533 device to latch input data Afterward the 6533 de
38. Corporation 5 13 DIO 6533 User Manual Figure 5 11 Level ACK Mode Output Timing Parameter Description Minimum Maximum Input Parameters trr REQ pulse width 75 tr r REQ inactive duration 75 tar ACK to next REQ 0 Output Parameters taa ACK pulse width 225 tra REQ to ACK inactive 100 200 tr do REQ inactive to new output data with REQ edge latching 0 50 trdo REQ to new output data with REQ edge latching disabled 0 tdoa Output data valid to ACK with REQ edge latching disabled 251 1 tdoa min 25 programmable delay All timing values are in nanoseconds REQ ACK Output Data REQ edge latching Output Data REQ edge latching disabled tr r tr do tra tdoa tar taa trr trdo Chapter 5 Signal Timing DIO 6533 User Manual 5 14 National Instruments Corporation Leading Edge Mode In leading edge mode the 6533 device and the peripheral device send each other pulses on the ACK and REQ lines The leading edge of the ACK or REQ pulse indicates that the 6533 device or peripheral device is ready for a transfer Input In input mode the 6533 device sends an ACK pulse when ready to receive data The ACK pulse width is fixed assuming the peripheral device has deasserted the REQ signal Otherwise the ACK signal remains asserted until the REQ signal deasserts After receiving at least the leading edge of the ACK pulse the peripheral dev
39. DIO 6533 User Manual High Speed Digital I O Boards for PCI PXI CompactPCI AT EISA or PCMCIA Bus Systems July 1997 Edition Part Number 321464B 01 Copyright 1997 National Instruments Corporation All rights reserved support natinst com E mail info natinst com FTP Site ftp natinst com Web Address http www natinst com BBS United States 512 794 5422 BBS United Kingdom 01635 551422 BBS France 01 48 65 15 59 512 418 1111 Tel 512 795 8248 Fax 512 794 5678 Australia 03 9879 5166 Austria 0662 45 79 90 0 Belgium 02 757 00 20 Canada Ontario 905 785 0085 Canada Qu bec 514 694 8521 Denmark 45 76 26 00 Finland 09 725 725 11 France 01 48 14 24 24 Germany 089 741 31 30 Hong Kong 2645 3186 Israel 03 5734815 Italy 02 413091 Japan 03 5472 2970 Korea 02 596 7456 Mexico 5 520 2635 Netherlands 0348 433466 Norway 32 84 84 00 Singapore 2265886 Spain 91 640 0085 Sweden 08 730 49 70 Switzerland 056 200 51 51 Taiwan 02 377 1200 United Kingdom 01635 523545 National Instruments Corporate Headquarters 6504 Bridge Point Parkway Austin TX 78730 5039 Tel 512 794 0100 Internet Support Bulletin Board Support Fax on Demand Support Telephone Support U S International Offices Important Information Warranty The PCI DIO 32HS PXI 6533 AT DIO 32HS and DAQCard 6533 devices are warranted against defects in materials and workmanship for a period of one year from the date of shipmen
40. DLLs DMA direct memory access a method by which data can be transferred to from computer memory from to a device or memory on the bus while the processor does something else DMA is the fastest method of transferring data to from computer memory DPULL data pullup pulldown selection drivers software that controls a specific hardware device such as a DAQ board E EEPROM electrically erasable programmable read only memory ROM that can be erased with an electrical signal and reprogrammed EISA extended industry standard architecture event the condition or state of an analog or digital signal external trigger a voltage pulse from an external source that triggers an event such as A D conversion F FIFO first in first out memory buffer the first data stored is the first data sent to the acceptor FIFOs are often used on DAQ devices to temporarily store incoming or outgoing data until that data can be retrieved or output For example an analog input FIFO stores the results of A D conversions until the data can be retrieved into system memory a process that requires the servicing of interrupts and often the programming of the DMA controller This process can take several milliseconds in some cases During this time data accumulates in the FIFO for future retrieval With a larger FIFO longer latencies can be tolerated In the case of analog output a FIFO permits faster update rates because the waveform data can be stored o
41. I J2 connector Before installing a PXI 6533 in a CompactPCI system that uses J2 connector lines for purposes other than PXI see Using PXI with CompactPCI in Chapter 1 Introduction of this manual 1 Turn off and unplug your PXI or CompactPCI chassis 2 Choose an unused PXI or CompactPCI 5 V peripheral slot For maximum performance install the PXI 6533 in a slot that supports bus arbitration or bus master cards The PXI 6533 contains onboard bus master DMA logic that can operate only in such a slot If you choose a slot that does not support bus masters you will have to disable the onboard DMA controller using your software PXI compliant chassis must have bus arbitration for all slots 3 Remove the filler panel for the peripheral slot you have chosen 4 Touch a metal part on your chassis to discharge any static electricity that might be on your clothes or body 5 Insert the PXI 6533 in the selected 5 V slot Use the injector ejector handle to fully inject the device into place 6 Screw the front panel of the PXI 6533 to the front panel mounting rails of the PXI or CompactPCI chassis Chapter 2 Installation and Configuration National Instruments Corporation 2 3 DIO 6533 User Manual 7 Visually verify the installation 8 Plug in and turn on the PXI or CompactPCI chassis Installing the AT DIO 32HS You can install an AT DIO 32HS in any available AT 16 bit ISA or EISA expansion slot in your computer 1 Turn o
42. IO 32HS PXI 6533 AT DIO 32HS and DAQCard 6533 devices unless otherwise noted italic Italic text denotes emphasis a cross reference or an introduction to a key concept SCXI SCXI stands for Signal Conditioning eXtensions for Instrumentation and is a National Instruments product line designed to perform front end signal conditioning for National Instruments plug in DAQ boards The Glossary lists abbreviations acronyms definitions metric prefixes mnemonics symbols and terms National Instruments Documentation The DIO 6533 User Manual is one piece of the documentation set for your DAQ system You could have any of several types of documents depending on the hardware and software in your system Use the documentation you have as follows About This Manual National Instruments Corporation xiii DIO 6533 User Manual Getting Started with SCXI If you are using SCXI this is the first manual you should read It gives an overview of the SCXI system and contains the most commonly needed information for the modules chassis and software Your SCXI hardware user manuals If you are using SCXI read these manuals next for detailed information about signal connections and module configuration They also explain in greater detail how the module works and contain application hints Your DAQ hardware documentation This documentation has detailed information about the DAQ hardware that plugs into or is connec
43. PC based system is the video monitor As much as possible separate the monitor from any unshielded signal wiring For 6533 device output signals it is important to terminate your cable properly to reduce or eliminate signal reflections in the cable You can use many different methods for terminating transmission lines A good method for the 6533 device is to connect one fast Schottky diode from 5 V to each signal line and another from the signal line to ground The 5 V and ground connections should be low impedance connections For example if you make your 5 V connection through a long wire back to the 5 V pin of the 6533 device add a capacitor to your termination circuit to stabilize the 5 V connection near the Schottky diodes One suitable Shottky diode is the 1N5711 available from several manufacturers For more specialized use you may be able to find diodes packaged in higher densities appropriate to your application For example the Central Semiconductor CMPSH 35 contains two diodes suitable for terminating one line The California Micro Devices PDN001 contains 32 diodes suitable for terminating 16 lines You do not need to terminate the 6533 device input signals The 6533 device contains onboard Schottky diode termination Figure 4 4 shows the recommended transmission line terminations Chapter 4 Signal Connections DIO 6533 User Manual 4 16 National Instruments Corporation Figure 4 4 Transmission Line Terminat
44. Q edge Chapter 5 Signal Timing National Instruments Corporation 5 21 DIO 6533 User Manual Figure 5 18 Long Pulse Mode Input Timing Parameter Description Minimum Maximum Input Parameters trr REQ pulse width 75 tr r REQ inactive duration 75 tar ACK to next REQ 0 tdir 1 Input data setup to REQ active with REQ edge latching 0 trdi Input data hold from REQ active with REQ edge latching 10 tdir 2 Input data setup to REQ with REQ edge latching disabled 0 tadi Input data hold from ACK with REQ edge latching disabled 0 Output Parameters taa ACK pulse width 1251 tr a REQ inactive to ACK inactive 150 1 taa min 125 programmable delay All timing values are in nanoseconds REQ ACK Input Data REQ edge latching Input Data REQ edge latching disabled tr r tr a tdir 2 tadi tar taa trr trdi tdir 1 Chapter 5 Signal Timing DIO 6533 User Manual 5 22 National Instruments Corporation Figure 5 19 Long Pulse Mode Output Timing Parameter Description Minimum Maximum Input Parameters trr REQ pulse width 75 tr r REQ inactive duration 75 tar ACK to next REQ 0 Output Parameters taa ACK pulse width 1251 tr do REQ inactive to new output data with REQ edge latching 0 50 trdo REQ to new output data with REQ edge latching disabled 0 tdoa O
45. STOPTRIG lt 1 2 gt Control Group 1 and group 2 stop triggers You can use rising or falling edges on these lines to end pattern generation operations When not configuring the 6533 device for group operations you can use the STOPTRIG lt 1 2 gt lines as extra general purpose input lines IN lt 1 2 gt 5 6 PCLK lt 1 2 gt Control Group 1 and group 2 peripheral clock lines In handshaking mode if you select the burst protocol these lines carry clock signals to the peripheral during output operations or from the peripheral device during input operations When not configuring the 6533 device for group operations you can use the PCLK lt 1 2 gt lines as extra general purpose output lines OUT lt 1 2 gt 10 12 13 15 44 45 47 48 DIOA lt 0 7 gt Data Port A bidirectional data lines Port A is port number 0 DIOA7 is the MSB DIOA0 is the LSB When combined in a group with other ports port A is the least significant port 16 17 21 22 51 54 DIOB lt 0 7 gt Data Port B bidirectional data lines Port B is port number 1 DIOB7 is the MSB DIOB0 is the LSB 23 25 26 28 57 58 60 61 DIOC lt 0 7 gt Data Port C bidirectional data lines Port C is port number 2 DIOC7 is the MSB DIOC0 is the LSB 29 31 32 34 63 64 66 67 DIOD lt 0 7 gt Data Port D bidirectional data lines Port D is port number 3 DIOD7 is the MSB DIOD0 is the LSB When combined
46. You can configure the 6533 device to do several types of pattern and change detection These modes add additional monitoring capabilities to strobed input operation Pattern Detection Triggers You can configure the 6533 device to search for a particular pattern in the input data When the pattern occurs the 6533 device can Generate a start trigger to begin a digital data acquisition operation Generate a stop trigger to end a digital data acquisition operation To use a start or stop trigger you must configure the 6533 device for pattern generation mode See Chapter 5 Signal Timing for more information on start and stop triggers You can specify the following three parameters to the pattern detection circuit A mask declaring which data bits you wish to examine The pattern value you wish to search for Polarity whether to search for data that matches or that mismatches the specified pattern Chapter 3 Hardware Overview National Instruments Corporation 3 7 DIO 6533 User Manual Figure 3 4 shows a pattern detection example Figure 3 4 Pattern Detection Example The 6533 device provides the following two types of pattern detection timing Compare all data to the input pattern immediately without waiting for a request pulse typically used for start triggers Compare acquired data to the pattern after a request pulse strobes the data in typically used for stop triggers I
47. ________________ _______________________________________________________________________________ _______________________________________________________________________________ DIO 6533 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 DAQ hardware ___________________________________________________________________ Serial number of hardware __________________________________________________________ Interrupt level of hardware __________________________________________________________ DMA channels of hardware _________________________________________________________ Base I O address of hardware ________________________________________________________ Programming choice _______________________________________________________________ National Instruments software name and version ________________________________________ Other boards in system _____________________________________________________________ Base I O address of other boards _____________________________________________________
48. ______________________________________________________________ Company _______________________________________________________________________ Address ________________________________________________________________________ _______________________________________________________________________________ Phone ___ __________________________ Fax ___ _________________________________ Mail to Technical Publications Fax to Technical Publications National Instruments Corporation National Instruments Corporation 6504 Bridge Point Parkway 512 794 5678 Austin TX 78730 5039 National Instruments Corporation G 1 DIO 6533 User Manual Glossary Symbols degree negative of or minus ohm per percent plus or minus positive of or plus Prefix Meaning Value m milli 10 3 micro 10 6 n nano 10 9 k kilo 103 M mega 106 Glossary DIO 6533 User Manual G 2 National Instruments Corporation A A amperes AC alternating current ACK acknowledge signal address character code that identifies a specific location or series of locations in memory ANSI American National Standards Institute asynchronous hardware a property of an event that occurs at an arbitrary time without synchronization to a reference clock B b bit one binary digit either 0 or 1 B byte eight related bits of data an eight bit binary number Also used
49. amages resulting from any such signal connections Chapter 4 Signal Connections DIO 6533 User Manual 4 2 National Instruments Corporation Figure 4 1 6533 Device I O Connector Pin Assignments Note In Figure 4 1 the indicates that you can reverse the pin assignments of the ACK1 STARTTIG1 and REQ1 pins or the ACK2 STARTTIG2 and REQ2 pins with software This can be useful when performing two way ACK REQ handshaking between two 6533 devices over an SH68 68 D1 or similar cable because it allows you to connect one device s ACK pin to the 5 V REQ1 ACK1 STARTTRIG1 STOPTRIG1 PCLK1 PCLK2 STOPTRIG2 ACK2 STARTTRIG2 REQ2 DIOA0 GND DIOA3 DIOA4 GND DIOA7 DIOB0 DIOB1 GND RGND GND DIOB6 DIOB7 DIOC0 GND DIOC3 DIOC4 GND DIOC7 DIOD0 GND DIOD3 DIOD4 GND DIOD7 RGND GND DPULL CPULL GND GND RGND GND GND DIOA1 DIOA2 GND DIOA5 DIOA6 GND GND DIOB2 DIOB3 DIOB4 DIOB5 GND RGND DIOC1 DIOC2 GND DIOC5 DIOC6 GND DIOD1 DIOD2 GND DIOD5 DIOD6 GND 1 35 2 36 3 37 4 38 5 39 6 40 7 41 8 42 9 43 10 44 11 45 12 46 13 47 14 48 15 49 16 50 17 51 18 52 19 53 20 54 21 55 22 56 23 57 24 58 25 59 26 60 27 61 28 62 29 63 30 64 31 65 32 66 33 67 34 68 Chapter 4 Signal Connections National Instruments Corporation 4 3 DIO 6533 User Manual other device s REQ pin When
50. apter Description DIO 6533 User Manual B 2 National Instruments Corporation Figure B 1 68 to 50 Pin Adapter Pin Assignments DIOB4 DIOB0 DIOB7 DIOB5 DIOA7 DIOA1 DIOA0 DIOA4 REQ1 PCLK1 OUT1 STOPTRIG1 IN1 ACK1 GND GND GND GND GND DIOC6 DIOC2 DIOC3 DIOC5 DIOD2 DIOD6 DIOD3 DIOD1 DIOB1 DIOB6 DIOB2 DIOA3 DIOA2 DIOA6 GND DIOB3 DIOA5 GND GND GND GND REQ2 PCLK2 OUT2 STOPTRIG2 IN2 ACK2 DIOC4 DIOC0 DIOC1 DIOC7 DIOD5 DIOD7 DIOD0 DIOD4 49 50 47 48 45 46 43 44 41 42 39 40 37 38 35 36 33 34 31 32 29 30 27 28 25 26 23 24 21 22 19 20 17 18 15 16 13 14 11 12 9 10 7 8 5 6 3 4 1 2 National Instruments Corporation C 1 DIO 6533 User Manual AppendixC 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 fax on demand system
51. ational Instruments Corporation Figure 5 22 Trailing Edge Mode Input Timing Parameter Description Minimum Maximum Input Parameters trr REQ pulse width 75 tr r REQ inactive duration 75 tdir Input data setup to REQ inactive with REQ edge latching 0 tr di Input data hold from REQ inactive with REQ edge latching 10 tdir Input data setup to REQ with REQ edge latching disabled 0 tadi Input data hold from ACK with REQ edge latching disabled 0 Output Parameters taa ACK pulse width 2251 2752 ta r ACK inactive to next REQ inactive 0 1 taa min 225 programmable delay All timing values are in nanoseconds 2 taa max 275 programmable delay REQ ACK Input Data REQ edge latching Input Data REQ edge latching disabled tdir tr r tdir taa ta r trr tr di tadi tadi Chapter 5 Signal Timing National Instruments Corporation 5 27 DIO 6533 User Manual Figure 5 23 Trailing Edge Mode Output Timing Burst Mode Burst mode is a synchronous or clocked protocol The data transmitter and receiver share a clock signal over the PCLK line In every clock cycle the 6533 device asserts the ACK signal if it is ready to perform a transfer If the peripheral device also asserts the REQ signal a transfer occurs on the rising clock edge Either the 6533 device or the peripheral device can insert wait states into the protocol by
52. begin a new transfer until a false to true transition on the REQ line from the peripheral device occurs Leading Edge Pulse After each transfer the 6533 device sends a pulse on the ACK line to the peripheral device The 6533 device then waits for a false to true transition on the REQ line the start of a REQ pulse before starting a new transfer You can specify an ACK pulse delay Long Pulse Long pulse mode is the same as leading edge pulse mode except that you can specify a minimum pulse width instead of an ACK pulse delay Trailing Edge Pulse After each transfer the 6533 device sends a pulse on the ACK line to the peripheral device The 6533 device waits for a true to false transition on the REQ line the end of a REQ pulse before starting a new transfer Chapter 3 Hardware Overview DIO 6533 User Manual 3 10 National Instruments Corporation Burst Mode The 6533 device sends or receives a clock signal to or from the peripheral device over the PCLK line Every cycle the 6533 device asserts an ACK signal if ready for a transfer and the peripheral device likewise asserts a REQ signal if ready for a transfer Each cycle during which both the 6533 device and the peripheral device indicate that they are ready for a transfer one data point is latched Burst mode can transfer data at high rates particularly over short cables Comparing Protocols Table 3 1 shows similarities and differences among the 6533 device hand
53. ct a clocking configuration through software By default the 6533 device uses its own internal timebase without driving the RTSI bus clock line PXI 6533 The PXI 6533 uses PXI trigger line 7 as its RTSI clock line RTSI Triggers The seven trigger lines on the RTSI bus provide a very flexible interconnection scheme for any device sharing the RTSI or trigger bus Any 6533 device control signal can connect to a RTSI or trigger bus line You can drive output control signals onto the bus and receive input control signals from the bus Figure 4 2 shows the signal connection scheme Chapter 4 Signal Connections National Instruments Corporation 4 9 DIO 6533 User Manual Figure 4 2 RTSI Bus Signal Connection PXI 6533 RTSI trigger lines 0 through 6 correspond to PXI trigger bus lines 0 through 6 Data Signal Connections The digital data signals are DIOA lt 0 7 gt DIOB lt 0 7 gt DIOC lt 0 7 gt and DIOD lt 0 7 gt These data signals are referenced to the GND pins Ports DIOA DIOB DIOC and DIOD are port numbers 0 1 2 and 3 respectively RTSI Bus or PXI Connector Crossbar Switch Trigger 20 MHz Timebase REQ lt 1 2 gt ACK lt 1 2 gt STARTTRIG lt 1 2 gt PCLK lt 1 2 gt DAQ DIO STOPTRIG lt 1 2 gt Switch 7 2 2 2 2 Chapter 4 Signal Connections DIO 6533 User Manual 4 10 National Instruments Corporation Unstrobed I O For low speed unstrobed operation
54. d pattern generation a start trigger and a stop trigger A start trigger if used begins the pattern generation operation A stop trigger ends the operation However you can specify a number of data points to transfer after the stop trigger You can substitute a digital pattern for either the start or stop trigger In this case the operation begins or ends when the 6533 device detects a particular digital pattern on the data lines belonging to the group Figure 5 1 shows a pattern generation operation using request pulses a start trigger and a stop trigger Figure 5 1 Pattern Generation Timing REQ STOPTRIG ACK STARTTRIG Pretrigger Data Posttrigger Data Chapter 5 Signal Timing DIO 6533 User Manual 5 2 National Instruments Corporation Request Timing Internal Requests Figure 5 2 shows internal request timing You can select a timebase and an interval The request pulses low once per data transfer The duration of the low pulse is equal to one timebase The period of the request pulse is equal to the interval multiplied by the timebase in LabVIEW you specify an overall period and the software selects the interval and timebase Figure 5 2 Internal Request Timing External Requests Figure 5 3 shows external request timing The request signal must pulse low and return high The request pulse low and high durations must be at least 20 ns each The minimum period is 50 ns Parameter Description tc Cyc
55. device can achieve for pattern generation application is the minimum available bus bandwidth based on your computer system the number of other devices generating bus cycles and your application software this rate is always lower than the peak pattern generation rate To achieve the highest possible rates consider the following information Full two way handshaking is faster than pattern generation because two way handshaking uses the average rather than the minimum bus bandwidth Burst mode is the fastest handshaking protocol especially for short cables Your system bus should be as free as possible from unrelated activity Minimize the number of other I O cards active in the system Chapter 3 Hardware Overview DIO 6533 User Manual 3 14 National Instruments Corporation Direct memory access DMA transfers are faster than interrupt driven transfers especially for pattern generation By default the software uses DMA if available The PCI DIO 32HS always supports DMA transfers The PXI 6533 supports DMA if inserted into a peripheral slot that allows bus arbitration bus mastering When using a slot that does not allow bus arbitration use software to select interrupt driven transfers The AT DIO 32HS supports DMA if system DMA resources are available If a second DMA channel is available you can minimize channel reprogramming time by allocating two DMA channels to a single tran
56. e and your computer to create a stand alone instrument with the added benefit of the processing display and storage capabilities of your computer VirtualBench instruments load and save waveform data to disk in the same forms that can be used in popular spreadsheet programs and word processors Using LabVIEW LabWindows CVI ComponentWorks or VirtualBench software will greatly reduce the development time for your data acquisition and control application 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 timed D A conversion digital I O counter timer operations SCXI RTSI calibration messaging and acquiring data to extended memory 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 for 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 performance of Nationa
57. e National Instruments AT DIO 32F device Each of these modes offers the following options Polarity of the ACK and REQ signals The diagrams show active high signals A programmable delay from 0 to 700 ns programmable in increments of 100 ns You can use the programmable delay to reduce handshaking speed for slow peripheral devices A delay increases the duration of each transfer The location of the delay in the handshaking sequence differs from protocol to protocol In addition a delay increases the minimum spacing between consecutive transfers Request edge latching With request edge latching enabled in input mode the 6533 device latches data in from the I O connector on the REQ edge before reading the data In output mode after writing the data the 6533 device latches data out of the I O connector on the REQ edge Which edge of REQ is used rising or falling depends on the handshaking mode and the REQ polarity Level ACK Mode In level ACK mode the 6533 device asserts the ACK signal when ready for a transfer and holds the ACK signal level until an active going edge occurs on the REQ line After the REQ edge occurs the 6533 device deasserts the ACK signal until ready for another transfer Input In input mode the 6533 device asserts the ACK signal when ready to accept data The peripheral device can then strobe data into the 6533 device by asserting the REQ signal The active going REQ signal edge deasser
58. ents application software 1 4 to 1 5 NI DAQ driver software 1 5 to 1 6 noise minimizing 4 14 to 4 15 P pattern generation change detection 3 7 to 3 8 definition 3 6 message generation 3 8 overview 3 5 to 3 6 pattern detection triggers 3 6 to 3 7 example 3 7 specifying parameters to pattern detection circuit 3 6 to 3 7 pattern generation timing 5 1 to 5 4 example figure 5 1 overview 5 1 request timing 5 2 to 5 3 external requests 5 2 to 5 3 internal requests 5 2 trigger timing 5 3 to 5 4 PC AT devices See AT device configuration PCI DIO 32HS block diagram 3 2 configuration 2 4 installation 2 1 to 2 2 overview 1 1 PCLK lt 1 2 gt signal control signal summary table 4 7 description table 4 4 peripheral device 3 5 physical specifications A 8 pin assignments I O connector figure 4 2 optional adapter figure B 2 pins used by PXI 6533 device table 1 3 Plug and Play mode configuring 2 5 polarity of signals 4 6 power connections 4 14 power requirement specifications A 8 pull up and pull down connections 4 13 to 4 14 pull up pull down characteristics 4 6 pulses leading edge pulse 3 9 long pulse 3 9 trailing edge pulse 3 9 PXI 6533 block diagram 3 2 configuration 2 4 installation 2 2 to 2 3 overview 1 1 pins used by table 1 3 R register level programming 1 6 REQ lt 1 2 gt signal National Instruments Corporation I 5 DIO 6533 User Manual control signa
59. er Manual A 6 National Instruments Corporation Handshaking Direction Input or output Modes 6 burst level ACK leading edge pulse trailing edge pulse long pulse and 8255 emulation Transfer rate1 max PCI DIO 32HS up to 76 MB s 19 MS s at 32 bits up to 38 MB s 19 MS s at 16 bits up to 19 MB s 19 MS s at 8 bits PXI 6533 up to 64 MB s 16 MS s at 32 bits up to 34 MB s 17 MS s at 16 bits up to 19 MB s 19 MS s at 8 bits AT DIO 32HS up to 1 8 MB s 450 kS s at 32 bits up to 1 8 MB s 900 kS s at 16 bits up to 1 8 MB s 1 8 MS s at 8 bits 1 Handshaking rates depend on your computer software other bus activity and handshaking protocol The rates shown were measured using NI DAQ software and the burst mode handshaking protocol performing continuous waveform generation using 100 000 point or larger buffers with no other DAQ operations in progress The PCI DIO 32HS PXI 6533 and AT DIO 32HS handshaking rates are DMA based and do not necessarily increase as the speed of the computer increases The PCI DIO 32HS and AT DIO 32HS rates shown were measured on a sample 100 MHz Intel Pentium based computer with an Intel 430FX Triton I chip set The PXI 6533 rates were measured using a 133 MHz Pentium CompactPCI controller
60. ff and unplug your computer 2 Remove the top cover or access port to the expansion slots 3 Remove the expansion slot cover on the back panel of the computer 4 Touch the metal part inside your computer to discharge any static electricity that might be on your clothes or body 5 Insert the AT DIO 32HS into an AT 16 bit ISA or EISA slot It may be a tight fit but do not force the device into place 6 Screw the mounting bracket of the AT DIO 32HS to the back panel rail of the computer 7 Visually verify the installation 8 Replace the top cover of the computer 9 Plug in and turn on your computer Installing the DAQCard 6533 You can install your DAQCard 6533 in any available Type II PCMCIA slot in your computer See Figure 2 1 for the completed installation 1 Turn off your computer If your computer supports hot insertion you may insert or remove the DAQCard 6533 at any time whether the computer is powered on or off 2 Remove the PCMCIA slot cover on your computer if any 3 Insert the PCMCIA bus connector of the DAQCard 6533 into the PCMCIA slot The card is keyed so that you can insert it only one way 4 Attach the I O cable Be very careful not to put strain on the I O cable when inserting it into and removing it from the DAQCard 6533 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 6533 Chapter 2 Ins
61. ficant bits for changes After detecting a change however the 6533 device captures the values of all bits Change detection can increase CPU and bus efficiency for control applications You can monitor activity on input lines without continuously polling and without transferring unnecessary data during periods of inactivity After a change occurs the 6533 device takes from 50 to 150 ns to clock in the new data Therefore the resolution of change detection is 150 ns Repeatedly changing data is also subject to the usual pattern generation rate limits see the Transfer Rates section in this chapter for more information You can use change detection in conjunction with pattern detection Within a single group the change and pattern detection masks are the same input lines that are significant for pattern detection are also significant for change detection Message Generation Some software environments such as LabVIEW and LabWindows CVI support message generation Messages allow you to run a user specified routine when a particular data acquisition event occurs For example Generate a message upon acquisition of a specified input pattern Generate a message every time the 6533 device transfers a data point You can apply this option to change detection mode to generate a message every time the input data changes These message generation options can extend your pattern and change detection capabilities Some message gene
62. gnal connecting to GND RGND or output pin caution 4 14 description table 4 5 8255 emulation 5 4 to 5 7 input 5 5 to 5 6 output 5 6 to 5 7 purpose and use 3 9 timing specifications figure 5 8 A ACK lt 1 2 gt signal See also level ACK mode control signal summary table 4 7 description table 4 3 reversing pin assignments note 4 2 timing connections 4 13 adapter optional description B 1 pin assignments figure B 2 addresses base I O address selection 2 6 PC AT I O address map table 2 6 to 2 8 AT device configuration 2 5 to 2 9 base I O address selection 2 6 DMA channel selection 2 6 interrupt channel selection 2 6 to 2 9 Plug and Play mode 2 5 switchless data acquisition 2 5 AT DIO 32HS block diagram 3 3 installation 2 3 overview 1 1 B base I O address selection 2 6 bulletin board support C 1 burst mode 5 27 to 5 33 purpose and use 3 10 5 27 to 5 28 timing specifications 5 28 to 5 33 input mode transfer example figure 5 28 input timing default figure 5 31 PCLK reversed figure 5 33 output mode transfer example figure 5 29 output timing default figure 5 30 PCLK reversed figure 5 32 bus interface specifications A 8 C change detection definition 3 6 purpose and use 3 7 to 3 8 clocks board and RTSI 4 8 configuration AT devices 2 5 to 2 9 base I O address selection 2 6 DMA channel selection 2 6 DIO 6533 User Manual I 2 National Instr
63. h trh tah Chapter 5 Signal Timing National Instruments Corporation 5 31 DIO 6533 User Manual Figure 5 27 Burst Mode Input Timing Default Parameter Description Minimum Maximum Input Parameters trs Setup time from REQ valid to PCLK 12 trh Hold time from PCLK to REQ invalid 0 tdis Setup time from input data valid to PCLK 4 tdih Hold time from PCLK to input data invalid 6 Output Parameters tpc PCLK cycle time 50 7001 tpw PCLK high pulse duration tpc 2 5 tpc 2 5 tpa PCLK to ACK valid 18 tah Hold time from PCLK to ACK invalid 3 1 tpc programmable delay from 100 to 700 ns or 50 ns if programmable delay is 0 Timebase stability for the onboard 20 MHz clock source is 50 ppm All timing values are in nanoseconds PCLK ACK Data In REQ tdis tdih trs tpa tpw tpc trh tah Chapter 5 Signal Timing DIO 6533 User Manual 5 32 National Instruments Corporation Figure 5 28 Burst Mode Output Timing PCLK Reversed Parameter Description Minimum Maximum Input Parameters trs Setup time from REQ valid to PCLK 12 trh Hold time from PCLK to REQ invalid 0 Output Parameters tpc PCLK cycle time 50 7001 tpw PCLK high pulse duration tpc 2 5 tpc 2 5 tpa PCLK to ACK valid 18 tah Hold time from PCLK to ACK invalid 3 tpdo PCLK to output data valid 28 tdoh Hold time from PCLK to output data
64. he control and data lines are themselves biased low with 20 k pull down resistors The default bias of all lines therefore is pulled down Polarity Data signals Active high A 1 corresponds to a high voltage and a 0 corresponds to a low voltage Control signals Depending on the operating mode and handshaking protocol you select control signals can be active high or active low Chapter 4 Signal Connections National Instruments Corporation 4 7 DIO 6533 User Manual Control Signal Summary The direction and function of each group s signal timing and handshaking lines vary depending on the mode of operation you select for the group Table 4 2 shows the direction and function of each control signal in each mode RTSI Bus Interface The PCI DIO 32HS PXI 6533 and AT DIO 32HS each contains a RTSI bus interface The PCI DIO 32HS and AT DIO 32HS each contains a RTSI connector and an interface to the National Instruments RTSI bus The RTSI bus provides seven trigger lines and a system clock line All National Instruments AT and PCI boards that have RTSI bus connectors can be cabled together inside a computer to share these signals The PXI 6533 uses pins on the PXI J2 connector to connect the RTSI bus to the PXI trigger bus as defined in the PXI Specification rev 1 0 All National Instruments PXI boards that provide a connection to these pins can be connected together by software This feature is availab
65. hex The AT DIO 32HS occupies 16 bytes of address space and must be located on a 16 byte boundary Therefore valid addresses include 100 110 120 3D0 3E0 hex This selection is software configured and does not require you to manually change any settings on the device DMA Channel Selection The AT DIO 32HS can achieve high transfer rates by using up to two 16 bit DMA channels The AT DIO 32HS can use only 16 bit DMA channels which correspond to channels 5 6 and 7 in an AT 16 bit ISA computer and channels 0 1 2 3 5 6 and 7 in an EISA computer These selections are all software configured and do not require you to manually change any settings on the device Interrupt Channel Selection The AT DIO 32HS increases bus efficiency by using an interrupt channel for event notification The AT DIO 32HS can use interrupt channel 3 4 5 6 7 9 10 11 12 14 or 15 This selection is software configured and does not require you to manually change any settings on the device Tables 2 1 2 2 and 2 3 provide information concerning possible conflicts in base address DMA channel and interrupt channel assignment when configuring your AT DIO 32HS device Table 2 1 PC AT I O Address Map I O Address Range Hex Device 100 to 1EF 1F0 to 1F8 IBM PC AT Fixed Disk 200 to 20F PC and PC AT Game Controller reserved 210 to 213 PC DIO 24 default 218 to 21F 220 to 23F Previous generation of AT MIO boards
66. ice can strobe data into the 6533 device by asserting the REQ signal The 6533 device sends another ACK pulse when ready for another input To slow down the handshake you can specify a data settling delay to occur before the ACK signal Output In output mode the 6533 device sends an ACK pulse after driving output data to indicate new valid output data The ACK pulse width is fixed assuming the peripheral device has deasserted the REQ signal Otherwise the ACK signal remains until the peripheral device deasserts the REQ signal The peripheral device can latch the data on the falling or rising edge of the ACK signal or at any time before returning a REQ pulse The peripheral device must respond with an active going REQ signal edge to deassert the ACK signal and request additional data To slow down the handshake you can specify a data settling delay to occur before the ACK signal This delay increases the setup time from valid output data to the ACK signal Chapter 5 Signal Timing National Instruments Corporation 5 15 DIO 6533 User Manual Figure 5 12 shows an input transfer in leading edge mode Figure 5 12 Leading Edge Mode Input Wait For Space Wait For REQ Programmable Delay Programmable Delay Wait For REQ When REQ Asserted When 6533 Device Has Space For Data Input Data Clear ACK Pulse When REQ Unasserted Initial State ACK Cleared Send ACK Pulse With REQ edge latching enab
67. ific features are implemented on the J2 connector of the CompactPCI bus Table 1 1 lists the J2 pins used by your PXI 6533 device Your PXI device is compatible with any CompactPCI chassis with a sub bus that does not drive these lines Even if the sub bus is capable of driving these lines the PXI device is still compatible as long as those pins on the sub bus are disabled by default and not ever enabled Damage may result if these lines are driven by the sub bus What You Need to Get Started To set up and use your DIO 6533 device you will need the following K One of the following devices PCI DIO 32HS PXI 6533 AT DIO 32HS DAQCard 6533 K DIO 6533 User Manual Table 1 1 Pins Used by the PXI 6533 Device PXI 6533 Signal PXI Pin Name PXI J2 Pin Number RTSI Trigger 0 6 PXI Trigger 0 6 B16 A16 A17 A18 B18 C18 E18 Reserved PXI Star D17 RTSI Clock PXI Trigger 7 E16 Reserved LBR 7 8 10 11 12 A3 C3 E3 A2 B2 Chapter 1 Introduction DIO 6533 User Manual 1 4 National Instruments Corporation K One of the following software packages and documentation NI DAQ for PC compatibles LabVIEW for Windows LabWindows CVI ComponentWorks VirtualBench K Appropriate cable PSHR68 68M DAQCard 6533 only Shielded or ribbon cable for all devices K Your computer PXI or CompactPCI chassis and controller Software Programming Choices There are several options to choose fro
68. in a group with other ports port D is the most significant port Table 4 1 Signal Descriptions Continued Pins Signal Name Signal Type Description Chapter 4 Signal Connections National Instruments Corporation 4 5 DIO 6533 User Manual 40 CPULL Bias Selection Control pull up pull down selection This input signal selects whether the 6533 device pulls the timing and handshaking control lines REQ ACK PCLK and STOPTRIG up or down when undriven If you connect CPULL to 5 V the 6533 device pulls the control lines up If you connect CPULL to GND or leave CPULL unconnected the 6533 device pulls the control lines down 38 DPULL Bias Selection Data pull up pull down selection This input signal selects whether the 6533 device pulls the data lines DIOA DIOB DIOC and DIOD up or down when undriven If you connect DPULL to 5 V the 6533 device pulls the data lines up If you connect DPULL to GND or leave DPULL unconnected the 6533 device pulls the data lines down 1 5 V Power 5 Volts output This line provides a maximum of 1 A of power regulated by an onboard fuse that can automatically reset itself after current returns to normal 11 14 18 20 24 27 30 33 36 37 41 42 46 49 50 55 59 62 65 68 GND Power Ground These lines are the ground reference for all other signals 19 35 43 56 RGND Power Reserved ground These lines offer additional ground pins that
69. ine shock pulse 11 ms duration 30 g peak 30 shocks per face Operational random vibration 5 to 500 Hz 0 31 grms 3 axes Nonoperational random vibration 5 to 500 Hz 2 5 grms 3 axes Note Random vibration profiles were developed in accordance with MIL T 28800E and MIL STD 810E Method 514 Test levels exceed those recommended in MIL STD 810E for Category 1 Basic Transportation Figures 514 4 1 through 514 4 3 National Instruments Corporation B 1 DIO 6533 User Manual AppendixB Optional Adapter Description This appendix describes an optional 68 to 50 pin DIO 6533 device adapter The adapter changes the pinout of the 6533 device to match the pinout of an AT DIO 32F device The adapter enables you to use the 6533 device with cables signal conditioning modules and other accessories that require an AT DIO 32F pinout The adapter connects directly to a PCI DIO 32HS PXI 6533 or AT DIO 32HS device Using a PSHR68 68M shielded cable you can also connect the adapter to a DAQCard 6533 device The female side of the adapter connects directly to the PCI DIO 32HS PXI 6533 or AT DIO 32HS device or to the PSHR68 68M cable The male side of the adapter provides the pin assignments shown in Figure B 1 See Chapter 4 Signal Connections for a description of each signal The 50 pin adapter has no 5 V CPULL or DPULL pins and has fewer ground pins than the 68 pin 6533 device connector Appendix B Optional Ad
70. ing 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 National Instruments Corporation v DIO 6533 User Manual Table of Contents About This Manual Organization of This Manual xi Conventions Used in This Manual xii National Instruments Documentation xii Related Documentation xiii Customer Communication xiv Chapter 1 Introduction About the DIO 6533 Devices 1 1 Using PXI with CompactPCI 1 2 What You Need to Get Started 1 3 Software Programming Choices 1 4 National Instruments Application Software
71. invalid 4 1tpc programmable delay from 100 to 700 ns or 50 ns if programmable delay is 0 Timebase stability for the board 20 MHz clock source is 50 ppm All timing values are in nanoseconds PCLK ACK Data Out REQ trs tpa tpdo tpw tpc tdoh trh tah Chapter 5 Signal Timing National Instruments Corporation 5 33 DIO 6533 User Manual Figure 5 29 Burst Mode Input Timing PCLK Reversed Parameter Description Minimum Maximum Input Parameters tpc PCLK cycle time 50 tpw PCLK high pulse duration 20 tpl PCLK low pulse duration 20 trs Setup time from REQ valid to PCLK falling edge 1 trh Hold time from PCLK to REQ invalid 0 Output Parameters tpa PCLK to ACK valid 22 tah Hold time from PCLK to ACK invalid 3 All timing values are in nanoseconds PCLK ACK Data In REQ tdis tdih trs tpa tpw tpl tpc trh tah National Instruments Corporation A 1 DIO 6533 User Manual AppendixA Specifications This appendix lists the specifications for the DIO 6533 devices These specifications are typical at 25 C unless otherwise noted PCI DIO 32HS PXI 6533 AT DIO 32HS and DAQCard 6533 Devices Digital I O Number of channels 32 input output 4 dedicated output and control 4 dedicated input and status Compatibility TTL CMOS standard or wired
72. ions The following additional recommendations apply for all signal connections to your 6533 device Separate 6533 device signal lines from high current or high voltage lines These lines are capable of inducing currents in or voltages on the 6533 device signal lines if they run in parallel paths at a close distance To reduce the magnetic coupling between lines separate them by a reasonable distance if they run in parallel or run the lines at right angles to each other Do not run signal lines through conduits that also contain power lines Protect signal lines from magnetic fields caused by electric motors welding equipment breakers or transformers by running them through special metal conduits 5 V 5 V 5 V 6533 Device Peripheral Device National Instruments Corporation 5 1 DIO 6533 User Manual Chapter5 Signal Timing This chapter provides detailed timing specifications for DIO 6533 pattern generation and for the various full two way handshaking modes Pattern Generation Timing Pattern generation timing is similar for digital data acquisition input and digital waveform generation output Data transfers are timed by request pulses carried on the REQ pin The 6533 devices can generate request pulses internally or you can provide external pulses Each request pulse strobes a data point into or out of the 6533 device You can use up to two additional timing signals if you select triggere
73. it 80 20 420 105 740 185 16 bit 44 22 250 125 470 235 8 bit 22 22 125 125 235 235 Appendix A Specifications DIO 6533 User Manual A 8 National Instruments Corporation Bus Interfaces PCI DIO 32HS PXI 6533 type PCI master and target with onboard linking scatter gather DMA AT DIO 32HS type AT slave with dual DMA DAQCard 6533 type PCMCIA slave Power Requirement 5 VDC 5 with light output load 500 mA Power available at I O connector PCI DIO 32HS PXI 6533 and AT DIO 32HS 4 65 to 5 25 VDC at 1 A DAQCard 6533 4 65 to 5 25 VDC at 250 mA Physical Dimensions not including connectors 17 5 by 10 7 cm 6 9 by 4 2 in I O connector PCI DIO 32HS PXI 6533 and AT DIO 32HS 68 pin male SCSI II type DAQCard 6533 68 pin female PCMCIA connector Appendix A Specifications National Instruments Corporation A 9 DIO 6533 User Manual Environment Operating temperature 0 to 55 C Storage temperature 20 to 70 C Relative humidity 5 to 90 noncondensing Functional shock MIL T 28800 E Class 3 per Section 4 5 5 4 1 Half s
74. ke input and output signal connections to your DIO 6533 device via the device I O connector and RTSI connector Chapter 5 Signal Timing provides detailed timing specifications for DIO 6533 pattern generation and for the various full two way handshaking modes Appendix A Specifications lists the specifications for the DIO 6533 devices About This Manual DIO 6533 User Manual xii National Instruments Corporation Appendix B Optional Adapter Description describes the optional 68 to 50 pin DIO 6533 device adapter Appendix C Customer Communication contains forms you can use to request help from National Instruments or to comment on our products The Glossary contains an alphabetical list and descriptions of terms used in this manual including acronyms abbreviations definitions metric prefixes mnemonics and symbols The Index alphabetically lists topics covered in this manual including the page where you can find the topic Conventions Used in This Manual The following conventions are used in this manual lt gt Angle brackets containing numbers separated by an ellipsis represent a range of values associated with a bit or signal name for example DIOB lt 3 0 gt The symbol indicates that the text following it applies only to a specific DIO 6533 device bold italic Bold italic text denotes a note caution or warning 6533 device 6533 device refers to the PCI D
75. l Instruments DAQ devices because it lets multiple devices operate at their peak performance even simultaneously 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 so that you can change platforms with minimal modifications to your code Whether you are using conventional programming languages or NI DAQ software your application uses the NI DAQ driver software as illustrated in Figure 1 1 Chapter 1 Introduction DIO 6533 User Manual 1 6 National Instruments Corporation Figure 1 1 The Relationship Between the Programming Environment NI DAQ and Your Hardware You can use your 6533 device together with other AT 16 bit ISA PCI PC EISA DAQCard and DAQPad Series DAQ hardware with NI DAQ software for PC compatibles The PCI DIO 32HS or AT DIO 32HS requires version 5 0 or later The PXI 6533 or DAQCard 6533 requires version 5 1 or later 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 or National Instruments application software to program your National Instruments DAQ hardware Using Na
76. l summary table 4 7 description table 4 3 reversing pin assignments note 4 2 timing connections 4 13 requirements for getting started 1 4 RGND signal table 4 5 RTSI bus interface 4 7 to 4 9 board and RTSI clocks 4 8 RTSI triggers 4 8 signal connections figure 4 9 S Shottky diode 4 15 signal connections 4 1 to 4 16 data signal connections 4 9 to 4 13 strobed I O 4 12 to 4 13 unstrobed I O 4 10 to 4 12 field wiring and termination 4 14 to 4 16 I O connector 4 1 to 4 9 control signal summary 4 7 pin assignments table 4 2 RTSI bus interface 4 7 to 4 9 signal characteristics 4 6 signal descriptions table 4 3 to 4 5 power connections 4 14 pull up and pull down connections 4 13 to 4 14 timing connections 4 13 signal timing 5 1 to 5 33 handshake timing 5 4 to 5 33 8255 emulation 5 4 to 5 7 burst mode 5 27 to 5 33 leading edge mode 5 14 to 5 18 level ACK mode 5 9 to 5 14 long pulse mode 5 19 to 5 22 trailing edge mode 5 23 to 5 27 pattern generation timing 5 1 to 5 4 example figure 5 1 overview 5 1 request timing 5 2 to 5 3 trigger timing 5 3 to 5 4 software installation 2 1 software programming choices 1 4 to 1 6 National Instruments application software 1 4 to 1 5 NI DAQ driver software 1 5 to 1 6 register level programming 1 6 specifications bus interfaces A 8 digital I O A 1 to A 3 environment A 9 physical A 8 power requirement A 8 strobed I O A 3 to A 7 hand
77. le only when the PXI 6533 is used in a PXI compatible chassis It is not supported in CompactPCI chassis Table 4 2 Control Signal Summary Signal Name Direction in Handshaking Mode Function in Handshaking Mode Direction in Pattern Generation Function in Pattern Generation Function in Unstrobed Mode REQ lt 1 2 gt input request input or output request extra inputs IN lt 3 4 gt ACK lt 1 2 gt output acknowledge input start trigger START TRIG lt 1 2 gt extra outputs OUT lt 3 4 gt STOPTRIG lt 1 2 gt input stop trigger extra inputs IN lt 1 2 gt PCLK lt 1 2 gt input or output peripheral clock extra outputs OUT lt 1 2 gt Chapter 4 Signal Connections DIO 6533 User Manual 4 8 National Instruments Corporation Board and RTSI Clocks The 6533 device requires a frequency timebase to run the handshaking logic and to generate intervals for pattern generation The frequency timebase must be 20 MHz Either the 6533 device can use its internal 20 MHz clock source as the timebase or you can provide a timebase from another 20 MHz device over the RTSI bus When using its internal 20 MHz timebase the 6533 device can also drive its internal timebase onto the bus and to another device that uses a 20 MHz clock The 20 MHz timebase whether local or imported from the RTSI bus serves as the primary frequency source for the 6533 device You can sele
78. le time tlw Width of low pulse tp Propagation time to valid output data tsu Setup time th Hold time Data Output Mode Data Input Mode REQ th tsu 30 ns Min 0 ns Min tp 30 ns Max tlw Programmable One Timebase tc Programmable Interval x Timebase Chapter 5 Signal Timing National Instruments Corporation 5 3 DIO 6533 User Manual Figure 5 3 External Request Timing Trigger Timing Using pattern generation mode you can configure the 6533 device to accept both start and stop triggers The stop trigger is the primary trigger The 6533 device can transfer specified numbers of data both before and after a stop trigger If you do not enable a stop trigger the 6533 device stops automatically after transferring a number of data points equal to the size of your buffer The start trigger is a second trigger that begins a pattern generation operation If you do not enable a start trigger the operation starts immediately when you issue a software command to perform a transfer Triggers are available for both waveform generation output mode and data acquisition input mode Acquiring data that occurs before or after a trigger is known as pretrigger or posttrigger data acquisition Parameter Description tc Cycle time tlw Width of low pulse thw Width of high pulse tp Propagation time to valid output data tsu Setup time th Hold time Data Output Mode Data Input Mode REQ th tsu
79. led the data read is from the last active going REQ edge Chapter 5 Signal Timing DIO 6533 User Manual 5 16 National Instruments Corporation Figure 5 13 shows an output transfer in leading edge mode Figure 5 13 Leading Edge Mode Output Leading Edge Mode Timing Specifications Figures 5 14 and 5 15 show the timing diagrams for leading edge mode Wait For Data Wait For REQ Programmable Delay Programmable Delay Wait For REQ When REQ Asserted When 6533 Device Has Data to Output Output Data Clear ACK Pulse When REQ Unasserted Initial State ACK Cleared Send ACK Pulse With REQ edge latching enabled the data written is delayed until the next inactive going REQ edge Chapter 5 Signal Timing National Instruments Corporation 5 17 DIO 6533 User Manual Figure 5 14 Leading Edge Mode Input Timing Parameter Description Minimum Maximum Input Parameters trr REQ pulse width 75 tr r REQ inactive duration 75 tar ACK to next REQ 0 tdir 1 Input data setup to REQ active with REQ edge latching 0 trdi Input data hold from REQ active with REQ edge latching 10 tdir 2 Input data setup to REQ with REQ edge latching disabled 0 tadi Input data hold from ACK with REQ edge latching disabled 0 Output Parameters taa ACK pulse width 125 tr a REQ inactive to ACK inactive 150 All timing values are in nano
80. llator Interface Control Lines 8 I O Connector Clock Selection Internal FIFOs Bus Interface Request Processing Chapter 3 Hardware Overview DIO 6533 User Manual 3 4 National Instruments Corporation Figure 3 3 DAQCard 6533 Block Diagram Unstrobed I O The 6533 devices can perform unstrobed I O which is basic digital I O that employs no handshaking or hardware controlled timing You can write or read data directly to or from the four digital I O ports of the 6533 devices The I O ports contain eight lines each and are labeled A B C and D You can configure each line individually for either input or output When you perform only unstrobed I O the 6533 device does not require its handshaking control and status signals to carry timing information Therefore you can use the REQ and STOPTRIG lines as extra data inputs and the ACK and PCLK lines as extra data outputs DAQ DIO Counters and Timers DMA Interrupt Requests Handshaking and Control Data Latches and Drivers Data Lines Data Lines 32 16 PCMCIA Interface PCMCIA I O Channel 20 MHz Oscillator Control Lines 8 I O Connector Clock Selection Internal FIFOs Bus Interface Request Processing Chapter 3 Hardware Overview National Instruments Corporation 3 5 DIO 6533 User Manual Strobed I O Pattern Generation and Handshaking The 6533 devices can also perform strobed I O Strobed I O is data
81. m when programming your National Instruments DAQ hardware You can use LabVIEW LabWindows CVI ComponentWorks VirtualBench or NI DAQ National Instruments Application Software 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 and 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 National Instruments DAQ hardware is included with LabWindows CVI The LabWindows CVI Data Acquisition Library is functionally equivalent to the NI DAQ software ComponentWorks contains tools for data acquisition and instrument control built on NI DAQ driver software ComponentWorks provides a higher level programming interface for building virtual instruments through standard OLE controls and DLLs With ComponentWorks you can use all of the configuration tools resource management utilities and interactive control utilities included with NI DAQ Chapter 1 Introduction National Instruments Corporation 1 5 DIO 6533 User Manual VirtualBench features virtual instruments that combine DAQ products softwar
82. miss a lot of data You can use either of the following two startup methods Control the configuration and startup sequence Select compatible line polarities and default line levels Controlling the Startup Sequence One startup method is to follow a prescribed initialization order in which you can make sure the 6533 device is configured and is driving a valid ACK value before you enable the transfer on the peripheral device Similarly you can make sure the peripheral device is configured and is driving a valid REQ value before you enable the transfer on the 6533 device To use a prescribed initialization order perform the following steps 1 Configure the 6533 device for a protocol compatible with your peripheral device 2 Configure and reset the peripheral device if appropriate 3 Enable the input device 6533 device or peripheral device and begin a transfer 4 Enable the output device 6533 device or peripheral device and begin a transfer To control the startup order you must be able to enable and disable the peripheral device and you must control the order in which the 6533 device and the peripheral device are enabled The 6533 device extra input and output lines can be helpful for these purposes Controlling the startup sequence does not apply to buffered block operations In a buffered operation the NI DAQ software configures and enables the 6533 device at the same time when you start the actual
83. n immediate unstrobed pattern detection the 6533 device detects any occurrence of the pattern with or without a request strobe However the 6533 device filters out very short pattern matches to ensure that a transient data value that occurs during line switching does not falsely cause a match A glitch must be present for no more than 20 ns to guarantee rejection A valid pattern must be present for at least 60 ns to guarantee detection In strobed request based pattern detection data is checked as it is strobed in by request pulses Strobed pattern detection is typically used to generate triggers You can use strobed pattern detection to generate start triggers too but only when using an external request source See the Request Timing section in Chapter 5 Signal Timing for the timing of the request pulses that strobe in data Change Detection You can configure the 6533 device to search for transitions on one or more input lines Whenever a change occurs the 6533 device generates an internal request capturing the new input pattern X X X X X X 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 Postive Search for Match Value to Detect Pattern Mask Polarity Chapter 3 Hardware Overview DIO 6533 User Manual 3 8 National Instruments Corporation The pattern mask which selects the bits that are significant for pattern detection also applies to change detection The 6533 device monitors only the signi
84. n the FIFO ahead of time This again reduces the effect of latencies associated with getting the data from system memory to the DAQ device Glossary National Instruments Corporation G 5 DIO 6533 User Manual ft feet G glitch a brief unwanted change or disturbance in a signal level GND ground H h hour handshaked digital I O a type of strobed digital I O in which control signals pass both to and from the digital device timing and confirming each data transfer Also called full or two way handshaking to distinguish this type of transfer from pattern generation hardware the physical components of a computer system such as the circuit boards plug in boards chassis enclosures peripherals cables and so on hardware triggering a form of triggering where you set the start time of an acquisition and gather data at a known position in time relative to a trigger signal hex hexadecimal Hz hertz the number of scans read or updates written per second I IBM International Business Machines IC integrated circuit ID identification in inches interrupt a computer signal indicating that the CPU should suspend its current task to service a designated activity interrupt level the relative priority at which a device can interrupt Glossary DIO 6533 User Manual G 6 National Instruments Corporation I O input output the transfer of data to from a computer system involving communicati
85. nts 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 misuse or negligent acts and power failure or surges fire flood accident actions of third parties or other events ou
86. o 5 25 VDC at 250 mA You can connect the 5 V pin to the CPULL and DPULL pins to control the bias of the 6533 device control and data pins as described in the Pull Up and Pull Down Connections section in this chapter Caution Do not connect the 5 V power pin directly to the GND RGND or any output pin of the 6533 device or any voltage source or output pin on another device Doing so can damage the device and the computer National Instruments is NOT liable for damages resulting from such a connection Field Wiring and Termination Transmission line effects and environmental noise particularly on clock and control lines can lead to incorrect data transfers if you do not take proper care when running signal wires to and from the device Note Make sure your 6533 device and your peripheral device share a common ground reference Connect one or more 6533 device GND lines to the ground reference of your peripheral device Chapter 4 Signal Connections National Instruments Corporation 4 15 DIO 6533 User Manual Take the following precautions to ensure a uniform transmission line and minimize noise pickup Use twisted pair wires to connect digital I O signals to the device Twist each digital I O signal with a GND line Place a shield around the wires connecting digital I O signals to the device Route signals to the device carefully Keep cabling away from noise sources The most common noise source in a
87. oltage IOH 24 mA 2 4 V When configured as standard outputs Drivers configured as wired OR outputs are tri stated when logically high Level Min Max Appendix A Specifications DIO 6533 User Manual A 4 National Instruments Corporation Sample rate max sustainable System dependent1 Mode Triton I Chip Set Triton II Chip Set Natoma Chip Set PCI DIO 32HS Rates in MS s MB s on Sample Systems 32 bit input 2 8 11 2 4 16 4 16 16 bit input 4 8 5 10 6 67 13 33 8 bit input 6 67 6 67 10 10 10 10 32 bit output 1 4 2 8 3 33 13 33 16 bit output 1 2 2 5 5 3 33 6 67 8 bit output 2 2 5 5 6 67 6 67 PXI 6533 Rates in MS s MB s on Sample Systems 32 bit input 4 16 16 bit input 5 10 8 bit input 6 67 6 67 32 bit output 2 22 8 88 16 bit output 2 5 5 8 bit output 5 5 Appendix A Specifications National Instruments Corporation A 5 DIO 6533 User Manual Sample rate peak internally timed for small transfers 10 MS s Sample rate peak externally timed for small transfers 20 MS s Sample rate min internally timed 1 S 10 min Sample rate min externally timed No limit 1 Pattern generation rates depend on your computer software and other bus activity The rates shown were measured for 100 kS tran
88. ommunication 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 C Customer Communication at the end of this manual National Instruments Corporation 1 1 DIO 6533 User Manual Chapter1 Introduction This chapter describes the DIO 6533 DIO 32HS devices lists what you need to get started describes optional equipment and explains how to unpack your device About the DIO 6533 Devices Thank you for buying a National Instruments DIO 6533 device The 6533 devices are 32 bit parallel digital I O interfaces for PC compatible computers or PXI or CompactPCI chassis The 6533 devices offer digital data acquisition digital waveform generation and high speed flexible handshaking The PCI DIO 32HS and PXI 6533 are completely switchless jumperless DAQ devices for PCI buses and PXI or CompactPCI chassis respectively Both contain the National Instruments MITE PCI interface The MITE offers bus master operation PCI burst transfers and high speed DMA controllers for continuous scatter gather DMA without requiring DMA resources from your computer See the Using PXI with CompactPCI section in this chapter for more information on your PXI 6533 device
89. on Complementary Protocols 1 m 2 or 5 m Asynchronous Protocols 8255 Emulation 5 2 67 Active low Trailing Between transfers Leading Edge Pulse Level ACK 3 33 2 5 Programmable Leading Before ACK and between transfers Level ACK Leading Edge Pulse 3 33 2 5 Programmable Leading Before ACK and between transfers Leading Edge Pulse Long Pulse 3 33 2 5 Programmable Leading For pulse width and between transfers Long Pulse 8255 Emula tion PC DIO 24 PC DIO 96 PnP 8255 82C55 Trailing Edge Pulse 1 8 1 5 Programmable Trailing For pulse width and between transfers Trailing Edge Pulse Synchronous Protocol Burst 20 10 Programmable Neither level REQ For clock speed Burst Although asynchronous modes can adjust automatically to cable length for synchronous modes you must select an appropriate speed for your cable at configuration time Select a delay of at least the following 0 for a typical cable up to 1 m 1 100 ns for a typical cable up to 5 m and 2 200 ns for a typical cable up to 15 m long Chapter 3 Hardware Overview DIO 6533 User Manual 3 12 National Instruments Corporation Starting a Handshaking Transfer Starting a handshaking transfer correctly protects against incorrect or missed data when the ACK and REQ lines are changing polarity to active high or active low This is particularly important in burst mode because of the potential to
90. onal data To slow down the handshake you can specify a data settling delay to increase the ACK pulse width and therefore the setup time from valid output data to the trailing edge of the ACK signal Chapter 5 Signal Timing DIO 6533 User Manual 5 24 National Instruments Corporation Figure 5 20 shows an input transfer in trailing edge mode Figure 5 20 Trailing Edge Mode Input Wait For Space Wait For REQ Programmable Delay Programmable Delay Wait For REQ When REQ Unasserted When 6533 Device Has Space For Data Input Data Clear ACK When REQ Asserted Send ACK Initial State ACK Cleared With REQ edge latching enabled the data read is from the last inactive going REQ edge Chapter 5 Signal Timing National Instruments Corporation 5 25 DIO 6533 User Manual Figure 5 21 shows a write transfer in trailing edge mode Figure 5 21 Trailing Edge Mode Output Trailing Edge Mode Timing Specifications Figures 5 22 and 5 23 show the timing diagrams for trailing edge mode Wait For Data Wait For REQ Programmable Delay Programmable Delay Wait For REQ When REQ Unasserted When 6533 Device Has Data to Output Output Data Clear ACK When REQ Asserted Initial State ACK Cleared Send ACK With REQ edge latching enabled the data written is delayed until the next inactive going REQ edge Chapter 5 Signal Timing DIO 6533 User Manual 5 26 N
91. ons channels operator interface devices and or data acquisition and control interfaces IOH current output high IOL current output low IRQ interrupt request signal ISA industry standard architecture K kbytes s a unit for data transfer that means 1 000 or 103 bytes s kS 1 000 samples Kword 1 024 words of memory L LabVIEW laboratory virtual instrument engineering workbench latched digital I O See strobed digital I O LED light emitting diode LSB least significant bit M m meters max maximum MB megabytes of memory min minimum min minute MSB most significant bit Glossary National Instruments Corporation G 7 DIO 6533 User Manual mux multiplexer a switching device with multiple inputs that sequentially connects each of its inputs to its output typically at high speeds in order to measure several signals with a single analog input channel N NI DAQ NI driver software for DAQ hardware noise an undesirable electrical signal Noise comes from external sources such as the AC power line motors generators transformers fluorescent lights soldering irons CRT displays computers electrical storms welders radio transmitters and internal sources such as semiconductors resistors and capacitors Noise corrupts signals you are trying to send or receive nonlatched digital I O See unstrobed digital I O O operating system base level software that controls a
92. op of the boards for precise synchronization of functions S s seconds S samples settling time the amount of time required for a voltage to reach its final value within specified limits S s samples per second STARTTRIG start trigger signal STOPTRIG stop trigger signal strobed digital I O a type of digital input or output in which hardware uses timing signals to regulate the rate of input or output Types of strobed digital I O include handshaking and pattern generation switchless device devices that do not require dip switches or jumpers to configure resources on the devices also called Plug and Play devices synchronous hardware a property of an event that is synchronized to a reference clock T transfer rate the rate measured in bytes s at which data is moved from source to destination after software initialization and set up operations the maximum rate at which the hardware can operate trigger any event that causes starts or stops some form of data capture tri state a third output state other than high or low in which the output is undriven Glossary DIO 6533 User Manual G 10 National Instruments Corporation TTL transistor transistor logic U unstrobed digital I O a type of digital input or output in which software reads or writes the digital line or port states directly without using any handshaking or hardware controlled timing functions Also called immediate nonhandshaking
93. pecification prepared by Microsoft Intel and other PC related companies that will result in PCs with plug in boards that can be fully configured in software without jumpers or switches on the boards port 1 a communications connection on a computer or a remote controller 2 a digital port consisting of four or eight lines of digital input and or output posttrigger acquisition the technique used on a DAQ board to acquire a programmed number of samples after trigger conditions are met PPI programmable peripheral interface ppm parts per million pretrigger acquisition the technique used on a DAQ board to keep a continuous buffer filled with data so that when the trigger conditions are met the sample includes the data leading up to the trigger condition programmed I O the standard method a CPU uses to access an I O device each byte of data is read or written by the CPU protocol the exact sequence of bits characters and control codes used to transfer data between computers and peripherals through a communications channel such as the GPIB R RAM random access memory REQ request signal ribbon cable a flat cable in which the conductors are side by side Glossary National Instruments Corporation G 9 DIO 6533 User Manual RGND reserved ground rms root mean square RTSI Bus real time system integration bus the National Instruments timing bus that connects DAQ boards directly by means of connectors on t
94. pplication software refer to your NI DAQ release notes and follow the instructions given there for your operating system and application software package Hardware Installation Following are general installation instructions for each device Consult your computer or chassis user manual or technical reference manual for specific instructions about installing new devices in your computer or chassis Installing the PCI DIO 32HS You can install a PCI DIO 32HS in any available 5 V PCI expansion slot in your computer 1 Turn off and unplug your computer 2 Remove the top cover or access port to the expansion slots 3 Remove the expansion slot cover on the back panel of the computer Chapter 2 Installation and Configuration DIO 6533 User Manual 2 2 National Instruments Corporation 4 Touch the metal part inside your computer to discharge any static electricity that might be on your clothes or body 5 Insert the PCI DIO 32HS into a 5 V PCI slot It may be a tight fit but do not force the device into place 6 Screw the mounting bracket of the PCI DIO 32HS to the back panel rail of the computer 7 Visually verify the installation 8 Replace the top cover of your computer 9 Plug in and turn on your computer Installing the PXI 6533 You can install a PXI 6533 in any available 5 V peripheral slot in your PXI or CompactPCI chassis Note The PXI 6533 has connections to several reserved lines on the CompactPC
95. prevent electrostatic damage to the device Electrostatic discharge can damage several components on the device To avoid such damage in handling the device take the following precautions Ground yourself via a grounding strap or by holding a grounded object Touch the antistatic package to a metal part of your computer chassis before removing the device from the package Remove the device from the package and inspect the device for loose components or any sign of damage Notify National Instruments if the device appears damaged in any way Do not install a damaged device into your computer Never touch the exposed pins of connectors Store your 6533 device in the antistatic envelope when not in use National Instruments Corporation 2 1 DIO 6533 User Manual Chapter2 Installation and Configuration This chapter explains how to install and configure your DIO 6533 device Software Installation Install your software before you install your 6533 device Refer to the appropriate release notes indicated below for specific instructions on the software installation sequence If you are using NI DAQ refer to your NI DAQ release notes Find the installation section for your operating system and follow the instructions given there If you are using LabVIEW LabWindows CVI or other National Instruments application software packages refer to the appropriate release notes After you have installed your a
96. pt Assignment Map IRQ Device 15 Available 14 Fixed Disk Controller 13 Coprocessor 12 AT DIO 32F default 11 AT DIO 32F default 10 AT MIO 16 default 9 PC Network default PC Network Alternate default 8 Real Time Clock 7 Parallel Port 1 LPT1 6 Diskette Drive Controller Fixed Disk and Diskette Drive Controller 5 Parallel Port 2 LPT2 PC DIO 24 default Lab PC PC default 4 Serial Port 1 COM1 BSC BSC Alternate Table 2 1 PC AT I O Address Map Continued I O Address Range Hex Device Chapter 2 Installation and Configuration National Instruments Corporation 2 9 DIO 6533 User Manual Table 2 3 shows the PC AT 16 bit DMA channel assignments Note EISA computers also have channels lt 0 3 gt available as 16 bit DMA channels 3 Serial Port 2 COM2 BSC BSC Alternate Cluster primary PC Network PC Network Alternate WD EtherCard default 3Com EtherLink default 2 IRQ 8 15 Chain from interrupt controller 2 1 Keyboard Controller Output Buffer Full 0 Timer Channel 0 Output Table 2 3 PC AT 16 Bit DMA Channel Assignment Map Channel Device 7 AT MIO 16 Series default 6 AT MIO 16 Series default AT DIO 32F default 5 AT DIO 32F default 4 Cascade for DMA Controller 1 channels lt 0 3 gt Table 2 2 PC AT Interrupt Assignment Map Continued IRQ Device National Instruments Corporation 3 1 DIO
97. r in level ACK mode Figure 5 9 Level ACK Mode Output Level ACK Mode Timing Specifications Figures 5 10 and 5 11 show the timing diagrams for level ACK mode Wait For Data Wait For REQ Programmable Delay Programmable Delay Wait For REQ When REQ Asserted Clear ACK When 6533 Device Has Data to Output Output Data When REQ Unasserted Initial State ACK Cleared Send ACK With REQ edge latching enabled the data written is delayed until the next inactive going REQ edge Chapter 5 Signal Timing DIO 6533 User Manual 5 12 National Instruments Corporation Figure 5 10 Level ACK Mode Input Timing Parameter Description Minimum Maximum Input Parameters trr REQ pulse width 75 tr r REQ inactive duration 75 tar ACK to next REQ 0 tdir 1 Input data setup to REQ active with REQ edge latching 0 trdi Input data hold from REQ active with REQ edge latching 10 tdir 2 Input data setup to REQ with REQ edge latching disabled 0 tadi Input data hold from ACK with REQ edge latching disabled 0 Output Parameters taa ACK pulse width 225 tra REQ to ACK inactive 100 200 All timing values are in nanoseconds REQ ACK Input Data REQ edge latching Input Data REQ edge latching disabled tr r tra tdir 2 tadi tar taa trr trdi tdir 1 Chapter 5 Signal Timing National Instruments
98. ration options require that you select interrupt driven rather than DMA transfers See your software documentation for further information about messages Handshaking Protocols When you perform full two way handshaking operations you can select among several timing protocols offered by the 6533 devices The protocol you select determines the timing of the ACK signals that the 6533 device sends to the peripheral device and of the REQ signals Chapter 3 Hardware Overview National Instruments Corporation 3 9 DIO 6533 User Manual expected from the peripheral device One protocol burst mode also uses PCLK signals The following sections describe the handshaking protocols offered by the 6533 devices Refer to Table 3 1 for further information on these protocols For timing details see Chapter 5 Signal Timing 8255 Emulation The 8255 emulation protocol emulates the strobed protocols obeyed by the 8255 and 82C55 PPI chips chips that are used for example on the National Instruments PC DIO 24 and PC DIO 96 PnP Because of faster response times a wider data path and FIFO buffering 8255 emulation mode offers much higher data transfer rates than an actual 8255 chip The 8255 emulation protocol offers the highest peak transfer rate of any protocol except burst mode Level ACK After each transfer the 6533 device asserts the ACK signal to the peripheral device Holding the ACK line at the asserted level the 6533 device does not
99. rrupt channels The AT DIO 32HS 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 startup 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 involvement The Plug and Play software is installed as a device driver or as an integral component of the computer BIOS Switchless Data Acquisition You can use your AT DIO 32HS device 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 Use a configuration utility such as the NI PnP or Intel configuration utilities to enter the base address DMA and interrupt selections and the application software assigns them to the device Note Avoid resource conflicts with non National Instruments devices For example do not configure two devices to have the same base address Chapter 2 Installation and Configuration DIO 6533 User Manual 2 6 National Instruments Corporation Base I O Address Selection The AT DIO 32HS device can be configured to use a base address in the range of 100 to 3E0
100. s 4 13 to 4 14 drive current characteristic 4 6 E e mail support C 2 electronic support services C 1 to C 2 environment specifications A 9 environmental noise minimizing 4 14 to 4 15 equipment optional 1 7 F fax and telephone support C 2 Fax on Demand support C 2 field wiring and termination 4 14 to 4 16 FTP support C 1 full handshaking transfer See handshaking transfer G GND signal table 4 5 ground reference characteristic 4 6 groups of ports 3 5 National Instruments Corporation I 3 DIO 6533 User Manual H handshake timing 5 4 to 5 33 8255 emulation 5 4 to 5 7 burst mode 5 27 to 5 33 leading edge mode 5 14 to 5 18 level ACK mode 5 9 to 5 14 long pulse mode 5 19 to 5 22 trailing edge mode 5 23 to 5 27 handshaking protocols 3 8 to 3 10 8255 emulation 3 9 burst mode 3 10 comparison of protocols 3 10 to 3 11 leading edge pulse 3 9 level ACK 3 9 long pulse 3 9 trailing edge pulse 3 9 handshaking transfer controlling line polarities 3 13 controlling startup sequence 3 12 overview 3 6 starting 3 12 to 3 13 hardware configuration See configuration hardware groups 3 5 hardware installation See installation hardware overview 3 1 to 3 14 block diagrams AT DIO 32HS 3 3 DAQCard 6533 3 4 PCI DIO 32HS PXI 6533 3 2 strobed I O 3 5 to 3 13 comparison of handshaking protocols 3 10 to 3 11 definition 3 5 handshaking protocols 3 8 to 3 10 pattern and change detection
101. s a large minimum pulse width Long pulse mode also enables you to handshake with 8255 emulation mode if you set the ACK and REQ signals to active low If you want to use long pulse mode to handshake with an actual 8255 or 82C55 PPI make sure you select an adequate minimum pulse width for your 8255 or 82C55 A data settling delay of 500 ns is sufficient for any current 8255 or 82C55 PPI Figures 5 16 and 5 17 show long pulse mode input and output diagrams respectively Figure 5 16 Long Pulse Mode Input Wait For Space Wait For REQ Programmable Delay Programmable Delay Wait For REQ When REQ Asserted When 6533 Device Has Space For Data Input Data Clear ACK Pulse When REQ Unasserted Initial State ACK Cleared Send ACK Pulse With REQ edge latching enabled the data read is from the last active going REQ edge Chapter 5 Signal Timing DIO 6533 User Manual 5 20 National Instruments Corporation Figure 5 17 Long Pulse Mode Output Long Pulse Mode Timing Specifications Figures 5 18 and 5 19 show the timing diagrams for long pulse mode Wait For Data Wait For REQ Programmable Delay Programmable Delay Wait For REQ When REQ Asserted When 6533 Device Has Data to Output Output Data Clear ACK Pulse When REQ Unasserted Initial State ACK Cleared Send ACK Pulse With REQ edge latching enabled the data written is delayed until the next inactive going RE
102. seconds REQ ACK Input Data REQ edge latching disabled tr r tr a tdir 2 tadi tar taa trr Input Data REQ edge latching trdi tdir 1 Chapter 5 Signal Timing DIO 6533 User Manual 5 18 National Instruments Corporation Figure 5 15 Leading Edge Mode Output Timing Parameter Description Minimum Maximum Input Parameters trr REQ pulse width 75 tr r REQ inactive duration 75 tar ACK to next REQ 0 Output Parameters taa ACK pulse width 125 tr a REQ inactive to ACK inactive 150 tr do REQ inactive to new output data with REQ edge latching 0 50 trdo REQ to new output data with REQ edge latching disabled 0 tdoa Output data valid to ACK with REQ edge latching disabled 251 1 tdoa min 25 programmable delay All timing values are in nanoseconds REQ ACK Output Data REQ edge latching Output Data REQ edge latching disabled tr r tr a tr do tdoa tar taa trr trdo Chapter 5 Signal Timing National Instruments Corporation 5 19 DIO 6533 User Manual Long Pulse Mode Long pulse mode is a variant of leading edge mode The only difference is the effect of a data settling delay if used In long pulse mode a programmable delay rather than delaying the ACK pulse increases the minimum width of the pulse Long pulse mode enables you to handshake with a peripheral device that require
103. setup time If necessary for long cables you can compensate for the decrease in data setup time by slowing down the PCLK clock Burst Mode Timing Specifications Figure 5 24 shows a burst mode transfer data input example and Figure 5 25 shows a burst mode transfer data output example where D1 is data point number one D2 is data point number 2 and so on Figures 5 26 through 5 29 show the burst mode timing diagrams Figure 5 24 Input Burst Mode Transfer Example PCLK ACK Data In REQ D5 D1 D2 D3 D4 Chapter 5 Signal Timing National Instruments Corporation 5 29 DIO 6533 User Manual Figure 5 25 Output Burst Mode Transfer Example PCLK ACK REQ Data Out D1 D2 D3 D4 D5 Chapter 5 Signal Timing DIO 6533 User Manual 5 30 National Instruments Corporation Figure 5 26 Burst Mode Output Timing Default Parameter Description Minimum Maximum Input Parameters tpc PCLK cycle time 50 tpw PCLK high pulse duration 20 tpl PCLK low pulse duration 20 trs Setup time from REQ valid to PCLK falling edge 1 trh Hold time from PCLK to REQ invalid 0 Output Parameters tpa PCLK to ACK valid 22 tah Hold time from PCLK to ACK invalid 3 tpdo PCLK to output data valid 28 tdoh Hold time from PCLK to output data invalid 5 All timing values are in nanoseconds PCLK ACK Data Out REQ trs tpa tpdo tpw tpl tpc tdo
104. sfer By allocating two channels you allow the AT DIO 32HS software to reprogram one channel while continuing transfers on the other channel This is particularly important for pattern generation The DAQCard 6533 cannot be programmed for DMA The average bus bandwidth is higher for the PCI DIO 32HS or PXI 6533 than for the AT DIO 32HS and higher for the AT DIO 32HS than for the DAQCard 6533 National Instruments Corporation 4 1 DIO 6533 User Manual Chapter4 Signal Connections This chapter describes how to make input and output signal connections to your DIO 6533 device via the device I O connector and RTSI connector The I O connector for the 6533 device has 68 pins You can connect the 6533 device to 68 pin accessories through an SH68 68 D1 shielded cable or an R6868 ribbon cable Using an optional 68 to 50 pin 6533 device adapter you can also connect your 6533 device to 50 pin accessories through an NB1 ribbon cable I O Connector Figure 4 1 shows the pin assignments for the 68 pin 6533 device I O connector Refer to Appendix B Optional Adapter Description for the pin assignments for the 68 to 50 pin adapter Caution Connections that exceed any of the maximum input or output ratings on the 6533 may damage your device and your computer See Appendix A Specifications for maximum ratings This warning includes connecting any power signals to ground and vice versa National Instruments is NOT liable for any d
105. sfers on sample Intel Pentium based computers using NI DAQ software with no other DAQ operations in progress The PCI DIO 32HS Triton I rates were measured on a 100 MHz Pentium computer with the Triton I 430FX chip set The PCI DIO 32HS Triton II rates were measured on a 166 MHz Pentium computer with the Triton II HX 430HX chip set The PCI DIO 32HS Natoma rates were measured on a 180 MHz Pentium Pro system with the Natoma 440FX chip set The PXI 6533 rates were measured using a 133MHz Pentium CompactPCI controller with the Triton I chip set The AT DIO 32HS rates were measured using the dual DMA transfer method on a 100 MHz Pentium computer with the Triton I 430FX chip set The DAQCard 6533 Triton I rates were measured using a 75 MHz Pentium computer with the Triton I 430FX chip set The DAQCard 6533 Triton II rates were measured using a 133 MHz Pentium computer with the Natoma 430HX chip set The DAQCard 6533 266 MHz Pentium II rates were measured using a 266 MHz Pentium II computer with the Natoma 440FX chip set AT DIO 32HS Rates in kS s kbytes s on Sample Systems 32 bit 350 1400 16 bit 700 1400 8 bit 1400 1400 DAQCard 6533 Rates in kS s kbytes s on Sample Systems 32 bit 30 120 70 280 140 560 16 bit 35 70 75 150 165 330 8 bit 35 35 75 75 165 165 Mode Triton I Chip Set Triton II Chip Set Natoma Chip Set Appendix A Specifications DIO 6533 Us
106. shaking A 6 to A 7 pattern and change detection A 7 pattern generation A 3 to A 5 triggers RTSI triggers A 7 start and stop triggers A 7 STOPTRIG lt 1 2 gt signal control signal summary table 4 7 description table 4 4 timing connections 4 13 strobed I O 3 5 to 3 13 data signal connections 4 12 to 4 13 definition 3 5 handshaking protocols 3 8 to 3 10 8255 emulation 3 9 burst mode 3 10 comparison of protocols 3 10 to 3 11 leading edge pulse 3 9 level ACK 3 9 long pulse 3 9 trailing edge pulse 3 9 handshaking transfer controlling line polarities 3 13 controlling startup sequence 3 12 overview 3 6 DIO 6533 User Manual I 6 National Instruments Corporation starting 3 12 to 3 13 pattern generation 3 6 to 3 8 change detection 3 7 to 3 8 message generation 3 8 overview 3 5 to 3 6 pattern detection triggers 3 6 to 3 7 specifications A 3 to A 7 handshaking A 6 to A 7 pattern and change detection A 7 pattern generation A 3 to A 5 switchless data acquisition 2 5 T technical support C 1 to C 2 telephone and fax support C 2 termination and field wiring 4 14 to 4 16 timing connections 4 13 timing of signals See signal timing trailing edge mode 5 23 to 5 27 input 5 23 5 24 output 5 23 5 25 purpose and use 3 9 timing specifications input timing figure 5 26 output timing figure 5 27 transfer rates 3 13 to 3 14 achieving highest possible rates 3 13 to 3 14 maximum 3 13
107. shaking modes Asynchronous protocols use only the ACK and REQ signals Burst mode a synchronous protocol uses the ACK REQ and PCLK signals The PCLK line shares a clock signal between the 6533 device and the peripheral device Table 3 1 shows peak handshaking rates for typical cable lengths The peak rates give an upper limit deriving from the pulse widths and other timing specifications of the handshaking protocol Your actual maximum rate depends on many factors see the Transfer Rates section in this chapter Table 3 1 also shows whether the ACK and REQ signals are active high active low or programmable polarity The table shows whether the leading or trailing edge of a REQ pulse initiates a data transfer The table also describes the effect on each protocol of setting a programmable delay See Chapter 5 Signal Timing for timing details The table also shows complementary protocols with which the protocol can communicate assuming that you choose complementary settings for any options the two protocols offer For example a 6533 device in 8255 emulation mode can communicate with a 6533 device in long pulse mode if you select ACK and REQ to be active low Chapter 3 Hardware Overview National Instruments Corporation 3 11 DIO 6533 User Manual Table 3 1 6533 Handshaking Protocols Protocol Peak Rates MS s at Various Cable Lengths REQ and ACK Polarity REQ Edge That Requests Transfer Programmable Delay Locati
108. t 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 editions of this document without prior notice to holders of this edition The reader should consult National Instrume
109. tallation and Configuration DIO 6533 User Manual 2 4 National Instruments Corporation Figure 2 1 DAQCard 6533 Completed Installation Your 6533 device is installed The device is now ready for software configuration PCI PXI and DAQCard Device Configuration The PCI DIO 32HS PXI 6533 and DAQCard 6533 are completely software configurable The system software automatically allocates all device resources including base memory address and interrupt level These devices do not require DMA controller resources from your computer PCMCIA Socket Portable Computer I O Cable CB 68 I O Signals Chapter 2 Installation and Configuration National Instruments Corporation 2 5 DIO 6533 User Manual AT Device Configuration The plug and play feature of the AT DIO 32HS makes it completely software configurable You can use software to configure the base I O address DMA channels and interrupt levels Bus Interface The AT DIO 32HS works in either a Plug and Play mode or a switchless mode These modes dictate how system resources are determined and assigned to the device Plug and Play Mode The AT DIO 32HS is fully compatible with the industry standard Intel Microsoft Plug and Play Specification version 1 0a A Plug and Play system arbitrates and assigns system resources through software freeing you from manually setting switches and jumpers These resources include the device base I O address DMA channels and inte
110. ted to your computer Use this documentation for hardware installation and configuration instructions specification information about your DAQ hardware and application hints Software documentation You may have both application software and NI DAQ software documentation National Instruments application software includes LabVIEW LabWindows CVI ComponentWorks and VirtualBench After you set up your hardware system use either your application software documentation or the NI DAQ documentation to help you write your application If you have a large complicated system it is worthwhile to look through the software documentation before you configure your hardware Accessory installation guides or manuals If you are using accessory products read the terminal block and cable assembly installation guides They explain how to physically connect the relevant pieces of the system Consult these guides when you are making your connections SCXI Chassis Manual If you are using SCXI read this manual for maintenance information on the chassis and installation instructions Related Documentation The following documents contain information that you may find helpful as you read this manual Your computer s technical reference manual National Instruments PXI Specification rev 1 0 PICMG CompactPCI 2 0 R2 1 About This Manual DIO 6533 User Manual xiv National Instruments Corporation Customer C
111. tional Instruments application software is as easy and as flexible as register level programming and can save weeks of development time ComponentWorks LabVIEW LabWindows CVI or VirtualBench Conventional Programming Environment NI DAQ Driver Software DAQ or SCXI Hardware Personal Computer or Workstation Chapter 1 Introduction National Instruments Corporation 1 7 DIO 6533 User Manual Optional Equipment National Instruments offers a variety of products to use with your 6533 device including cables connector blocks and other accessories as follows Cables and cable assemblies shielded and ribbon Connector blocks shielded and unshielded 50 and 68 pin screw terminals Real Time System Integration RTSI bus cables SCXI modules and accessories for isolating digital signals controlling relays and creating isolated analog outputs Low channel count signal conditioning modules devices and accessories including relays and optical isolation Some cables and accessories require use of the 68 to 50 pin DIO 6533 device adaptor detailed in Appendix B Optional Adapter Description For more specific information about these products refer to your National Instruments catalogue or web site or call the office nearest you Chapter 1 Introduction DIO 6533 User Manual 1 8 National Instruments Corporation Unpacking Your 6533 device is shipped in an antistatic package to
112. transfer in which the 6533 hardware regulates timing or performs handshaking functions The 6533 devices have two handshaking controllers and can perform up to two strobed operations simultaneously The operations can be input transfers output transfers or one of each You select the width of each transfer by allocating the digital I O ports into two groups for the two controllers For example by allocating ports A and B to group 1 you can perform a 16 bit strobed transfer using the group 1 controller Any port that you do not allocate to a group you can use for unstrobed I O LabVIEW users should note that the LabVIEW documentation uses the term group in another context LabVIEW groups do not correspond directly to hardware groups Each hardware group has its own independent set of timing control lines ACK STARTTRIG REQ PCLK and STOPTRIG to carry control status clocking and trigger information Any external device that the 6533 devices control monitor test or communicate with is referred to as a peripheral device Strobed operations fall into two categories pattern generation and full or two way handshaking transfer In pattern generation data acquisition applications typically require sampling input data at a predetermined frequency Similarly waveform generation applications require driving output data to specific output patterns at a predetermined frequency You can regulate the frequency by supplying a timing
113. ts the ACK signal and causes the 6533 device to latch input data Afterward the 6533 device reasserts the ACK signal when ready for another input To slow down the handshake you can specify a data settling delay to occur before the ACK signal Chapter 5 Signal Timing DIO 6533 User Manual 5 10 National Instruments Corporation Output In output mode the 6533 device raises the ACK signal after driving output data to indicate new valid output data The peripheral device can latch the data on the falling or rising edge of the ACK signal or at any time before returning a REQ pulse The peripheral device must respond with an active going REQ signal edge to deassert the ACK signal and request additional data To slow down the handshake you can specify a data settling delay to occur before the ACK signal This delay increases the setup time from valid output data to the ACK signal Figure 5 8 shows an input transfer in level ACK mode Figure 5 8 Level ACK Mode Input Wait For Space Wait For REQ Programmable Delay Programmable Delay Wait For REQ When REQ Asserted Clear ACK When 6533 Device Has Space For Data Input Data When REQ Unasserted Initial State ACK Cleared Send ACK With REQ edge latching enabled the data read is from the last active going REQ edge Chapter 5 Signal Timing National Instruments Corporation 5 11 DIO 6533 User Manual Figure 5 9 shows an output transfe
114. tside reasonable control Copyright Under the copyright laws this publication may not be reproduced or transmitted in any form electronic or mechanical including photocopying recording storing in an information retrieval system or translating in whole or in part without the prior written consent of National Instruments Corporation Trademarks LabVIEW NI DAQ RTSI ComponentWorks CVI DAQCard MITE SCXI and VirtualBench are trademarks of National Instruments Corporation Product and company names listed are trademarks or trade names of their respective companies WARNING REGARDING MEDICAL AND CLINICAL USE OF NATIONAL INSTRUMENTS PRODUCTS National Instruments products are not designed with 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 when National Instruments products are be
115. uments Corporation interrupt channel selection 2 6 to 2 9 Plug and Play mode 2 5 switchless data acquisition 2 5 PCI PXI and DAQCard devices 2 4 control signal summary 4 7 CPULL signal description table 4 5 pull up and pull down connections 4 13 to 4 14 customer communication xiv C 1 to C 2 D DAQ DIO chip 1 2 DAQCard 6533 block diagram 3 4 configuration 2 4 installation 2 3 to 2 4 overview 1 1 data signal connections 4 9 to 4 13 example figure 4 11 strobed I O 4 12 to 4 13 unstrobed I O 4 10 to 4 12 digital I O specifications A 1 to A 3 DIO 6533 devices optional equipment 1 7 overview 1 1 to 1 2 requirements for getting started 1 3 to 1 4 software programming choices 1 4 to 1 6 National Instruments application software 1 4 to 1 5 NI DAQ driver software 1 5 to 1 6 register level programming 1 6 unpacking 1 8 using PXI with CompactPCI 1 2 to 1 3 DIOA lt 0 7 gt signal description table 4 4 unstrobed I O 4 10 to 4 11 DIOB lt 0 7 gt signal description table 4 4 unstrobed I O 4 10 to 4 11 DIOC lt 0 7 gt signal table 4 4 DIOD lt 0 7 gt signal table 4 4 DMA channel selection PC AT 16 bit DMA channel assignment map table 2 9 software configured 2 6 documentation conventions used in manual xii National Instruments documentation xii xiii organization of manual xi xii related documentation xiii DPULL signal description table 4 5 pull up and pull down connection
116. ut Wait For Data Wait For REQ Programmable Delay Wait For REQ When REQ Unasserted When 6533 Device Has Data to Output When REQ Asserted Initial State ACK Cleared Output Data Then Send ACK Chapter 5 Signal Timing DIO 6533 User Manual 5 8 National Instruments Corporation 8255 Emulation Mode Timing Specifications Figure 5 7 shows the timing diagram for 8255 emulation mode Figure 5 7 8255 Emulation Timing Parameter Description Minimum Maximum Input Parameters tr r REQ low duration 75 trr REQ high duration 75 ta r ACK falling edge to REQ rising edge 0 tdir Input data valid to REQ rising edge 0 trdi REQ rising edge to input data invalid 10 Output Parameters taa ACK high duration 100 tr a REQ falling edge to ACK rising edge 150 tdoa Output data valid to ACK falling edge 25 trdo REQ rising edge to output data invalid 100 All timing values are in nanoseconds REQ ACK Data Out Data In tdoa tdir ta r tr r trr trdi trdo taa tr a Chapter 5 Signal Timing National Instruments Corporation 5 9 DIO 6533 User Manual Other Asynchronous Modes Besides 8255 compatible mode the 6533 device supports several other asynchronous handshaking protocols level ACK mode leading edge mode long pulse mode and trailing edge mode These handshaking modes are compatible with the handshaking modes of th
117. utput data valid to ACK with REQ edge latching disabled 25 1 taa min 125 programmable delay All timing values are in nanoseconds REQ ACK Output Data REQ edge latching Output Data REQ edge latching disabled tr r tr do tdoa tar taa trr trdo Chapter 5 Signal Timing National Instruments Corporation 5 23 DIO 6533 User Manual Trailing Edge Mode In trailing edge mode the 6533 device and the peripheral device send each other pulses on the ACK and REQ lines The trailing edge of the ACK or REQ pulse indicates that the 6533 device or peripheral device is ready for a transfer Input In input mode the 6533 device sends an ACK pulse of programmable width when ready to receive data After receiving the trailing edge of the ACK pulse the peripheral device can strobe data into the 6533 device by deasserting the REQ signal The 6533 device sends another ACK pulse when ready for another input To slow down the handshake you can specify a data settling delay to increase the ACK pulse width Output In output mode the 6533 device sends an ACK pulse of programmable width after driving output data to indicate new valid output data The peripheral device can latch the data on the falling or rising edge of the ACK signal or at any time before ending the REQ pulse The peripheral device must respond with a REQ pulse the trailing edge of which deasserts the ACK signal and requests additi
118. vary in connection from cable to cable With an R6868 ribbon cable you can use these lines as additional ground references With an SH68 68 D1 however these signals are not connected Table 4 1 Signal Descriptions Continued Pins Signal Name Signal Type Description Chapter 4 Signal Connections DIO 6533 User Manual 4 6 National Instruments Corporation Signal Characteristics Following is a list of signal characteristics Characteristics are for all signals unless otherwise noted For signal characteristics not given in this section see Appendix A Specifications Drive current After being enabled all lines that can be configured for output sink at least 24 mA at 0 4 V and source at least 24 mA at 2 4 V DAQCard 6533 Your PCMCIA socket may not provide sufficient power to drive all outputs at 24 mA Ground reference All signals are referenced to the GND lines Initial state At power up all control and data lines begin at high impedance With no load attached the voltage levels of the lines are controlled by the pull up or pull down resistors Pull up pull down Control lines All timing control lines have 2 2 k pull up or pull down resistors controlled by the CPULL line Data lines All timing data lines have 100 k pull up or pull down resistors controlled by the DPULL line Bias selection lines The CPULL and DPULL lines which select the bias of t
119. vice reasserts the ACK signal low when ready for another input Figure 5 5 shows an input transfer in 8255 emulation mode Figure 5 5 8255 Emulation Mode Input Output Note 6533 device terminology differs from 8255 terminology In output mode the 6533 device REQ line carries the 8255 ACK input signal and the 6533 device ACK line carries the 8255 OBF output signal Both lines are active low Wait For Space Wait For REQ Programmable Delay Wait For REQ When REQ Unasserted Latch Input Data When 6533 Device Has Space For Data Clear ACK When REQ Asserted Initial State ACK Set Send ACK Chapter 5 Signal Timing National Instruments Corporation 5 7 DIO 6533 User Manual In output mode the 6533 device asserts the ACK signal low when output data is available The peripheral device can receive the data on the falling or rising edge of the ACK signal or any time in between The peripheral device must respond with an active low REQ pulse to request additional data The falling REQ signal edge causes the ACK signal to return to the inactive state and the rising REQ signal edge enables a new transfer to occur Therefore the peripheral device should wait until it has received data before raising the REQ signal The peripheral device can also wait for the ACK signal to deassert before raising the REQ signal Figure 5 6 shows an output transfer in 8255 emulation mode Figure 5 6 8255 Emulation Mode Outp
120. you exchange two signals on the I O connector you also exchange them for RTSI purposes Signal Descriptions Table 4 1 provides signal descriptions Each signal on the 6533 device is referenced to the GND lines Table 4 1 Signal Descriptions Pins Signal Name Signal Type Description 2 9 REQ lt 1 2 gt Control Group 1 and group 2 request lines In handshaking mode a group s REQ line carries handshaking status information from the peripheral In pattern generation mode REQ carries timing pulses either to or from the peripheral to strobe data into or out of the 6533 device These strobe signals are comparable to the CONVERT or UPDATE signals of an analog DAQ device When not configuring the 6533 device for group operations you can use the REQ lt 1 2 gt lines as extra general purpose input lines IN lt 3 4 gt 3 8 ACK lt 1 2 gt Control Group 1 and group 2 acknowledge lines In handshaking mode a group s ACK line carries handshaking control information to the peripheral In pattern generation mode the ACK lines can function as STARTTRIG lt 1 2 gt lines You can use rising or falling edges on these lines to start pattern generation operations When not configuring the 6533 device for group operations you can use the ACK lt 1 2 gt lines as extra general purpose output lines OUT lt 3 4 gt Chapter 4 Signal Connections DIO 6533 User Manual 4 4 National Instruments Corporation 4 7
Download Pdf Manuals
Related Search
Related Contents
Biostar Hi-Fi B75S3E Owner's Manual the manual - Listening Music Teacher Fiche technique 取 扱 説 明 書 ラジエターコアガード 取扱説明書 Copyright © All rights reserved.
Failed to retrieve file