Keithley DAS-1700 Series Manual

Using driverlinx with your hardware
Table of Contents

Advertisement

Quick Links

Keithley DAS-1700 Series
Using DriverLINX with Your
Hardware

Advertisement

Table of Contents
loading

Summary of Contents for Keithley DAS-1700 Series

  • Page 1 Keithley DAS-1700 Series Using DriverLINX with Your Hardware...
  • Page 2 This document may not, in whole or in part, be copied, photocopied, reproduced, translated or reduced to any electronic medium or machine readable form without prior written consent from Scientific Software Tools, Inc. Keithley DAS-1700 Series: Using DriverLINX with Your Hardware Copyright © 1999 by Scientific Software Tools, Inc. All rights reserved.
  • Page 3: Table Of Contents

    Digital Input Subsystem Page ..................22 Digital Output Subsystem Page .................24 Counter/Timer Subsystem Page.................26 Using the DAS-1700 Series with DriverLINX Introduction..........................27 DriverLINX Hardware Model for DAS-1700 Series ...............27 DriverLINX Subsystems....................27 DriverLINX Modes ....................28 DriverLINX Operations and Events ................30 Logical Channels .......................32 Buffers ........................32...
  • Page 4 Solving Problems Installing Drivers ................105 Solving Problems Configuring the Drivers ..............105 Solving Problems Loading Drivers................106 Generating a DriverLINX Configuration Report ..............109 What is in the Report? .....................109 How do I Generate the Report? ................109 Glossary of Terms 4 • Contents Keithley DAS-1700 Series...
  • Page 5: Preface

    Tools, Inc. if Licensee fails to comply with any term or condition of this License. The Licensee agrees upon such termination to return or destroy the written materials and all copies of the software. The Licensee may terminate the agreement by returning or destroying the program and documentation and all copies thereof. Preface • 5 Keithley DAS-1700 Series...
  • Page 6 JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR LIMITATIONS ON DURATION OF AN IMPLIED WARRANTY, THE ABOVE LIMITATIONS MAY NOT APPLY TO LICENSEE. This agreement is governed by the laws of the Commonwealth of Pennsylvania. 6 • Preface Keithley DAS-1700 Series...
  • Page 7: About Driverlinx

    For additional help programming your board, please examine the source code examples on the Distribution Disks. This manual contains the following chapters: Configuring the DAS-1700 Series Shows how to configure the DAS-1700 Series using the Configure DriverLINX Device dialog box. Using the DAS-1700 Series with DriverLINX Preface • 7...
  • Page 8 Shows how to set up DriverLINX with the Edit Service Request dialog box to use DAS-1700 Series hardware features. Uninstalling DriverLINX Describes how to remove DriverLINX hardware drivers and other files. Troubleshooting Gives troubleshooting tips for installing, configuring, and loading DriverLINX drivers.
  • Page 9: Conventions Used In This Manual

    Code • A box with a double line bound tables of information. Tables • Important concepts and notes are printed in the left margin. Concept Preface • 9 Keithley DAS-1700 Series...
  • Page 11: Configuring The Das-1700 Series

    DriverLINX uses a standardized configuration protocol for all data-acquisition hardware. Configuration assigns a port address, interrupt resources and a DriverLINX Logical Device number to a specific DAS-1700 Series board in your computer. The installation program automatically starts the DriverLINX Configuration Panel.
  • Page 12 When you click the Configure… button on the DriverLINX Configuration Panel, DriverLINX displays the Configure DriverLINX Device dialog. The dialog has a page for each subsystem on a Keithley DAS-1700 Series model. The following sections describe your choices in configuring DriverLINX to work with your board.
  • Page 13: Device Subsystem Page

    Device Subsystem Page Use the Device subsystem page to tell DriverLINX the model name, address and, optionally, the expansion accessories connected to your DAS-1700 Series board. Vendor The Vendor property displays “Keithley MetraByte” It is a read-only property. Device The Device property designates the Logical Device you are configuring. It is a read- only property.
  • Page 14 For maximum system reliability, always leave this check-box marked. Calibrate The Calibrate property enables and disables hardware auto-calibration. This option is grayed-out for the DAS-1700 Series because it does not support automatic calibration. 14 • Configuring the DAS-1700 Series Keithley DAS-1700 Series...
  • Page 15 Special… The Special… button displays the following dialog box of DAS-1700 Series-specific configuration options: Common-mode reference The DAS-1700 has two grounding options for single-ended analog inputs. They determine the ground reference for the ADC input amplifier. • LL GND — references the analog ground connection.
  • Page 16 Service Request to run from the DAC FIFO buffer in re-cycle mode: Service Request Property Value Request mode Interrupt Stop event type Command Buffer notify flag False Buffer samples × Number of buffers < 2048 16 • Configuring the DAS-1700 Series Keithley DAS-1700 Series...
  • Page 17 Click the Properties button. On the board’s property page, click the Resources tab. To change the number and type of resources, select a different Basic Configuration under Setting based on. Configuring the DAS-1700 Series • 17 Keithley DAS-1700 Series...
  • Page 18 10. The board’s address switches must match the address setting you select. If necessary shut down your computer and reposition them as described in your hardware manual. 11. Restart Windows to load the Logical Device for your board using the new settings. 18 • Configuring the DAS-1700 Series Keithley DAS-1700 Series...
  • Page 19: Analog Input Subsystem Page

    DAS-1700-specific features as well as those that use only generic features. For programming information, see “Analog Input Channels” on page 53. Range The analog input ranges for the DAS-1700 Series are fully software programmable. DriverLINX grays out this property in the configuration dialog. Interrupt Configure the board with an interrupt for full support of the board’s capabilities.
  • Page 20: Analog Output Subsystem Page

    Initialize check box. Interrupt The DAS-1700 Series uses the same interrupt for analog output as for analog input. Go to the Analog Input subsystem page to view or set it. DMA applies only to the DAS-1701AO and DAS-1702AO models. Configure the board with a DMA channel for full support of the board’s capabilities.
  • Page 21 DMA channel. To change the setting, see “Using the Windows 95/98 Device Manager” on page 17. Initialize Checking the Initialize check box instructs DriverLINX to use the Volts property to initialize the selected analog output channel. Configuring the DAS-1700 Series • 21 Keithley DAS-1700 Series...
  • Page 22: Digital Input Subsystem Page

    Logical Channel. This is a read-only property. Interrupt The DAS-1700 Series does not use interrupts for the digital input subsystem. DriverLINX disables this property and displays it as blank. The DAS-1700 Series does not use system DMA channels. DriverLINX disables this property and displays it as blank.
  • Page 23 Initialize Checking the Initialize check box instructs DriverLINX to use the Configuration Setup property to configure the digital I/O ports. The DAS-1700 Series has a fixed digital I/O configuration. Therefore, DriverLINX disables this field. Configuring the DAS-1700 Series • 23...
  • Page 24: Digital Output Subsystem Page

    Logical Channel. This is a read-only property. Interrupt The DAS-1700 Series does not use interrupts for the digital output subsystem. DriverLINX disables this property and displays it as blank. The DAS-1700 Series does not use system DMA channels for Digital Output.
  • Page 25 Logical Channel upon hardware initialization. DriverLINX only writes this value if you enable the Initialize check box. By default, DriverLINX uses the hardware-defined initialization values if the Initialize check box is not checked. For the DAS-1700 Series, the default digital output value is zero. Initialize Checking the Initialize check box instructs DriverLINX to use the Initialization Value property for digital output port initialization.
  • Page 26: Counter/Timer Subsystem Page

    5.0 MHz clock source for pacing analog input. AO models also use the 5.0 MHz clock source for pacing analog output. Interrupt The DAS-1700 Series does not support interrupts from counter/timers. DriverLINX disables this property and displays it as blank. 26 • Configuring the DAS-1700 Series...
  • Page 27: Using The Das-1700 Series With Driverlinx

    Using the DAS-1700 Series with DriverLINX Introduction This chapter shows you how to set up and use DAS-1700 Series hardware features See the Analog I/O Programming Guide for an with DriverLINX. overview of DriverLINX The descriptions here use the Edit Service Request dialog for language and API programming.
  • Page 28: Driverlinx Modes

    DriverLINX’s messages (preferred). DriverLINX supports this mode for buffered data transfers or for commands that require a significant time to complete. DriverLINX supports four modes with the DAS-1700 Series for its commands (Service Requests). • Polled Mode—This is a foreground or synchronous operation.
  • Page 29 The following table summarizes the data acquisition modes that DriverLINX supports for each subsystem with the Keithley DAS-1700 Series. Subsystem Polled Interrupt Other √ √ √ √ Analog Input √ √ √ Analog Output (DA models) √ √ √ √...
  • Page 30: Driverlinx Operations And Events

    DriverLINX operations and events in many possible ways. The following table summarizes the operations and events that DriverLINX supports for the Keithley DAS-1700 Series. Later sections for each DriverLINX subsystem will describe the operations and events in more detail.
  • Page 31 TC Interrupt Start, Stop, rate cmd, TC Interrupt Other Initialize Counter/Timer Other Initialize Device Other Initialize, Capabilities Allowed Operations and Events for DAS-1700 Series Subsystems and Modes. Using the DAS-1700 Series with DriverLINX • 31 Keithley DAS-1700 Series...
  • Page 32: Logical Channels

    • User applications usually don’t have concurrent or immediate access to the in-use data buffer while DriverLINX is executing a data-acquisition task. 32 • Using the DAS-1700 Series with DriverLINX Keithley DAS-1700 Series...
  • Page 33: Connecting Signals To The Das-1700 Series

    Connecting Signals to the DAS-1700 Series The Keithley hardware manual describes the data and control signals for the DAS- 1700 Series and the connector pinouts for these signals. This section summarizes how DriverLINX numbers the I/O data signals and how DriverLINX uses the control connections for external clock, trigger, and gating inputs.
  • Page 34 Connector Name DriverLINX Usage XPCLK External pacer clock: • Rate Timing Event • Digital Timing Event How DriverLINX uses analog input control signals. 34 • Using the DAS-1700 Series with DriverLINX Keithley DAS-1700 Series...
  • Page 35: Analog Output Subsystem Signals

    External gate: • Rate Timing Event • Digital Start Event (Gating) XPCLK External pacer clock: • Rate Timing Event • Digital Timing Event How DriverLINX uses analog output control signals. Using the DAS-1700 Series with DriverLINX • 35 Keithley DAS-1700 Series...
  • Page 36: Digital Input Subsystem Signals

    Logical Channel. DriverLINX maps these signals as shown in the following table: Timer Connector Name Logical Channel Input Pacing Counter XPCLK Output Pacing Counter XPCLK (AO models only) How DriverLINX maps counter/timer hardware channels to Logical Channels. 36 • Using the DAS-1700 Series with DriverLINX Keithley DAS-1700 Series...
  • Page 37: Device Subsystem

    DAS-1700 Series. Device Modes The Device Subsystem supports only DriverLINX’s Other mode for all operations. Device Operations The DAS-1700 Series Device Subsystem supports the following DriverLINX operations: • If another application is using Initialize—DriverLINX aborts all data-acquisition tasks for every the same data-acquisition subsystem controlled by the current application.
  • Page 38: Analog Input Subsystem

    DriverLINX error message. Analog Input Pacing, Triggering and Gating Options The DAS-1700 Series User’s Guides describe several pacing, triggering and gating options available on DAS-1700 models. The following table summarizes these options and identifies which Service Request properties use them. Except as indicated all tasks must use Interrupt or DMA mode.
  • Page 39 Digital stop event Trigger-to-about-trigger Digital start event Digital stop event with positive delay Gate Level +/- Rate timing event Digital start event (for use with a digital timing event) Using the DAS-1700 Series with DriverLINX • 39 Keithley DAS-1700 Series...
  • Page 40: Analog Input Timing Events

    The Null Event specifies that the task does not need a clock to determine when to acquire the next sample. Rate Timing Event The DAS-1700 Series supports two types of Rate Events for analog input: • Rate Generator—Generates a fixed rate clock with equal time intervals between tics.
  • Page 41 Use an internally clocked rate generator when you want to acquire all analog input samples at equally spaced time intervals. How to set up the DAS-1700 Series for fixed rate sampling using an internal clock. Using the DAS-1700 Series with DriverLINX • 41...
  • Page 42 Simultaneous box in the Channels section. Simultaneous means that all selected channels are sampled in each sample period. Also see: “Repeat Mode Sampling on the DAS-1702HR-DA” on page 57. 42 • Using the DAS-1700 Series with DriverLINX Keithley DAS-1700 Series...
  • Page 43 In this mode you will need a separate external clock tic for each analog sample you want to acquire. How to set up the DAS-1700 Series for fixed rate sampling using an external clock. •...
  • Page 44 Note: You cannot use a gated clock with a digital start or stop trigger. • For simultaneous sampling using an SSH-8 accessory, check the Simultaneous box in the Channels section. Also see: “Repeat Mode Sampling on the DAS-1702HR-DA” on page 57. 44 • Using the DAS-1700 Series with DriverLINX Keithley DAS-1700 Series...
  • Page 45 Use an internally clocked rate generator when you want to acquire analog input samples from a several channels at closely spaced time intervals and then repeat at longer intervals. How to set up the DAS-1700 Series for burst mode sampling using an internal clock. • For hardware independence,...
  • Page 46 In this mode you will need a separate external clock tic for each burst of analog samples you want to acquire. How to set up the DAS-1700 Series for burst mode sampling using an external clock. •...
  • Page 47 The Pulses property specifies how many channels the board samples in each Period. Pulses must equal the number of channels in the channel list. Also see: “Repeat Mode Sampling on the DAS-1702HR-DA” on page 57. Using the DAS-1700 Series with DriverLINX • 47 Keithley DAS-1700 Series...
  • Page 48 Generators. Use this technique for compatibility with data-acquisition products that only support external clock sources, such as some digital I/O products. How to set up the DAS-1700 Series for external rate sampling using a digital event. • Specify external clocking using Channel 1. For hardware- independence, you can specify the hardware external trigger channel by the symbolic constant, DI_EXTCLK.
  • Page 49: Analog Input Start Events

    Use post-triggering when you want to synchronize the start of data acquisition with an external signal. How to set up the DAS-1700 Series for post-triggered analog input. Using the DAS-1700 Series with DriverLINX • 49 Keithley DAS-1700 Series...
  • Page 50 To set up gating for a rate timing event, see “Rate Timing Event” on page 40. How to set up the DAS-1700 Series for gated analog input. 50 • Using the DAS-1700 Series with DriverLINX Keithley DAS-1700 Series...
  • Page 51: Analog Input Stop Events

    Specify the Delay property as 0. DriverLINX does not use a delay with gating. Analog Input Stop Events Stop Events specify when the hardware stops acquiring analog input data. The DAS-1700 Series supports the following Stop Events: • None—Use this event when the DriverLINX operation doesn’t require a Stop Event.
  • Page 52 Use pre-triggering when you want to synchronize the end of data acquisition with an external signal. How to set up the DAS-1700 Series for pre-triggered analog input. Digital Stop Events contain mask, pattern, and match fields. The mask is logically ANDed with the digital input data on the Logical Channel and then compared with the pattern for a match/mismatch.
  • Page 53: Analog Input Channels

    Channel List—Acquire data from a list of channels. Single Channel Analog Input In single channel mode, the DAS-1700 Series acquires all data from one channel at the specified gain. How to set up the DAS-1700 Series for sampling on a single channel.
  • Page 54 Internal Clocking” on page 41 or “Rate Generator: External Clocking” on page 43. How to set up the DAS-1700 Series for sampling on a consecutive range of channels. Multi-channel Analog Input List In multi-channel list mode, the DAS-1700 Series acquires data from an arbitrary list of analog channels.
  • Page 55 How to set up the DAS-1700 Series to sample on an arbitrary list of channels. Analog Input Channel Gains Each channel in a channel scan list has a gain code property to select the pre- amplifier gain when sampling that channel. The following tables show the correspondence between the gain multiplier, the maximum input signal range, and the gain code for each input range.
  • Page 56 See “Special…” on page 15 for information on configuring an SSH-8 unit. Analog Input Channel Connection Types On the DAS-1700 Series, each Analog Input channel can use single-ended or differential connections. When configuring the Analog Input Subsystem, you choose a default configuration for all channels. Applications can use the default configuration or specify the connection type for each channel it uses.
  • Page 57 Pulses Field with a Repeat Count Repeat Count Pulse Count Pulses = PULSE_REPEAT_COUNT_FLAG + RepeatCount × (PULSE_COUNT_MASK + 1) AND PULSE_REPEAT_COUNT_MASK + PulseCount AND PULSE_COUNT_MASK Using the DAS-1700 Series with DriverLINX • 57 Keithley DAS-1700 Series...
  • Page 58: Analog Input Expansion Channels

    Analog Input Expansion Channels Multiplexers can expand the number of analog input channels from the 16 base channels up to 256 differential analog input channels. The DAS-1700 Series hardware automatically switches the multiplexer channels, allowing you to specify expansion channels numbers along with base channels numbers in a channel list.
  • Page 59 Base Chan # 7 etc Chan Table of logical channel numbers for DAS-1700 expansion boards. Using the DAS-1700 Series with DriverLINX • 59 Keithley DAS-1700 Series...
  • Page 60: Analog Input Buffers

    • For buffered input, specify the Number of buffers from 1 to 255 and the number of Samples as desired. How to set up the DAS-1700 Series to store samples in buffers. Buffer Size For example, 500 samples/2 An individual DriverLINX buffer may have any size as long as the buffer length holds an integral number of channel scans (i.e., a multiple of the number of analog...
  • Page 61: Analog Input Data Coding

    KPCI-1800’s Configure DriverLINX Device dialog. Analog Input Data Coding DAS-1700 Series models return Analog Input hardware codes using binary integers for unipolar ranges and offset binary for bipolar ranges. DriverLINX refers to these coding schemes as the “native” format.
  • Page 62 2047 Unipolar 4095 DAS-1700 Series native Analog Input Codes versus Voltage Range (except HR models). DriverLINX refers to the default hardware analog-coding scheme as the “native” format. For computer arithmetic in a higher level language, the integer, or two’s complement, format is generally easier to use. For unipolar data, native and integer formats are identical.
  • Page 63: Analog Input Messages

    For detailed explanations of these messages see one of the following references: • DriverLINX Technical Reference Manual for C/C++ users • DriverLINX/VB Technical Reference Manual for VB or Delphi users Using the DAS-1700 Series with DriverLINX • 63 Keithley DAS-1700 Series...
  • Page 64: Analog Output Subsystem

    Analog Output Pacing, Triggering and Gating Options The DAS-1700 Series User’s Guides describe several pacing, triggering and gating options available on DAS-1700 models. Most are available only on the DAS- 1700AO models. The following table summarizes these options and identifies which Service Request properties use them.
  • Page 65 Digital start event Retrigger Digital start event (Interrupt mode; task must meet certain conditions) Gate Level +/- Rate timing event Digital start event (for use with a digital timing event) Using the DAS-1700 Series with DriverLINX • 65 Keithley DAS-1700 Series...
  • Page 66: Analog Output Timing Events

    Analog Output Timing Events Timing Events specify how the hardware paces or clocks the writing of analog output samples. DriverLINX uses the Timing Event to program when the DAS-1700 Series writes the next analog output sample. The DAS-1700 Series supports the following Timing Events: •...
  • Page 67 Period Use an internally clocked rate generator when you want to write analog output samples at equally spaced time intervals. How to set up the DAS-1700 Series for fixed rate writing using an internal clock. • For hardware independence, Specify internal clocking using a Rate Generator on Channel 1 with specify the clock channel the Internal 1 Clock source.
  • Page 68 Also see: “Synchronizing an Analog Output Task with an Analog Input Task” on page 72. 68 • Using the DAS-1700 Series with DriverLINX Keithley DAS-1700 Series...
  • Page 69 In this mode you will need a separate external clock tic for each analog sample you want to write. How to set up the DAS-1700 Series for fixed rate sampling using an external clock. •...
  • Page 70 Note: You cannot use a gated clock with a digital start or stop trigger. • Check the Simultaneous box in the Channels section. Multi-channel analog output on the DAS-1700 Series models is always simultaneous. Also see: “Synchronizing an Analog Output Task with an Analog Input Task” on page 72.
  • Page 71 Generators. Use this technique for compatibility with data-acquisition products that only support external clock sources, such as some digital I/O products. How to set up the DAS-1700 Series for external rate sampling using a digital event. • Specify external clocking using Channel 1. For hardware- independence, you can specify the hardware external trigger channel by the symbolic constant, DI_EXTCLK.
  • Page 72: Analog Output Start Events

    Synchronizing an Analog Output Task with an Analog Input Task On the DAS-1700 Series, DriverLINX can synchronize an analog output task with an analog input task. The analog output task uses the same timing event as the input task. To synchronize an analog output (AO) task with an analog input (AI) task: Set up the AI service request.
  • Page 73 How to set up the DAS-1700 Series for post-triggered analog output. Digital Start Events contain mask, pattern, and match fields. The mask is logically ANDed with the digital input data on the Logical Channel and then compared with the pattern for a match/mismatch.
  • Page 74 How to set up the DAS-1700 Series for gated analog output. Digital Start Events contain mask, pattern, and match fields. The mask selects which bit in the Logical Channel to use as a gate input. The pattern selects whether the gate is active, or enables data-acquisition, when the gate signal is high or low.
  • Page 75 How to set up the DAS-1700 Series for post-triggered analog output. Digital Start Events contain mask, pattern, and match fields. The mask is logically ANDed with the digital input data on the Logical Channel and then compared with the pattern for a match/mismatch.
  • Page 76: Analog Output Stop Events

    Analog Output Stop Events Stop Events specify when the hardware stops acquiring analog output data. The DAS-1700 Series supports the following Stop Events: • None—Use this event when the DriverLINX operation doesn’t require a Stop Event. • Command—DriverLINX stops the task on software command, i.e., when the application issues a Service Request with a Stop operation.
  • Page 77: Analog Output Channels

    Channel List—Write data to a list of channels. Single Channel Analog Output In single channel mode, the DAS-1700 Series writes all data to one channel at the specified gain. How to set up the DAS-1700 Series for writing to sampling on a single channel.
  • Page 78 How to set up the DAS-1700 Series for writing to a consecutive range of channels. Multi-channel Analog Output List In multi-channel list mode, the DAS-1700 Series writes data to an arbitrary list of analog channels. • The channel-gain list may contain up to channels in any order and with any allowed gain but may repeat any channel.
  • Page 79: Analog Output Channel Gains

    Analog Output Channel Gains The DAS-1700 Series models support a variety of channel gains. The following table shows the correspondence between DriverLINX gains, the maximum output signal range, and the gain code for each output range. Note: DriverLINX uses a negative (-) gain value to signify a bipolar (±) range.
  • Page 80: Analog Output Buffers

    • For buffered output, specify the Number of buffers from 1 to 255 and the number of Samples as desired. How to set up the DAS-1700 Series to store samples in buffers. Buffer Size For example, 500 samples/2 An individual DriverLINX buffer may have any size as long as the buffer length channels = 250 is ok, but 500 holds an integral number of channel scans (i.e., a multiple of the number of analog...
  • Page 81: Analog Output Data Coding

    Analog Output Data Coding DAS-1700 Series models use a variety of formats to encode analog output data, as shown in the following table. DriverLINX refers to these coding schemes as the “native” format. Model Format Analog Analog Output Output Hardware...
  • Page 82: Analog Output Messages

    For detailed explanations of these messages see one of the following references: • DriverLINX Technical Reference Manual for C/C++ users • DriverLINX/VB Technical Reference Manual for VB or Delphi users 82 • Using the DAS-1700 Series with DriverLINX Keithley DAS-1700 Series...
  • Page 83: Digital Input Subsystem

    DriverLINX error message. Digital Port Configuration The DAS-1700 Series has separate, dedicated digital input and output ports and doesn’t require the application to configure its digital I/O ports. Digital Input Pacing, Triggering and Gating Options The DAS-1700 Series User’s Guides describe several pacing, triggering and gating...
  • Page 84: Digital Input Timing Events

    Digital Input Timing Events Timing Events specify how the hardware paces or clocks the reading of Digital Input samples. DriverLINX uses the Timing Event to program when the DAS-1700 Series reads the next digital input sample from the port. The DAS-1700 Series supports the following Timing Events: •...
  • Page 85 Period Use an internally clocked rate generator when you want to write digital output samples at equally spaced time intervals. How to set up the DAS-1700 Series for fixed rate sampling using an internal clock. • For hardware independence, Specify internal clocking using a Rate Generator on Channel 0 with specify the clock channel the Internal 1 Clock source.
  • Page 86: Digital Input Start Events

    Digital Input Start Events Start Events specify when the DAS-1700 Series hardware starts reading digital input data. The DAS-1700 Series supports the following Start Events for digital input: • None—Use this event when the DriverLINX operation doesn’t require a Start Event.
  • Page 87: Digital Input Channels

    Channel List—Acquire data from a list of channels. Digital Input Logical Channels The DAS-1700 Series has a single digital input port that DriverLINX designates as Logical Channel 0. DriverLINX defines two additional Logical Channels for the external clock and trigger signals but applications cannot directly read their values.
  • Page 88 Multi-channel Digital Input Range In multi-channel range mode, the DAS-1700 Series acquires all data from a Even though the DAS-1700 consecutive range of digital channels. Series has only one digital input channel, DriverLINX • Both the Start and Stop Channel must specify channel 0.
  • Page 89: Digital Input Buffers

    Multi-channel Digital Input List In multi-channel list mode, the DAS-1700 Series acquires all data from a random list Even though the DAS-1700 of digital channels. Series has only one digital input channel, DriverLINX • The channel list may contain only one channel.
  • Page 90: Digital Input Messages

    How to set up the DAS-1700 Series to read digital samples using data buffers. Buffer Usage DriverLINX fills buffers sequentially until the task stops. During the task only complete buffers are available to the application. Except for tasks that stop on terminal count, the last buffer may be only partially full.
  • Page 91 Using the DAS-1700 Series with DriverLINX • 91 Keithley DAS-1700 Series...
  • Page 92: Digital Output Subsystem

    Digital Output Pacing, Triggering and Gating Options The DAS-1700 Series User’s Guides describe several pacing, triggering and gating options available for analog input on DAS-1700 models. As DriverLINX uses the analog input pacer clock for digital output, many of these options also apply to digital output tasks.
  • Page 93: Digital Output Timing Events

    Digital Output Timing Events Timing Events specify how the hardware paces or clocks writing Digital Output samples. DriverLINX uses the Timing Event to program when the DAS-1700 Series writes the next digital output sample from the port. The DAS-1700 Series supports the following Timing Events: •...
  • Page 94 Use an internally clocked rate generator when you want to write digital output samples at equally spaced time intervals. How to set up the DAS-1700 Series for fixed rate writing using an internal clock. 94 • Using the DAS-1700 Series with DriverLINX...
  • Page 95 500 tics, or 10 kHz. The maximum period is 4294967295 tics ( 2 output timing. or 0.00116 Hz. • Digital output does not support gating. Set the Gate property to Disabled or NoConnect. Using the DAS-1700 Series with DriverLINX • 95 Keithley DAS-1700 Series...
  • Page 96: Digital Output Start Events

    Digital Output Start Events Start Events specify when the DAS-1700 Series hardware starts writing digital output data. The DAS-1700 Series supports the following Start Events for digital output: • None—Use this event when the DriverLINX operation doesn’t require a Start Event.
  • Page 97 Single Channel Digital Output In single channel mode, the DAS-1700 Series writes all data from one channel. How to set up the DAS-1700 Series to write a single digital output channel. Multi-channel Digital Output Range In multi-channel range mode, the DAS-1700 Series acquires all data from a consecutive range of digital channels.
  • Page 98 Multi-channel Digital Output List In multi-channel list mode, the DAS-1700 Series acquires all data from a random list of digital channels. • The channel list may contain only one channel as DriverLINX supports only single value output in the digital output subsystem.
  • Page 99: Digital Output Buffers

    • For buffered output, specify the Number of buffers from 1 to 255 and the number of Samples as desired. How to set up the DAS-1700 Series to store samples in buffers. Buffer Size For example, 500 samples/2 An individual DriverLINX buffer may have any size as long as the buffer length channels = 250 is ok, but 500 holds an integral number of channel scans (i.e., a multiple of the number of digital...
  • Page 100: Digital Output Messages

    For detailed explanations of these messages see one of the following references: • DriverLINX Technical Reference Manual for C/C++ users • DriverLINX/VB Technical Reference Manual for VB or Delphi users 100 • Using the DAS-1700 Series with DriverLINX Keithley DAS-1700 Series...
  • Page 101: Counter/Timer Subsystem

    Counter/Timer Subsystem The DAS-1700 Series has counter/timers for analog input/output pacing only. All models use an Intel 8254 Programmable Interval Timer that consists of 3 internal 16- bit counters, Counter 0, Counter 1, and Counter 2. For analog input pacing, the DAS-1700 boards operate Counters 1 and 2 in a fixed divider, 32-bit configuration.
  • Page 102 Counter/Timer Interrupt DriverLINX supports counter/timer interrupts indirectly. You can set up an INTERRUPT mode analog task and respond to the BufferFilled messages. 102 • Using the DAS-1700 Series with DriverLINX Keithley DAS-1700 Series...
  • Page 103: Uninstalling Driverlinx

    You can uninstall the last two installations at any time without interfering with compiled applications that require DriverLINX drivers. To uninstall the latter components, run the “Add/Remove Programs” tool in the Windows Control Panel. To uninstall DriverLINX drivers for the Keithley DAS-1700 Series, you must • Disable the DriverLINX driver.
  • Page 104 Programs Properties dialog. Click the “Add/Remove…” button. Answer “Yes” to “Are you sure you want to remove ‘DriverLINX for Keithley DAS-1700 Series’ and all of its components?” in the Confirm File Deletion dialog. The DriverLINX uninstall program will proceed. The uninstall program will not remove the folder, “\DrvLINX4\System”. This folder contains copies of any \Windows\System or \Windows\System32 files that the original DriverLINX installation updated.
  • Page 105: Troubleshooting

    DAS-1700 drivers before using them. The DriverLINX configuration requires that you select the hardware model of your DAS-1700 board. On Windows NT, you must, also, manually enter the address and interrupt resource assignments. See “Configuring the DAS-1700 Series” on page 11 for more information. Troubleshooting • 105...
  • Page 106: Solving Problems Loading Drivers

    Click the “+” icon next to DriverLINX to expand the list of drivers, if necessary. Select “Keithley DAS-1700”. Click “+”, if necessary, to expand the list. Select the line with the number of the Logical Device you configured. If the number does not exist, you did not configure the driver. See “Configuring the DAS-1700 Series”...
  • Page 107 Problems Installing Drivers” on page 105. Does the icon next to your DAS-1700 product display an exclamation point (!)? If no, Windows has loaded your DAS-1700 driver. Select the line with the “!” and then click “Properties”. Troubleshooting • 107 Keithley DAS-1700 Series...
  • Page 108 Click the “+” icon next to DriverLINX to expand the list of drivers, if necessary. Select “Keithley DAS-1700”. Click “+”, if necessary, to expand the list. Select the line with the number of the Logical Device that did not load.
  • Page 109: Generating A Driverlinx Configuration Report

    A Technical Support engineer will guide you through these steps when you are asked to send a report. Troubleshooting • 109 Keithley DAS-1700 Series...
  • Page 110: Glossary Of Terms

    Glossary of Terms Abbreviation for Analog-to-Digital, a process that converts a continuous analog signal into a discrete digital approximation of the analog signal. Abbreviation for Analog-to-Digital Converter, the hardware that performs the A/D conversion. Abbreviation for Application Programming Interface. An API defines the syntax of the data structures and functions of software services.
  • Page 111 Event For DriverLINX, an event is the occurrence of a signal that clocks, starts, or stops a data-acquisition task. In an ActiveX control, an event is a procedure in the client application called by the control. Gating A signal that enables and disables another signal or data-acquisition task depending on the value of the gate signal.
  • Page 112 Scan List The channels sampled or written by a task, whether specified using a range or a list. Service Request A DriverLINX object or data structure that completely defines a data-acquisition task. Single-scan A task that samples once from each channel in the scan list. Such a task requires a buffer that holds exactly one scan.

Table of Contents