Page 2
National Instruments Corporate Headquarters 6504 Bridge Point Parkway Austin, TX 78730-5039 (512) 794-0100 Technical support fax: (800) 328-2203 (512) 794-5678 Branch Offices: Australia (03) 879 9422, Austria (0662) 435986, Belgium 02/757.00.20, Canada (Ontario) (519) 622-9310, Canada (Québec) (514) 694-8521, Denmark 45 76 26 00, Finland (90) 527 2321, France (1) 48 14 24 24,...
Page 3
Limited Warranty The AT-MIO-16D is warranted against defects in materials and workmanship for a period of one year from the date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace equipment that proves to be defective during the warranty period. This warranty includes parts and labor.
Page 4
Any use or application of National Instruments products for or involving medical or clinical treatment must be performed by properly trained and qualified medical personnel, and all traditional medical safeguards, equipment, and procedures that are appropriate in the particular situation to prevent serious injury or death should always continue to be used when National Instruments products are being used.
Page 5
Preface This manual describes the electrical and mechanical aspects of the AT-MIO-16D and contains information concerning its operation and programming. The AT-MIO-16D, a member of the National Instruments AT Series of expansion boards for the IBM PC AT and compatible computers, combines the functionality of two popular National Instruments boards, the AT-MIO-16 and the PC-DIO-24.
Page 6
AT-MIO-16D. • Appendix G, Customer Communication, contains forms for you to complete to facilitate communication with National Instruments concerning our products. • The Index alphabetically lists topics covered in this manual, including the page where the topic can be found.
Page 7
Am9513A/Am9513 System Timing Controller technical manual Customer Communication National Instruments wants to receive your comments on our products and manuals. We are interested in the applications you develop with our products, and we want to help if you have problems with them. To make it easy for you to contact us, this manual contains comment and configuration forms for you to complete.
Page 11
Programming the Analog Output Circuitry ............4-71 Programming the MIO-16 Digital I/O Circuitry..........4-72 Programming the Am9513A Counter/Timer .............4-73 RTSI Bus Trigger Line Programming Considerations ........4-73 AT-MIO-16D RTSI Signal Connection Considerations......4-74 Programming the RTSI Switch..............4-75 Programming DMA Operations.................4-76 Interrupt Programming..................4-77 DIO-24 Circuitry Programming Considerations............4-78 DIO-24 Circuitry Register Descriptions ............4-78...
Page 12
MIO-16 I/O Connector ......................B-1 MIO-16 Signal Connection Descriptions...............B-2 Appendix C DIO-24 I/O Connector .......................C-1 DIO-24 Signal Connection Descriptions ...............C-2 Appendix D AT-MIO-16D I/O Connector ..................D-1 Appendix E AMD Am9513A Data Sheet .....................E-1 Appendix F Oki MSM82C55A Data Sheet ..................F-1 Appendix G Customer Communication ....................G-1...
Page 14
AT-MIO-16D I/O Connector................D-1 Tables Table 2-1. AT Bus Interface Factory Settings ..............2-1 Table 2-2. Default Settings of Other National Instruments Products for the PC....2-3 Table 2-3. Switch Settings with Corresponding Base I/O Address and Base I/O Address Space....................2-5 Table 2-4.
(expandable with SCXI and the AMUX-64T), and programmable gains of 1, 10, 100, and 500 or 1, 2, 4, and 8. The AT-MIO-16D has a 9-µsec converter, guaranteed transfer rates of up to 100 ksamples/sec, and a 512-word A/D FIFO buffer to obtain the highest possible data acquisition rate.
181965-11 The board part number is printed on your board along the top edge on the component side. You can identify which version of the AT-MIO-16D board you have by looking up the part number in the preceding table. In addition to the board, each version of the AT-MIO-16D kit contains the following components.
Normally, however, you should not need to read the low-level programming details in the user manual because the NI-DAQ software package for controlling the AT-MIO-16D is included with the board. Using NI-DAQ is quicker and easier than and as flexible as using the low-level programming described in Chapter 4, Programming.
Introduction Chapter 1 Custom Cables The AT-MIO-16D I/O connector is a 100-pin male ribbon cable header. The manufacturer part number National Instruments uses for this header is as follows: • Robinson Nugent (part number P50E-100P1-SR1-TG) The mating connector for the board is a 100-position, polarized, ribbon socket connector. This connector breaks out into two 50-pin female connectors with 50-conductor ribbon cables via a cable assembly.
T&B Ansley Corporation (part number 609-0005) Unpacking Your AT-MIO-16D board is shipped in an antistatic plastic bag to prevent electrostatic damage to the board. Several components on the board can be damaged by electrostatic discharge. To avoid such damage in handling the board, take the following precautions: •...
AT Bus Interface The AT-MIO-16D is configured at the factory to a base I/O address of hex 220, to use DMA channels 6 and 7, to use interrupt level 10 for the MIO-16 circuitry, and to use interrupt enable line PC4 with interrupt level 5 for the DIO-24 circuitry.
Configuration and Installation Base I/O Address Selection The base I/O address for the AT-MIO-16D is determined by the switches at position U61 as shown in Figure 2-1. The switches are set at the factory for the base I/O address hex 220. This factory setting is used as the default base I/O address value by National Instruments software packages for use with the AT-MIO-16D.
Make a note of the new AT-MIO-16D base I/O address for use when configuring the AT-MIO-16D software (a form is provided for you in Appendix G, Customer Communication). Table 2-3 lists the possible switch settings, the corresponding base I/O address, and the base I/O address space used for that setting.
The DMA channel used by the AT-MIO-16D is selected by jumpers on W12 as shown in Figure 2-1. The AT-MIO-16D is set at the factory to use DMA channels 6 and 7 for dual DMA mode. These are the default DMA channels used by the AT-MIO-16D software handler. Verify that these DMA channels are not also used by equipment already installed in your computer.
Configuration and Installation Chapter 2 Table 2-4. DMA Channels for the AT-MIO-16D Channel Acknowledge Request DACK5 (A5) DRQ5 (R5) DACK6 (A6) DRQ6 (R6) DACK7 (A7) DRQ7 (R7) Two jumpers must be installed to select a DMA channel. The DMA Acknowledge and DMA Request lines selected must have the same number suffix for proper operation.
Figure 2-5. DMA Jumper Settings for Disabling DMA Transfers Interrupt Selection The AT-MIO-16D board can connect to any of the 11 interrupt lines of the PC AT I/O channel. The interrupt lines for the MIO-16 and DIO-24 circuitry are selected by jumpers on one of the rows of pins located above the I/O slot edge connector on the AT-MIO-16D (refer to Figure 2-1).
Chapter 2 If you do not want to use interrupts, place the jumpers on W13 in the position shown in Figure 2-7. This setting disables the AT-MIO-16D from asserting an interrupt line on the PC AT I/O channel. MIO IRQ 9 10 11 12 14 15 •...
Two's complement digital-to-analog converter (DAC) input modes • AT-MIO-16D clock signal set to 10 MHz Table 2-5 lists all the available analog I/O jumper configurations for the AT-MIO-16D with the factory settings noted. Table 2-5. Analog I/O Jumper Settings Configuration...
The signal and its reference are each assigned an input channel. With this input configuration, the AT-MIO-16D can monitor eight different analog input signals. You select the DIFF analog input configuration by setting jumpers W6 and W9 as...
RSE input means that all input signals are referenced to a common ground point that is also tied to the analog input ground of the AT-MIO-16D board. The negative (-) input of the differential input amplifier is tied to the analog ground. This configuration is useful when measuring floating signal sources.
Bipolar input means that the analog input voltage range is between -V . The AT-MIO-16D also has two input ranges–10 V input range and a 20 V input range. The selection of input polarity and range are combined into three possible configurations as shown in Table 2-7.
(below 0 V), a unipolar input is best. However, if the signal does go negative, inaccurate readings will occur. Software-programmable gain on the AT-MIO-16D increases overall flexibility by matching input signal ranges to those accommodated by the AT-MIO-16D analog-to-digital converter (ADC).
Table 2-5. The following paragraphs describe in detail each of the analog output configurations. Analog Output Reference Selection Each DAC can be connected to the AT-MIO-16D internal reference of 10 V or to the external reference signal connected to the EXTREF pin on the I/O connector. This signal applied to EXTREF must be between -10 V and +10 V.
2. Remove the top cover or access port to the I/O channel. 3. Remove the expansion slot cover on the back panel of the computer. 4. Insert the AT-MIO-16D into a 16-bit slot. It may be a tight fit, but do not force the board into place.
Connections that exceed any of the maximum ratings of input or output signals on the AT-MIO-16D can result in damage to the AT-MIO-16D board and to the PC AT. Maximum input ratings for each signal are given in this chapter under the discussion of that signal.
Configuration and Installation Chapter 2 MIO-16 I/O Connector Pin Description Figure 2-25 shows the pin assignments for the MIO-16 I/O connector of the AT-MIO-16D. AI GND AI GND ACH0 ACH8 ACH1 ACH9 ACH2 ACH10 ACH3 ACH11 ACH4 ACH12 ACH5 ACH13...
GND signal pins. AI GND is an analog input common signal that is routed directly to the ground tie point on the AT-MIO-16D. These pins can be used for a general analog power ground tie point to the AT-MIO-16D if necessary. Pin 19 is the AI SENSE pin. In single-ended mode, this pin is connected internally to the negative (-) input of the AT-MIO-16D instrumentation amplifier.
All signals must be referenced to ground somewhere, either at the source device or at the AT-MIO-16D. If you have a floating source, you must use a ground-referenced input connection at the AT-MIO-16D. If you have a grounded source, you must use a nonreferenced input connection at the AT-MIO-16D.
Input Configurations The AT-MIO-16D can be configured for one of three input modes–NRSE, RSE, or DIFF. The following sections discuss the use of single-ended and differential measurements, and considerations for measuring both floating and ground-referenced signal sources. Table 2-10 summarizes the recommended input configuration for both types of signal sources.
Differential Connections for Grounded Signal Sources Figure 2-27 shows how to connect a ground-referenced signal source to an AT-MIO-16D board configured for DIFF input. Configuration instructions are included under the Analog Input Configuration section earlier in this chapter.
Figure 2-27). Differential Connections for Floating Signal Sources Figure 2-28 shows how to connect a floating signal source to an AT-MIO-16D board configured for DIFF input. Configuration instructions are included under the Analog Input Configuration section earlier in this chapter.
RSE configuration and NRSE configuration. Use the RSE configuration for floating signal sources; in this case, the AT-MIO-16D provides the reference ground point for the external signal. Use the NRSE configuration for ground-referenced signal sources; in this case, the external signal supplies its own reference ground point and the AT-MIO-16D should not supply one.
(+) and negative (-) inputs of the instrumentation amplifier and this difference is rejected by the amplifier. On the other hand, if the input circuitry of the AT-MIO-16D is referenced to ground, such as in the RSE configuration, this difference in ground potentials appears as an error in the measured voltage.
Figures 2-27 and 2-30, located earlier in this chapter, show connections for signal sources that are already referenced to some ground point with respect to the AT-MIO-16D. In these cases, the instrumentation amplifier can reject any voltage due to ground potential differences between the signal source and the AT-MIO-16D.
(-) input of the instrumentation amplifier. If the input signal common-mode range exceeds ±7 V with respect to the AT-MIO-16D ground, you need to limit the amount of floating that occurs between the signal ground and the AT-MIO-16D ground.
Pins 24 through 32 of the MIO-16 I/O connector are digital I/O signal pins associated with the MIO-16 circuitry of the AT-MIO-16D board. Pins 25, 27, 29, and 31 are connected to the digital lines ADIO<3..0> for digital I/O port A. Pins 26, 28, 30, and 32 are connected to the digital lines BDIO<3..0>...
These +5 V power pins should not be directly connected to analog or digital ground or to any other voltage source on the AT-MIO-16D or any other device. Doing so can damage the AT-MIO-16D and the PC AT. National Instruments is not liable for damages resulting from such a connection.
50 nsec before going low. The START TRIG* signal is one LS TTL load and is pulled up to +5 V through a 4.7-kΩ resistor. The STOP TRIG pin is used during AT-MIO-16D pretriggered data acquisition operations. In pretriggered mode, data is acquired but no sample counting occurs until a rising edge is applied to the STOP TRIG pin.
Page 63
In addition to the signals applied to the SOURCE and GATE inputs, the Am9513A generates five internal timebase clocks from the clock signal supplied by the AT-MIO-16D. This clock signal is selected by the W5 jumper and then divided by 10. The factory default value is 1 MHz into the Am9513A (10-MHz clock signal on the AT-MIO-16D).
Warning: Connections that exceed any of the maximum ratings of input or output signals on the AT-MIO-16D may result in damage to the AT-MIO-16D board and to the PC. Maximum ratings for each signal are given in this chapter under the discussion of that signal.
This +5-V power pin should not be directly connected to analog or digital ground or to any other voltage source on the AT-MIO-16D or any other device. Doing so can damage the AT-MIO-16D and the PC AT. National Instruments is not liable for damages resulting from such a connection.
Use individually shielded, twisted-pair wires to connect analog input signals to the AT-MIO-16D. With this type of wire, the signals attached to the CH+ and CH- inputs are twisted together and then covered with a shield. This shield is then connected only at one point to the signal source ground.
DIO-24 Cabling Considerations The DIO-24 circuitry of the AT-MIO-16D can be interfaced to a wide range of printers, plotters, test instruments, I/O racks and modules, screw terminal panels, and almost any device with a parallel interface. The DIO-24 circuitry I/O connector is a standard 50-pin header connector. The pin assignments are compatible with the standard 24-channel I/O module mounting racks (such as those manufactured by Opto 22 and Gordos).
Page 73
T&B/Ansley Corporation part number 171-50 If you plan to use the DIO section of the AT-MIO-16D for a communications application, you may need shielded cables to meet FCC requirements. The DIO-section I/O bracket has been designed so that the shield of the I/O cable can be grounded through the computer chassis when a...
Chapter 3 Theory of Operation This chapter contains a functional overview of the AT-MIO-16D and explains the operation of each functional unit making up the AT-MIO-16D. MIO-16 Functional Overview The block diagram in Figure 3-1 is a functional overview of the MIO-16 circuitry of the AT-MIO-16D board.
PC AT I/O Channel Interface Circuitry The AT-MIO-16D board is a full-size 16-bit PC AT I/O channel adapter. The PC AT I/O channel consists of a 24-bit address bus, a 16-bit data bus, a direct memory access (DMA) arbitration bus, interrupt lines, and several control and support signals.
AT-MIO-16D multiple function circuitry. The PC AT I/O channel has 24 address lines; the AT-MIO-16D uses 10 of these lines to decode the board address. Therefore, the board address range is hex 000 to 3FF. SA5 through SA9 are used to generate the board enable signal.
The interrupt control circuitry routes any enabled interrupt requests to the selected interrupt request line. The interrupt requests are tristate output signals allowing the AT-MIO-16D board to share the interrupt lines with other devices. Eleven interrupt request lines are available for use by the AT-MIO-16D: IRQ3, IRQ4, IRQ5, IRQ6, IRQ7, IRQ9, IRQ10, IRQ11, IRQ12, IRQ14, and IRQ15.
(+) input of the instrumentation amplifier. The negative (-) input of the instrumentation amplifier is tied to the AT-MIO-16D ground for RSE input or to the analog return of the input signals via the AI SENSE input on the I/O connector for NRSE input.
The A/D FIFO generates a signal that indicates when it contains A/D conversion data. You can read the state of this signal from the AT-MIO-16D Status Register. You can use this signal to generate a DMA request signal or to generate an interrupt. Sign-extension circuitry at the A/D FIFO output adds four most significant bits (MSBs), bits 15 through 12, to the 12-bit FIFO output (bits 11 through 0) to produce a 16-bit result.
You can initiate single A/D conversions by applying an active low pulse to the EXTCONV* input on the I/O connector or by writing to the Start Convert Register on the AT-MIO-16D board. During data acquisition, the onboard sample-interval counter (Counter 3 of the Am9513A Counter/Timer) generates pulses that initiate A/D conversions.
Both the multiplexer counter and the mux-gain memory can be directly written to through AT-MIO-16D registers. For writing purposes, the multiplexer counter serves as a pointer to the mux-gain memory. The counter can be loaded with any 4-bit value to point to any mux-gain memory location.
20 ksamples/sec Analog Output Circuitry The AT-MIO-16D provides two channels of 12-bit digital-to-analog (D/A) output. Each analog output channel provides options such as unipolar or bipolar output and internal or external reference voltage selection. Figure 3-4 shows a block diagram of the analog output circuitry.
) multiplied by the digital code loaded into the DAC. Each DAC can be loaded with a 12-bit digital code by writing to registers on the AT-MIO-16D board. The output op-amps convert the DAC current output to a voltage output provided at the AT-MIO-16D I/O connector DAC0 OUT and DAC1 OUT pins.
Theory of Operation pulse on this output pin. EXTSTROBE* is not necessarily part of the digital I/O circuitry but is shown here because it can be used to latch digital output from the AT-MIO-16D into an external device. Timing I/O Circuitry The AT-MIO-16D uses an Am9513A Counter/Timer for data acquisition timing and for general- purpose timing I/O functions.
Page 87
The SOURCE, GATE, and OUT pins for Counters 1, 2, and 5 of the onboard Am9513A are located on the AT-MIO-16D I/O connector. A rising edge signal on the STOP TRIG pin of the I/O connector sets the flip-flop output signal connected to the GATE4 input of the Am9513A and can be used as an additional gate input.
4-bit programmed value and provides the divided down signal at the FOUT pin. RTSI Bus Interface Circuitry The AT-MIO-16D is interfaced to the National Instrument RTSI bus. The RTSI bus has seven trigger lines and a system clock line. All National Instruments AT Series boards with RTSI bus connectors can be wired together inside the PC AT and share these signals.
Page 89
AT-MIO-16D general-purpose and data acquisition timing to be controlled over the RTSI bus as well as externally and allow the AT-MIO-16D and the I/O connector to provide timing signals to other AT boards connected to the RTSI bus.
Figure 3-9. AT-MIO-16D DIO-24 Block Diagram DIO-24 Interrupt Control Circuitry The interrupt level used by the DIO-24 circuitry of the AT-MIO-16D is selected by the onboard jumper W13. Another onboard jumper, W14, is used to enable interrupts from the DIO-24 circuitry.
See Chapter 2, Configuration and Installation, for additional information. 82C55A Programmable Peripheral Interface The 82C55A PPI is the heart of the AT-MIO-16D DIO-24 circuitry. This chip has 24 programmable I/O pins that represent three 8-bit ports: PA, PB, and PC. Each port can be programmed as an input or an output port.
Register Map The register map for the AT-MIO-16D is shown in Table 4-1. This table gives the register name, the register offset address, the size of the register in bits, and the type of the register (read-only, write-only, or read-and-write). The actual register address is computed by adding the individual offset address to the board base address.
The IBM PC AT and compatibles support two different transfer sizes for read-and-write operations: byte (8-bit) and word (16-bit). Table 4-1 shows the size of each AT-MIO-16D register. For example, reading the A/D FIFO Register requires a 16-bit (word) read operation at the specified address, whereas writing to the RTSI Strobe Register requires an 8-bit (byte) write operation at the specified address.
The bit map field for some write-only registers states not applicable, no bits used. Writing to these registers generates a strobe in the AT-MIO-16D. These strobes are used to cause some onboard event to occur. For example, they can be used to clear the analog input circuitry or to start a data acquisition operation.
Programming Chapter 4 Command Register 1 Command Register 1 contains ten bits that control AT-MIO-16D interrupts, direct memory access (DMA), and some analog input and output modes. Address: Base address + 0 (hex) Type: Write-only Word Size: 16-bit Bit Map:...
Programming Chapter 4 Status Register The Status Register contains 16 bits of AT-MIO-16D hardware status information, including interrupt and analog input status. Address: Base address + 0 (hex) Type: Read-only Word Size: 16-bit Bit Map: GINT DAQSTOPINT CONVAVAIL OUT2INT DAQPROG DMATCINT OVERFLOW...
Chapter 4 Programming Command Register 2 Command Register 2 contains 10 bits that control AT-MIO-16D interrupts, digital output drivers, and scan modes used by the data acquisition circuitry. Address: Base address + 2 (hex) Type: Write-only Word Size: 16-bit Bit Map:...
The Event Strobe Register Group The Event Strobe Register Group consists of four registers that, when written to, cause the occurrence of certain events on the AT-MIO-16D board, such as clearing flags and starting A/D conversions. Descriptions of the four registers making up the Event Strobe Register Group are given on the following pages.
Writing to the Start DAQ Register location initiates a multiple A/D conversion data acquisition operation. Note: Several other pieces of AT-MIO-16D circuitry must be set up before a data acquisition run can occur. See the Programming Multiple A/D Conversions on a Single Input Channel section later in this chapter.
The third register in the Analog Output Register Group is the INT2CLR Register. The AT-MIO-16D can be programmed to interrupt when it detects a rising edge signal on the OUT2 pin of the Am9513A Counter/Timer. This interrupt can be cleared by writing to the INT2CLR Register.
GAIN<1..0> This 2-bit field controls the gain setting of the input instrumentation amplifier. The actual amplifier gains depend on the type of AT-MIO-16D board. The following gains can be selected on the AT-MIO-16DH board: GAIN<1..0> Actual Gain The following gains can be selected on the AT-MIO-16DL board: GAIN<1..0>...
Counter 4 is at a logic high state. BYTEPTR This bit represents the state of the Am9513A Byte Pointer Flip- Flop. This bit has no significance for AT-MIO-16D operation because the Am9513A should always be used in 16-bit mode on the AT-MIO-16D.
The two registers making up the MIO-16 Digital I/O Register Group monitor and control the AT-MIO-16D digital I/O lines. The MIO-16 Digital Input Register returns the digital state of the eight digital I/O lines. A pattern written to the MIO-16 Digital Output Register is driven onto the digital I/O lines when the digital output drivers are enabled (see the description for Command Register 2).
Chapter 4 Programming MIO-16 Digital Input Register The MIO-16 Digital Input Register, when read, returns the logic state of the eight AT-MIO-16D digital I/O lines at the MIO-16 I/O connector. Address: Base address + 1C (hex) Type: Read-only Word Size:...
Chapter 4 MIO-16 Digital Output Register Writing to the MIO-16 Digital Output Register controls the eight AT-MIO-16D digital I/O lines. The MIO-16 Digital Output Register controls both ports A and B. When either digital port is enabled, the pattern contained in the MIO-16 Digital Output Register is driven onto the lines of the digital port at the MIO-16 I/O connector.
Programming The RTSI Switch Register Group The two registers making up the RTSI Switch Register Group allow the AT-MIO-16D RTSI switch to be programmed for routing of signals on the RTSI bus trigger lines to and from several AT-MIO-16D signal lines. The RTSI switch is programmed by shifting a 56-bit routing pattern into the RTSI switch and then loading the internal RTSI Switch Control Register.
MIO-16 Programming Considerations This chapter contains programming instructions for operating the MIO-16 circuitry on the AT-MIO-16D board. Programming the AT-MIO-16D involves writing to and reading from the various registers on the board. The programming instructions list the sequence of steps to take.
Programming Initializing the Analog Output Circuitry The AT-MIO-16D powers up with the analog output circuitry at an unknown voltage. For most applications, the analog output circuitry should be initialized to 0 V. If the analog output channel is configured for unipolar operation, write 0 to the DAC Register (16-bit write) for that channel.
To clear the analog input circuitry and the A/D FIFO, write 0 to the A/D Clear Register. Programming Multiple A/D Conversions on a Single Input Channel The AT-MIO-16D board can be programmed to execute a multiple A/D conversion sequence with the following options: •...
Page 142
To initiate the data acquisition operation through hardware, apply an active low pulse to the START TRIG* pin on the AT-MIO-16D I/O connector. See the Data Acquisition Timing Connections section in Chapter 2, Configuration and Installation, for START TRIG* signal specifications.
In this case, the sample-interval counter starts counting when a rising edge signal is applied to the STOP TRIG input on the AT-MIO-16D I/O connector. You program the sample counter for active high level gating on Gate 4. The data acquisition operation is initiated by writing to the Start DAQ Register or by a pulse on the START TRIG* input.
Page 146
To initiate the data acquisition operation through hardware, apply an active low pulse to the START TRIG* pin on the AT-MIO-16D I/O connector. See the Data Acquisition Timing Connections section in Chapter 2, Configuration and Installation, for START TRIG* signal specifications.
OVERRUN bit in the Status Register is set. The maximum recommended single- channel data acquisition rate for the AT-MIO-16D is 100 ksamples/sec. Both the OVERFLOW and OVERRUN bits in the Status Register are cleared by writing to the A/D Clear Register.
Programming Multiple A/D Conversions with Channel Scanning The data acquisition programming sequences described earlier program the AT-MIO-16D for multiple A/D conversion on a single input channel. You can also program the AT-MIO-16D for scanning analog input channels and switching gain settings during the data acquisition operation.
Page 153
To initiate the data acquisition operation through hardware, apply an active low pulse to the START TRIG* pin on the AT-MIO-16D I/O connector. See the Data Acquisition Timing Connections section in Chapter 2, Configuration and Installation, for START TRIG* signal specifications.
Page 159
To initiate the data acquisition operation through hardware, apply an active low pulse to the START TRIG* pin on the AT-MIO-16D I/O connector. See the Data Acquisition Timing Connections section in Chapter 2, Configuration and Installation, for START TRIG* signal specifications.
After a data acquisition operation is complete, if no errors occurred and the sample count was less than or equal to 10000 hex, then the AT-MIO-16D is left in the same state as it was at the beginning of the data acquisition operation. The counters do not need to be reprogrammed;...
The voltage at the analog output circuitry output pins (pins DAC0 OUT and DAC1 OUT on the AT-MIO-16D MIO-16 I/O connector) is controlled by loading the DAC in the analog output channel with a 12-bit digital code. This DAC is loaded by writing the digital code to the DAC0 and DAC1 Registers.
Channel section earlier in this chapter. RTSI Bus Trigger Line Programming Considerations The RTSI switch connects signals on the AT-MIO-16D to the seven RTSI bus trigger lines. The RTSI switch has seven pins labeled A<6..0> connected to AT-MIO-16D signals and seven pins labeled B<6..0>...
AT-MIO-16D RTSI Signal Connection Considerations The AT-MIO-16D board has a total of nine signals connected to the seven A-side pins of the RTSI switch. These same signals also appear at the AT-MIO-16D I/O connector. As shown in Table 4-8, two AT-MIO-16D signals are connected to pin A2, and two signals are connected to pin A4.
1011, the signal connected to pin A5 appears at pin B4. This arrangement allows Trigger Line 4 to be driven by the AT-MIO-16D OUT1 signal. In this way, boards connected via the RTSI bus can send signals to each other over the RTSI bus trigger lines.
Register is used. The higher-order bits are ignored. Programming DMA Operations The AT-MIO-16D can be programmed so that the A/D FIFO generates a DMA request signal every time one or more A/D conversion values are stored in the A/D FIFO. There are two DMA modes–single-channel transfer and dual-channel transfer.
Register 1 and the INTEN bit in Command Register 2. If these bits are set, if an interrupt occurs from the AT-MIO-16D board, and if the DMATC bit in the Status Register is set, then a DMA terminal count interrupt has occurred. Writing to the DMA TC INT Clear Register or to the A/D Clear Register clears this interrupt condition.
(that is, Mode 0, Mode 1, or Mode 2). When the Control Word Flag is 0, bits 3 through 0 determine the bit set/reset format of Port C. AT-MIO-16D User Manual 4-78...
/* Clear PC2 to enable interrupts. */ DIO-24 Interrupt Handling A jumper setting on the AT-MIO-16D selects the signal that is used for the DIO-24 interrupt enable signal. If jumper W14 is set to N/C, interrupts are disabled. Jumper W14 can be used to select PC2, PC4, or PC6 as the active low interrupt enable signal.
DIO-24 circuitry. An external signal can be used to interrupt the AT-MIO-16D when Port A or Port B is in Mode 0. Select PC2, PC4, or PC6 as the interrupt enable bit and clear the selected bit to enable interrupts.
This chapter discusses the calibration procedures for the AT-MIO-16D analog input and analog output circuitry. The AT-MIO-16D is calibrated at the factory before shipment. To maintain the 12-bit accuracy of the AT-MIO-16D analog input and analog output circuitry, recalibration at six-month intervals is recommended.
(-10 to +10 V and -5 to +5 V), and one for the unipolar input configuration (0 to +10 V). The calibration procedures presented here assume that your AT-MIO-16D board is configured for DIFF input. If necessary, reconfigure your board for DIFF input before using the following calibration procedures.
Appendix A Specifications This appendix lists the specifications for the AT-MIO-16D. These are typical at 25° C unless otherwise stated. The operating temperature range is 0° to 70° C. MIO-16 Circuitry Specifications Analog Input Number of input channels 16 single-ended, 8 differential...
±1 LSB; thus, the ADC would have a relative accuracy of that amount. National Instruments tests its boards to ensure that they meet all three linearity specifications defined in this appendix; specifications for integral nonlinearity are included primarily to maintain compatibility with a convention of specifications used by other board manufacturers.
(0.01%) is added to the conversion time of the ADC. The sample-and-hold amplifier in the AT-MIO-16D takes 1 µsec typical and 1.5 µsec maximum to settle to 0.01% for a 10 V step. The data acquisition rates shown in the preceding table are the best rates for single-channel acquisition.
Appendix D AT-MIO-16D I/O Connector This appendix describes the pinout and signal names for the AT-MIO-16D 100-pin I/O connector. AI GND AI GND ACH0 ACH8 ACH1 ACH9 ACH2 ACH10 ACH3 ACH11 ACH4 ACH12 ACH5 ACH13 ACH6 ACH14 ACH7 ACH15 AI SENSE...
Filling out a copy of the Technical Support Form before contacting National Instruments helps us help you better and faster. National Instruments provides comprehensive technical assistance around the world. In the U.S. and Canada, applications engineers are available Monday through Friday from 8:00 a.m. to 6:00 p.m.
Page 263
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.
Page 264
Completing this form accurately before contacting National Instruments for technical support helps our applications engineers answer your questions more efficiently.
Page 265
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: AT-MIO-16D User Manual Edition Date: March 1995 Part Number: 320489-01 Please comment on the completeness, clarity, and organization of the manual.
Page 271
Index list of, A-4 AO GND signal, 2-23, 2-33 to 2-34 applying a trigger. See trigger, applying. AT-MIO-16D. See also specifications; theory of operation. block diagram, 3-1 definition of, v description of, 1-1 to 1-3 illustration of, 1-2 interface with other AT series boards, 1-2 to 1-3...
Need help?
Do you have a question about the AT-MIO-16D and is the answer not in the manual?
Questions and answers