Intended Audience This document is intended for engineers, scientists, technicians, or others responsible for setting up a DT340 board to perform data acquisition operations. It is assumed that you are familiar with the requirements of your application. It is also assumed that you are ...
DT340 board. • Chapter “Verifying the Operation of a DT340 Board,” describes how to verify the operation of a DT340 board with the Quick Data Acq application • Appendix “Using Your Own Screw Terminal Panel,” describes additional considerations to keep in mind when designing your own screw terminal panel for use with a DT340 board.
• The DT340 User’s Manual (UM-16862). Included on the Data Acquisition OMNI CD shipped with the DT340 board, this manual describes the features of the DT340 boards and the DT340 Device Driver in detail. • DataAcq SDK Getting Started Manual (UM-18326). Included on the...
About this Manual Where To Get Help Should you run into problems installing or using a DT340 board, our Technical Support Department is available to provide technical assistance. Refer to the DT340 User’s Manual for more information (refer to page 11 for more information on viewing this manual).
Chapter 1 DT340 Key Hardware Features The DT340 is a low-cost, counter/timer and digital I/O board for the PCI bus. The key features of this board are listed in Table Table 1: Key Features of DT340 Board Feature Specification Number of Counter/Timers...
• The Quick Data Acq application − This application provides a quick way to get a DT340 board up and running. Using the Quick Data Acq application, you can verify the features of the board, display data on the screen, and save data to disk.
The flow diagram shown in Figure 1 illustrates the steps needed to get started using a DT340 board. This diagram is repeated in each chapter; the shaded area in the diagram shows you where you are in the getting started procedure.
Installing the Software........Viewing the DT340 Documentation Online ....
Page 14
Chapter 2 Prepare to Use a Board (this chapter) Install the Board and Load the Device Driver (see Chapter 3 starting on page Attach and Configure the Screw Terminal Panel (see Chapter 4 starting on page Wire Signals (see Chapter 5 starting on page Verify the Operation of the Board (see Chapter 6 starting on page...
• DT340 data acquisition board, and • Data Acquisition OMNI CD. If an item is missing or damaged, contact Data Translation. If you are in the United States, call the Customer Service Department at (508) 481-3700. An application engineer will guide you through the appropriate steps for replacing missing or damaged items.
Chapter 2 Checking the System Requirements For reliable operation, your DT340 board requires the following minimum system requirements: • An 80486, Pentium, or compatible processor; • At least one available PCI (revision 2.0-compliant or greater), 32-bit or 64-bit, +5 V expansion slot;...
WDM-compliant device drivers and DLLs (version 5.0 or greater) for the DT340 board. Other Data Translation boards/modules may not provide WDM-compliant drivers. You cannot use a DT340 board at the same time as another Data Translation board/module unless both devices provide WDM-compliant drivers.
Page 18
Chapter 2 Select DT340, then click Next. You are prompted for the program folder name. 10. Either change the program folder name or accept the default program folder name, then click Next. The files are copied to the destination directory.
Preparing to Use a DT340 Board Viewing the DT340 Documentation Online Once you have installed the DT340 Software, you can view the DT340 documentation by clicking the manual title. You can access the manuals from the Data Translation, Inc\DT340 program group.
Setting up an Expansion Slot ......Configuring the DT340 Board ......
Page 22
Chapter 6 starting on page Note: All DT340 boards are factory-calibrated and require no further adjustment prior to installation. If you are using the DT340 board and decide later to recalibrate it, refer to the DT340 User’s Manual for instructions (see page 11 for information on viewing this manual).
Installing a DT340 Board and Loading the Device Driver Setting up the Computer CAUTION: To prevent electrostatic damage that can occur when handling electronic equipment, use a ground strap or similar device when performing this installation procedure. To set up the computer, perform the following steps: Turn off the computer.
Chapter 3 Setting up an Expansion Slot Once you have set up the computer, set up an expansion slot by performing the following steps: Select a 32-bit or 64-bit PCI expansion slot. PCI slots are shorter than ISA or EISA slots and are usually white or ivory.
Installing a DT340 Board and Loading the Device Driver Configuring the DT340 Board The DT340 board has eight resistor locations that correspond to the eight clock input signals on the board. Figure 2 shows the location of the resistors on the DT340 board.
Page 26
For example, if you are connecting an external clock signal to clock input signal 0 on the DT340 board and running the board at its maximum clock input frequency, it is recommended that you insert a 110 Ω resistor to ground on the board for the clock input signal 0, and replace the 0 Ω...
Installing a DT340 Board and Loading the Device Driver Inserting the DT340 Board into the Computer Once you have set up an expansion slot and configured the DT340 board, perform the following steps to insert the DT340 board into the computer:...
Page 28
Secure the board in place at the rear panel of the system unit using the screw removed from the slot cover. Power up the computer. If you installed the DT340 software (as described on page 9), the DT340 device driver is automatically loaded. If you have not installed the...
Installing a DT340 Board and Loading the Device Driver Loading the Device Driver To load the DT340 Device Driver in Windows 98, follow the steps in the next section. To load the DT340 Device Driver in Windows Me, follow the steps on page 22.
Once the driver is loaded, perform the steps in Chapter 4 to attach and configure the screw terminal panel for use with the DT340 board. Windows Me In Windows Me, the driver is automatically loaded when you install the DT340 driver from the Data Acquisition OMNI CD. To configure the device driver, perform the following steps: Open the Control Panel.
Once the driver is loaded, perform the steps in Chapter 4 to attach and configure the screw terminal panel for use with the DT340 board. Windows 2000 Once you have installed the DT340 driver, installed a DT340 board, and powered up the host computer, the New Hardware Found dialog box appears.
Page 32
13. If you wish to change the name of the board, click Edit Name and enter a new name for the board. Otherwise, exit from the Control Panel. Once the driver is loaded, perform the steps in Chapter 4 to attach and configure the screw terminal panel for use with the DT340 board.
Attaching and Configuring the Screw Terminal Panel Attaching the STP340 Screw Terminal Panel ....Configuring the STP340........
Page 34
Chapter 4 Prepare to Use a Board (see Chapter 2 starting on page Install the Board and Load the Device Driver (see Chapter 3 starting on page Attach and Configure the Screw Terminal Panel (this chapter) Wire Signals (see Chapter 5 starting on page Verify the Operation of the Board (see Chapter 6 starting on page...
Attaching the STP340 Screw Terminal Panel Connector J1 on the screw terminal panel provides all of the digital and counter/timer signals from connector J1 on the DT340 board. Cable EP305 connects connector J1 on the screw terminal panel to the DT340 board.
Chapter 4 Configuring the STP340 The STP340 screw terminal panel has eight resistor locations which correspond to the eight clock input signals. Figure 5 shows the location of the resistors on the STP340 screw terminal panel. J1, 68-Pin Connector TB28 TB20 TB12 Resistor...
Page 37
For example, if you are connecting an external clock signal to clock input signal 0 on the DT340 board and running the board at its maximum clock input frequency, it is recommended that you insert a 110 Ω resistor to ground on the board for the clock input signal 0, and replace the 0 Ω...
Wiring Signals Before Wiring ......... . Connecting Counter/Timer Signals .
Page 40
Chapter 5 Prepare to Use a Board (see Chapter 2 starting on page Install the Board and Load the Device Driver (see Chapter 3 starting on page Attach and Configure the Screw Terminal Panel (see Chapter 4 starting on page Wire Signals (this chapter) Verify the Operation of the Board...
0 to 3. This is the CE configuration of the board. • Use individually shielded twisted-pair wire (size 14 to 26 AWG) when using the DT340 board in highly noisy electrical environments. • Separate power and signal lines by using physically different wiring paths or conduits.
Chapter 5 STP340 Screw Terminal Assignments Table 4 lists the screw terminal assignments for the STP340 screw terminal panel. Table 4: Screw Terminal Assignments on the STP340 Screw Terminal Panel Pin # Signal Description Pin # Signal Description Digital Ground C/T Clock Input 0 C/T Clock Output 0 C/T Gate Input 0...
Page 43
Wiring Signals Table 4: Screw Terminal Assignments on the STP340 Screw Terminal Panel (cont.) Pin # Signal Description Pin # Signal Description Digital I/O Port A, Line 3 Digital I/O Port A, Line 4 Digital I/O Port A, Line 5 Digital I/O Port A, Line 6 Digital I/O Port A, Line 7 Digital Ground...
Chapter 5 Connecting Counter/Timer Signals The DT340 board with the STP340 screw terminal panel provides user counter/timers that you can use to perform the following operations: • Event counting, • Frequency measurement, and • Pulse output (rate generation, one-shot, and repetitive one-shot).
Page 45
Wiring Signals Figure 7 shows another example of connecting an event counting application to the STP340 screw terminal panel using user counter 0. In this example, a software gate is used to start the event counting operation. Digital Ground User Clock Input 0 Signal Source Shield TB33...
Chapter 5 Digital Ground User Counter User Clock Input 0 Output 0 Signal Source Gate 0 TB11 External User TB12 Gating Clock Digital Ground Switch Input 2 TB33 Shield STP340 Panel Figure 8: Cascading Counters (Shown for Event Counting Using Counters 0 and 2 and External Gate 0 Connecting Frequency Measurement Signals This section shows two examples of how to connect a frequency...
Wiring Signals Digital Ground User Clock Input 0 Signal Source Gate 0 TB10 User Counter Output 2 TB33 Shield STP340 Panel Figure 9: Connecting Frequency Measurement Applications to the STP340 Screw Terminal Panel (Shown for Clock Input 0 and External Gate 0) Connecting Pulse Output Signals Figure 10 shows one example of connecting a pulse output...
Page 48
Chapter 5 Digital Ground Heater Controller User Counter Output 0 Gate 0 External Gating Digital Ground Switch TB12 Shield TB33 STP340 Panel Figure 10: Connecting Pulse Output Applications to the STP340 Screw Terminal Panel (Shown for Counter Output 0 and Gate 0) Figure 11 shows an example of how to externally cascade two counters to perform a rate generation operation using user counters 0...
Page 49
Wiring Signals Digital Ground User Counter User Clock Input 0 Output 0 Signal Source Gate 0 External TB11 Gating User TB12 Switch Clock Digital Ground Input 2 TB33 Shield STP340 Panel Figure 11: Cascading Counters (Shown for Rate Generation Using Counters 0 and 2 and External Gate 0) Figure 12 shows an example of how to externally cascade two...
Page 50
Chapter 5 Digital Ground User Counter User Clock Input 0 Output 0 Signal Source Gate 2 One-Shot TB11 Trigger User TB12 Clock Digital Ground Input 2 TB33 Shield STP340 Panel Figure 12: Cascading Counters (Shown for One-Shot Using Counters 0 and 2 and External Gate 2)
Wiring Signals Connecting Digital Input Signals Figure 13 shows how to connect a digital input signal (lines 0 and 1 of digital Port A, in this case) to the STP340 screw terminal panel. TB33 Shield TB34 Digital I/O Port A 0 TB35 TTL Inputs Digital I/O Port A 1...
Chapter 5 Connecting Digital Output Signals Figure 14 shows how to connect a digital output signal (line 0 of digital Port B, in this case) to the STP340 screw terminal panel. 0 Out = LED On TB44 Ω Digital I/O Port B 0 Digital Ground TB52 STP340 Panel...
Verifying the Operation of a DT340 Board Installing the Quick Data Acq Application ....Running the Quick Data Acq Application ....
Page 54
Chapter 5 starting on page Verify the Operation of the Board (this chapter) You can verify the operation of a DT340 board using the Quick Data Acq application. Quick Data Acq allows you to perform the following operations: • Acquire data from a single digital input port;...
Verifying the Operation of a DT340 Board Installing the Quick Data Acq Application To install the Quick Data Acq application, perform the following steps: Insert the Data Acquisition OMNI CD into your CD-ROM drive. Click Start from the Task Bar, then click Run.
To run the Quick Data Acq application, perform the following steps: If you have not already done so, power up your computer and any attached peripherals. Select Quick Data Acq from the Data Translation, Inc\Quick Data Acq program group. Note: The Quick Data Acq application allows you to verify basic operations on the board;...
Click the Acquisition menu. Click Digital Input. Select the appropriate DT340 board from the Board list box. Select digital input port A by clicking Port A. Click Get. The value of each digital input line in port A is displayed on the screen in both text and graphical form.
Performing a Frequency Measurement Operation To verify that the board can perform a frequency measurement operation, perform the following steps: Wire an external clock source to counter/timer 0 on the DT340 board. Refer to page 39 for an example of how to connect a an external clock for a frequency measurement operation.
To verify that the board can perform a pulse output operation, perform the following steps: Connect a scope to counter/timer 0 on the DT340 board. Refer to page 40 for an example of how to connect a scope (a pulse output) to counter/timer 0.
Using Your Own Screw Terminal Panel Digital Inputs and Counter/Timer Inputs ....Digital Outputs ......... Cabling Information.
Page 62
If you choose not to use the STP340 screw terminal panel, you can use the STP-68 screw terminal panel provided by Data Translation (described in the DT340 User’s Manual), or you can design your own screw terminal panel. If...
Using Your Own Screw Terminal Panel Digital Inputs and Counter/Timer Inputs TTL-type inputs must have current limiting so that circuitry is not damaged when power is removed. On all Data Translation PCI boards, current limiting is used to prevent damage in this fault condition.
Appendix A Digital Outputs If you are using the high drive capability of any of the PCI boards, ensure that the load is returned to the digital ground provided in the connector next to the outputs. If just eight of the digital outputs are switching 16 mA per output, then 128 mA of current flows.
Using Your Own Screw Terminal Panel Cabling Information If you are building your own cable, the following information may be useful: • Conductors: 34 twisted pairs, shielded, #28 AWG; • Connectors: (1) 68-pin Amp, receptacle, self-locking, AMP # 787170-7.
STP340 digital outputs connecting externally cascaded when not using the STP340 counter/timers when using the STP340 connecting frequency measurement DT340 Device Driver signals connecting pulse output signals attaching the screw terminal panel event counting expansion slot selection cabling information...
Page 68
Index resistors on the DT340 board loading the device driver on the STP340 panel Windows 2000 running the Quick Data Acq Windows 98 application Windows Me Windows NT 4.0 screw terminal panel attaching manuals layout selecting an expansion slot setting up the computer...
Page 69
Index wiring signals digital input signals digital output signals event counting signals externally cascaded counter/timers frequency measurement signals pulse output signals...
Need help?
Do you have a question about the DT340 and is the answer not in the manual?
Questions and answers