background image

Keithley DAS-1700 Series

Using the DAS-1700 Series with DriverLINX  

  97

Digital Output Logical Channels

The DAS-1700 Series has one digital output port that DriverLINX designates as
channel 0. And, DriverLINX designates the MUX and GEXT signal as another, 5-bit,
digital output channel.

Logical Channel

DriverLINX
Function

DAS-1700 Series
External Connector

0

Standard Digital Output

DO 0 … DO 3

1

Standard Digital Output

MUX4 … MUX7, GEXT

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.

 

The Start and Stop Channel must specify the same channel as
DriverLINX supports only single value output in the digital output
subsystem.

StockCheck.com

Summary of Contents for DAS-1700 Series

Page 1: ...Keithley DAS 1700 Series Using DriverLINX with Your Hardware S t o c k C h e c k c o m ...

Page 2: ... 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 First Printing SST 27 0599 1 DriverLINX SSTNET and LabOBJX are registered trademarks and DriverLINX VB is a trademark of Scientific Software Tools Inc MetraBy...

Page 3: ...LINX Hardware Model for DAS 1700 Series 27 DriverLINX Subsystems 27 DriverLINX Modes 28 DriverLINX Operations and Events 30 Logical Channels 32 Buffers 32 Connecting Signals to the DAS 1700 Series 33 Analog Input Subsystem Signals 33 Analog Output Subsystem Signals 35 Digital Input Subsystem Signals 36 Digital Output Subsystem Signals 36 Counter Timer Subsystem Signals 36 Device Subsystem 37 Devic...

Page 4: ...nput Start Events 86 Digital Input Stop Events 86 Digital Input Channels 87 Digital Input Buffers 89 Digital Input Messages 90 Digital Output Subsystem 92 Digital Output Modes 92 Digital Output Operations 92 Digital Output Pacing Triggering and Gating Options 92 Digital Output Timing Events 93 Digital Output Start Events 96 Digital Output Stop Events 96 Digital Output Channels 96 Digital Output Bu...

Page 5: ...e and shall not disclose the software or its contents to any third party Copy Restrictions The Licensee may not modify or translate the program or related documentation without the prior written consent of Scientific Software Tools Inc All modifications adaptations and merged portions of the software constitute the software licensed to the Licensee and the terms and conditions of this agreement ap...

Page 6: ...y Scientific Software Tools entire liability and the Licensee s exclusive remedy shall be at Scientific Software Tools option either a return of the price paid or b repair or replacement of the software or accompanying materials In the event of a defect in material or workmanship the item may be returned within the warranty period to Scientific Software Tools for a replacement without charge provi...

Page 7: ...he DriverLINX Application Programming Interface files for your compiler DriverLINX On line Help System DriverLINX 4 0 Installation and Configuration Guide DriverLINX Analog I O Programming Guide DriverLINX Technical Reference Manual Supplemental Documentation on DriverLINX and your data acquisition hardware About This User s Guide The purpose of this manual is to help you quickly learn how to conf...

Page 8: ...rvice 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 S t o c k C h e c k c o m ...

Page 9: ...LINX indicates the exported function name of the device driver DLL while DriverLINX indicates the product as a whole DriverLINX Application Programming Interface identifiers menu items and Dialog Box names are italicized when mentioned in the text Italics are used for emphasis Source code and data structure examples are displayed in Courier typeface and bounded by a box with a single line Code A b...

Page 10: ...S t o c k C h e c k c o m ...

Page 11: ...s specific to a Keithley DAS 1700 Series model 3 Install your DAS 1700 hardware Follow the instructions in your hardware manual After configuring DriverLINX installing your board and restarting Windows reopen the DriverLINX Configuration Panel to make sure that DriverLINX loaded the Logical Device for your board If the Logical Device is not loaded the Event Log may have a message from the driver t...

Page 12: ...n 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 S t o c k C h e c k c o m ...

Page 13: ... To change it first save OK or quit Cancel the current configuration Then select or create a new Logical Device using the DriverLINX Configuration Panel Model The Model property selects or indicates the hardware model of the board you re configuring Windows NT Select one of the following models DAS 1701ST DAS 1702ST DAS 1702HR DAS 1701AO DAS 1702AO DAS 1701ST DA DAS 1702ST DA DAS 1702HR DA Windows...

Page 14: ...ple the following DIP switch shows the setting for 11 0000 0000 0x300 hexadecimal or 768 decimal Windows NT Enter your board s base I O address Note you need a block of sixteen free addresses AO models use an additional block of ten addresses starting at base 0x400 Windows 95 98 Under Windows 95 98 Add New Hardware automatically selects an appropriate address To change the setting see Using the Wi...

Page 15: ...can expand the number of single ended analog input channels connected to your DAS 1700 board by using one to sixteen EXP 1800 expansion boards Each EXP 1800 is 1 to 16 multiplexer that replaces one onboard channel with sixteen expansion channels Configure your DriverLINX Logical Device to use the additional channels by entering the number of EXP 1800s here See Analog Input Expansion Channels on pa...

Page 16: ...directly connected SSH 8 to the lower offset channels 0 7 and all channels on a daisy chain connected SSH 8 to the higher offset channels 8 15 Channel gain click on an SSH 8 channel in the list and then select its SSH 8 external amplifier gain SSH 8FG models have a fixed gain of 0 5 SSH 8SG models have switches to set the gain of each channel For information on programming a task for simultaneous ...

Page 17: ...ges cannot be posted as the hardware does not permit detection of end of buffer conditions The STATUS operation cannot provide the number of buffers processed report Using the Windows 95 98 Device Manager Under Windows 95 98 DriverLINX uses the address and interrupt settings maintained by the Windows Device Manager To view or change the settings for your board using the Device Manager 1 Start the ...

Page 18: ...ou in selecting an appropriate value 9 When you are done click OK to close the board s property page 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 S t o c k C h e c k c o m ...

Page 19: ...at 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 Windows NT For Windows NT select a free interrupt request level ...

Page 20: ...g output ranges for the DAS 1700 Series are fully software programmable DriverLINX grays out this property in the configuration dialog Volts The Initialization Value property specifies the analog output value DriverLINX will write to the selected Logical Channel upon hardware initialization DriverLINX only writes this value if you enable the Initialize check box Interrupt The DAS 1700 Series uses ...

Page 21: ...w Hardware automatically selects an appropriate 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 S t o c k C h e c k c o m ...

Page 22: ...els for the DAS 1700 Series digital inputs Logical Channel DriverLINX Function DAS 1700 Series External Connector 0 Standard Digital Input DI 0 DI 3 1 External Clock XPCLK 2 External Trigger TGIN Range The Range property specifies the supported digital input range for the selected Logical Channel This is a read only property Interrupt The DAS 1700 Series does not use interrupts for the digital inp...

Page 23: ...ports The DAS 1700 Series has a fixed digital I O configuration Therefore DriverLINX disables this field 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 S t o c k C h e c k c o m ...

Page 24: ...Output MUX4 MUX7 GEXT The Analog Input subsystem uses the MUX outputs to control an EXP 1800 expansion accessory If you are not using an EXP 1800 you can use the MUX outputs as another Digital Output channel However you can change its value only while the Analog Input subsystem is inactive Range The Range property specifies the supported digital output range for the selected Logical Channel This i...

Page 25: ...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 Dec This check box converts the Initialization Value property to decimal...

Page 26: ...Resolution The Resolution property specifies the clock frequency of the master oscillator All models have a 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 S t o c k C h e c k c o m ...

Page 27: ...media DriverLINX Hardware Model for DAS 1700 Series DriverLINX provides a portable hardware independent API for data acquisition boards while still allowing applications to access unique or proprietary hardware features of specific products To achieve this goal DriverLINX maps a hardware independent or abstract data acquisition model onto DAS 1700 Series hardware capabilities The following section...

Page 28: ...riverLINX initiates the task The calling application must synchronize with the data acquisition task using status polling or 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...

Page 29: ...acquisition modes that DriverLINX supports for each subsystem with the Keithley DAS 1700 Series Subsystem Polled Interrupt DMA Other Analog Input Analog Output DA models Analog Output AO models Digital Input Digital Output Counter Timer Device DAS 1700 Series Supported DriverLINX Modes S t o c k C h e c k c o m ...

Page 30: ...X 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 Note In addition to the operations shown in the table below all subsystems allow the MESSAGE operation in any Mode S t o c k C h e c k c o ...

Page 31: ... null null cmd null TC Interrupt AO models only Start Stop Status Convert dig rate cmd dig cmd TC DMA AO models only Start Stop Status Convert dig rate cmd dig cmd TC Other Initialize Digital Input Polled Start null null cmd null TC Interrupt Start Stop Status rate cmd cmd TC Other Initialize Digital Output Polled Start null null cmd null TC Interrupt Start Stop Interrupt rate cmd cmd TC Other Ini...

Page 32: ...ut lines external hardware trigger input lines and external interrupt inputs as 1 bit digital Logical Channels In other cases DriverLINX models subsystem specific features such as internal pacer clocks as members of a more general purpose set of counter timer channels For a list of DriverLINX assigned Logical Channel numbers see the notes on each supported subsystem Buffers Applications usually us...

Page 33: ...s Connector Name Logical Channels 0 7 Differential CH00LO HI CH07LO HI 0 7 0 31 Differential CH00LO HI CH31LO HI 0 31 0 15 Single ended CH00LO CH15LO LLGND 0 15 0 15 Single ended User common mode CH00LO CH15LO U_CM_MD 0 15 0 63 Single ended CH00LO CH63LO AGND 0 63 How DriverLINX maps analog input hardware channels to Logical Channels Analog Input Pacing Triggering and Gating Signals Analog input t...

Page 34: ...0 Series with DriverLINX Keithley DAS 1700 Series Connector Name DriverLINX Usage XPCLK External pacer clock Rate Timing Event Digital Timing Event How DriverLINX uses analog input control signals S t o c k C h e c k c o m ...

Page 35: ...annels to Logical Channels Analog Output Pacing Triggering and Gating Signals Analog output tasks can use the output pacing counter which DriverLINX designates as Counter Timer Logical Channel 1 For this counter the clock source can be internal or external The Analog Output subsystem uses two control signals that DriverLINX defines as an external clock and a trigger as shown in the following table...

Page 36: ...f control signals that you can use as an output port DriverLINX maps these signals to Logical Channels as shown in the following tables Other Models Port Connector Name Logical Channel 4 bit digital output DO 0 DO 3 0 5 bit digital output MUX4 MUX7 GEXT 1 How DriverLINX maps digital output hardware channels to Logical Channels of other models Counter Timer Subsystem Signals The Counter Timer subsy...

Page 37: ...em supports the following DriverLINX operations If another application is using the same data acquisition board DriverLINX will prevent Device Initialization from interfering with another application s data acquisition tasks Initialize DriverLINX aborts all data acquisition tasks for every subsystem controlled by the current application DriverLINX then initializes each subsystem Capabilities Drive...

Page 38: ...erLINX prevents one application from interfering with another application s data acquisition tasks Start initiates a data acquisition task using the Mode Timing Start and Stop Events the Logical Channels and the Buffers the application specified in the Service Request Status reports the buffer position of the next sample that DriverLINX will write into a buffer Stop terminates an analog input data...

Page 39: ... clock source Digital timing event Trigger Internal software Command start event Command stop event Terminal count stop event Digital Digital start event Digital stop event Trigger Mode Pre trigger Digital stop event with 0 delay About trigger Digital stop event with positive delay Post trigger Digital start event Trigger to trigger Digital start event Digital stop event Trigger to about trigger D...

Page 40: ...g Event 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 Burst Generator Generates a dual frequency clock with a fixed number of tics at a high frequency separated by a ti...

Page 41: ...ed Rate Generator produces a fixed rate clock with equal time intervals between tics Period 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 S t o c k C h e c k c o m ...

Page 42: ...5 MHz The minimum period is 30 tics or 162 5 kHz 100 tics or 50 kHz for HR models The maximum period is 4294967295 tics 2 1 32 or 0 00116 Hz The Gate property specifies how the TGIN signal affects the operation of the internal clock Valid settings are Enabled Disabled and High Level and Low Level See Counter Timer Subsystem on page 101 for a description of each Gate setting Note You cannot use a g...

Page 43: ...mum to 5 V maximum Specify external clocking using a Rate Generator on Channel 0 with an External External or External Clock source See Counter Timer Subsystem on page 101 for a description of clock sources For hardware independence you can specify the hardware external clock channel by the symbolic constant DI_EXTCLK Users should connect the external clock signal to the XPCLK line Specify a Perio...

Page 44: ... Enabled Disabled High Level and Low Level See Counter Timer Subsystem on page 101 for a description of each Gate setting 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 S t o c k C h e c k c o m ...

Page 45: ... internal clocking using a Burst Generator on Channel 0 with the Internal 1 Clock source See Counter Timer Subsystem on page 101 for a description of clock sources The Period property specifies the time interval between bursts in tics where an Internal 1 tic is 0 2 µs or 5 MHz The minimum period is 30 tics or 162 5 kHz 100 tics or 50 kHz for HR models The maximum period is 4294967295 tics 2 1 32 o...

Page 46: ...g input samples with a recurrent external signal 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 BE SURE that the external clock source is TTL compatible 0 V minimum to 5 V maximum Specify external clocking using a Burst Generator on Channel 0 with an Exte...

Page 47: ...an or equal to Period The frequency of the external clock must not exceed 162 5 kHz 50 kHz for HR models The Gate property specifies how the TGIN signal affects the operation of the internal clock Valid settings are Enabled Disabled High Level and Low Level See Counter Timer Subsystem on page 101 for a description of each Gate setting Note You cannot use a gated clock with a digital start or stop ...

Page 48: ...ling 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 Users should connect the external clock signal to the XPCLK line Specify the Mask property as 1 or Bit 0 to indicate that DriverLINX should only compare a 1 bit digital input value against the Pattern property Specif...

Page 49: ...iring analog input samples when the hardware detects the digital Logical Channel input satisfies the condition specified in the Start Event None or Null Start Event The Null Event specifies that the task does not need a Start Event to begin the task Command Start Event The Command Event starts data acquisition as soon as DriverLINX has completed programming the data acquisition hardware with the t...

Page 50: ...operty Specify the Match property as Not equals Specify the Pattern property as 0 for a rising or positive edge trigger 0 or 1 for a falling or negative edge trigger 1 Specify the Delay property as 0 The DAS 1700 does not support a delay in sampling after the start trigger You cannot use a digital start trigger with a gated clock If both the start trigger and stop trigger are digital events they m...

Page 51: ...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 Terminal count DriverLINX stops the task after the data acquisition hardware has filled all the data buffers once Digital The DAS 1700 stops acquiring analog input samples when the hardware detects the digital...

Page 52: ...rdware external trigger channel by the symbolic constant DI_EXTTRG Users should connect the external trigger signal to the TGIN line Specify the Mask property as 1 or Bit 0 to indicate that DriverLINX should only compare a 1 bit digital input value against the Pattern property Specify the Match property as Not equals Specify the Pattern property as 0 for a rising or positive edge trigger 0 or 1 fo...

Page 53: ...nnel it uses The channel gains are also application selectable The DAS 1700 Series allows applications to specify the analog channels using three techniques Start Channel Acquire data from a single channel Start Stop Channel Range Acquire data from a consecutive range of channels Channel List Acquire data from a list of channels Single Channel Analog Input In single channel mode the DAS 1700 Serie...

Page 54: ...SH 8 see Rate Generator 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 The channel gain list may contain up to 256 channels in any order The list may repe...

Page 55: ...spondence between the gain multiplier the maximum input signal range and the gain code for each input range Note DriverLINX uses a negative gain multiplier to signify a bipolar range You should be aware that using multiple channels or non unity gains reduces the maximum sample rate Consult your hardware manual for details DAS 1701 Models Gain Range Gain Code 1 5 V 0 5 1 V 1 50 100 mV 2 250 20 mV 3...

Page 56: ...essories or Analog Input Expansion Channels on page 58 for information on selecting expansion channels SSH 8 Channel Gains The available gains for a channel on an SSH 8 unit are the products of the channel s gain on the SSH 8 and the DAS board s programmable gains See Special on page 15 for information on configuring an SSH 8 unit Analog Input Channel Connection Types On the DAS 1700 Series each A...

Page 57: ...ify a connection type An application that does not require or know a channel s connection type obtains the gain code for a channel with a bipolar gain of 5 with Gain2Code 5 This code will work with any board that supports bipolar ranges Repeat Mode Sampling on the DAS 1702HR DA The DAS 1702HR DA provides an option to sample the same channel one to 4095 times before advancing to the next channel in...

Page 58: ...rves a fixed number of expansion channels for each potential mux whether it is attached or not To determine the DriverLINX Logical Channel number for a multiplexer channel use the following formula or refer to the table that follows it Note that DriverLINX uses 0 based numbering for all channels logical chan num base chan base chan num mux chan mux chan Term Description logical chan Logical Channe...

Page 59: ... 68 84 100 116 132 5 21 37 53 69 85 101 117 133 6 22 38 54 70 86 102 118 134 7 23 39 55 71 87 103 119 135 8 24 40 56 72 88 104 120 136 9 25 41 57 73 89 105 121 137 10 26 42 58 74 90 106 122 138 11 27 43 59 75 91 107 123 139 12 28 44 60 76 92 108 124 140 13 29 45 61 77 93 109 125 141 14 30 46 62 78 94 110 126 142 15 31 47 63 79 95 111 127 143 Table of logical channel numbers for DAS 1700 expansion ...

Page 60: ...scans i e a multiple of the number of analog input channels you re acquiring This restriction enforces the requirement that all acquired channels have the same number of samples 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 partia...

Page 61: ...tions that require an odd number of samples per buffer or use an external clock with an odd finite number of clock pulses should use interrupt mode instead of DMA mode For existing applications that use DMA mode but do not meet these requirements the user can cause DriverLINX to substitute interrupt mode for DMA mode by disabling bus mastering in the KPCI 1800 s Configure DriverLINX Device dialog ...

Page 62: ...o 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 Applications can use DriverLINX s data conversion operations to transform an entire data buffer from native format to many common integer and floating point fo...

Page 63: ...buffer Start Event DriverLINX has processed the interrupt for a hardware start event Stop Event DriverLINX has processed the interrupt for a hardware stop event Data Lost DriverLINX has detected an analog input data overrun condition Critical Error DriverLINX has encountered an unexpected hardware or software condition DriverLINX Event messages for analog input For detailed explanations of these m...

Page 64: ...pplication from interfering with another application s data acquisition tasks Start initiates a data acquisition task using the Mode Timing Start and Stop Events the Logical Channels and the Buffers the application specified in the Service Request Status reports the buffer position of the next sample that DriverLINX will write from a buffer Stop terminates an analog output data acquisition task Me...

Page 65: ...ate timing event with an internal clock source A period of 0 signifies that the A D task operates the clock which controls both tasks External Rate timing event with an external clock source Digital timing event Trigger Internal software Command start event Command stop event Terminal count stop event Digital Digital start event Retrigger Digital start event Interrupt mode task must meet certain c...

Page 66: ...k with an Analog Input task using a Rate Event See Rate Generator Internal Clocking on page 67 or Rate Generator External Clocking on page 69 Digital DriverLINX uses an external digital output signal to pace the timing of the next sample None or Null Timing Event The Null Event specifies that the task does not need a clock to determine when to write the next sample Rate Timing Event The DAS 1700 S...

Page 67: ...ng a Rate Generator on Channel 1 with the Internal 1 Clock source See Counter Timer Subsystem on page 101 for a description of clock sources The Period property specifies the time interval between samples in tics where an Internal 1 tic is 0 2 µs or 5 MHz The minimum period is 20 tics or 250 kHz The maximum period is 655350 tics 1 2 10 16 or 7 63 Hz The Gate property specifies how the TGIN signal ...

Page 68: ...68 Using the DAS 1700 Series with DriverLINX Keithley DAS 1700 Series Also see Synchronizing an Analog Output Task with an Analog Input Task on page 72 S t o c k C h e c k c o m ...

Page 69: ...le 0 V minimum to 5 V maximum Specify external clocking using a Rate Generator on Channel 1 with an External External or External Clock source See Counter Timer Subsystem on page 101 for a description of clock sources For hardware independence you can specify the hardware external clock channel by the symbolic constant DI_EXTCLK Users should connect the external clock signal to the XPCLK line Spec...

Page 70: ...vel and Low Level See Counter Timer Subsystem on page 101 for a description of each Gate setting 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 S t o c k C h e c ...

Page 71: ...ling 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 Users should connect the external clock signal to the XPCLK line Specify the Mask property as 1 or Bit 0 to indicate that DriverLINX should only compare a 1 bit digital input value against the Pattern property Specif...

Page 72: ...want to terminate the AO task when the AI task stops either set up both service requests with equal buffer sizes and Stop Events or issue a Stop operation request for the AO task Analog Output Start Events Start Events specify when the DAS 1700 hardware starts acquiring analog output data The DAS 1700 Series supports the following Start Events None Use this event when the DriverLINX operation does...

Page 73: ...ty as 1 or Bit 0 to indicate that DriverLINX should only compare a 1 bit digital input value against the Pattern property Specify the Match property as Not equals Specify the Pattern property as 0 for a rising or positive edge trigger 0 or 1 for a falling or negative edge trigger 1 Specify the Delay property as 0 The DAS 1700 does not support a delay in sampling after the start trigger You cannot ...

Page 74: ...fy the Mask property as 1 or Bit 0 to identify the gate input bit of the Logical Channel Specify the Match property as Equals Specify the Pattern property as 0 for a low level active gate or 1 for a high level active gate Specify the Delay property as 0 DriverLINX does not use a delay with gating Digital Start Event Retriggering In recycle mode a DAS 1700AO continuously writes analog output sample...

Page 75: ...rnal trigger channel by the symbolic constant DI_EXTTRG Users should connect the external trigger signal to the TGIN line Specify the Mask property as 1 or Bit 0 to indicate that DriverLINX should only compare a 1 bit digital input value against the Pattern property Specify the Match property as Not equals Specify the Pattern property as 0 for a rising or positive edge trigger 0 or 1 for a falling...

Page 76: ... the data buffers once None or Null Stop Event The Null Event specifies that the task does not need a Stop Event to end the task Command Stop Event The Command Event stops data acquisition when the user application changes the Operation property in the Service Request to Stop and resubmits the Service Request to DriverLINX In Stop on Command mode DriverLINX continuously cycles through all the data...

Page 77: ...hannel 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 Multi channel Analog Output Range In multi channel range mode the DAS 1700 Series writes data to a consecutive range of analog channels The Start Channel s gain only applies to the first channel DriverLINX...

Page 78: ...s 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 How to set up the DAS 1700 Series to write to an arbitrary list of channels S t o c k C h e c k c o m ...

Page 79: ...utput signal range and the gain code for each output range Note DriverLINX uses a negative gain value to signify a bipolar range AO Models Gain Range Gain Code 1 5 V 0 0 5 10 V 1 Gains Ranges and Gain Codes for AO Models DA Models Gain Range Gain Code 1 10 V 0 Gains Ranges and Gain Codes for DA Models Use the DriverLINX Gain2Code method to easily convert between the gains in the above tables and h...

Page 80: ...For example 500 samples 2 channels 250 is ok but 500 samples 3 channels 166 67 is incorrect 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 output channels you re acquiring This restriction enforces the requirement that all acquired channels have the same number of samples Buffer Usage D...

Page 81: ...1700 Series resolution 6 4 2 0 2 4 6 2048 2047 AO ST DA 6 4 2 0 2 4 6 3 2 7 6 8 3 2 7 6 7 HR DAS 1700 Series native Analog Output Codes versus Voltage Range at unity gain DriverLINX refers to the default hardware analog coding scheme as the native format For computer arithmetic in a higher level language the 16 bit two s complement integer format is generally easier to use DriverLINX automatically...

Page 82: ...sk Service Done DriverLINX has completed the acquisition task Buffer Filled DriverLINX has filled an analog output buffer Critical Error DriverLINX has encountered an unexpected hardware or software condition DriverLINX Event messages for analog output For detailed explanations of these messages see one of the following references DriverLINX Technical Reference Manual for C C users DriverLINX VB T...

Page 83: ...l Channels and the Buffers the application specified in the Service Request Status reports the buffer position of the next sample that DriverLINX will write into a buffer Stop terminates an analog output data acquisition task Message DriverLINX displays a pop up dialog box for the user containing the text for the current DriverLINX error message Digital Port Configuration The DAS 1700 Series has s...

Page 84: ...en the DAS 1700 Series reads the next digital input sample from the port The DAS 1700 Series supports the following Timing Events None Input requires no pacing as DriverLINX is reading only a single value Rate The DAS 1700 Series supports fixed rate writing using internal and external clocks None or Null Timing Event The Null Event specifies that the task does not need a clock to determine when to...

Page 85: ...ce specify the clock channel using the symbolic constant DEFAULTTIMER which always maps to the default Logical Channel for digital output timing Specify internal clocking using a Rate Generator on Channel 0 with the Internal 1 Clock source See Counter Timer Subsystem on page 101 for a description of clock sources The Period property specifies the time interval between samples in tics where an Inte...

Page 86: ...DAS 1700 Series supports the following Stop Events for digital input 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 Terminal count DriverLINX stops the task after the DAS 1700 Series hardware has filled all the data buffers once None or Null ...

Page 87: ...ut 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 DriverLINX defines the following Logical Channels for the DAS 1700 Series digital inputs Logical Channel DriverLINX Function DAS 1700 Series External Connector 0 Standard Digital Input DI 0 DI 3 1 Ex...

Page 88: ...ies has only one digital input channel DriverLINX supports specifying a channel range for compatibility with applications that use this method In multi channel range mode the DAS 1700 Series acquires all data from a consecutive range of digital channels Both the Start and Stop Channel must specify channel 0 S t o c k C h e c k c o m ...

Page 89: ...only one channel As the DAS 1700 Series only has a single digital input channel available for reading this technique is equivalent to Single Channel Digital Input Digital Input Buffers DriverLINX supports single value single scan and buffered digital input For single value input specify the Number of buffers as 0 The buffer for a single value is the ioValue property For single scan input specify t...

Page 90: ...tion to determine the location of the last sample Digital Input Messages For digital input operations DriverLINX can report the following messages to the application DriverLINX Message Explanation Service Start DriverLINX has started the acquisition task Service Done DriverLINX has completed the acquisition task Buffer Filled DriverLINX has filled a digital input buffer Critical Error DriverLINX h...

Page 91: ...Keithley DAS 1700 Series Using the DAS 1700 Series with DriverLINX 91 S t o c k C h e c k c o m ...

Page 92: ...ation specified in the Service Request Status reports the buffer position of the next sample that DriverLINX will write from a buffer Stop terminates a digital output data acquisition task Message DriverLINX displays a pop up dialog box for the user containing the text for the current DriverLINX error message Digital Output Initialization By default the Digital Output subsystem writes zero into th...

Page 93: ...minal count stop event 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 None Output requires no pacing as DriverLINX is writing only a single value Rate The...

Page 94: ...period The sample period can range from 500 tics 100 µs to 2 1 32 tics 833 s This means the sample rate can range from 0 00116 Hz to 10kHz Rate Generator Internal Clocking An internally clocked Rate Generator produces a fixed rate clock with equal time intervals between tics Period Use an internally clocked rate generator when you want to write digital output samples at equally spaced time interva...

Page 95: ...ing a Rate Generator on Channel 0 with the Internal 1 Clock source See Counter Timer Subsystem on page 101 for a description of clock sources The Period property specifies the time interval between samples in tics where an Internal 1 tic is 0 2 µs or 5 MHz The minimum period is 500 tics or 10 kHz The maximum period is 4294967295 tics 2 1 32 or 0 00116 Hz Digital output does not support gating Set ...

Page 96: ...pecify when the DAS 1700 Series hardware stops writing digital output data The DAS 1700 Series supports the following Stop Events for digital output None Use this event when the DriverLINX operation doesn t require a Stop Event Terminal count DriverLINX stops the task after the DAS 1700 Series hardware has written all the data buffers once None or Null Stop Event The Null Event specifies that the ...

Page 97: ...ard Digital Output DO 0 DO 3 1 Standard Digital Output MUX4 MUX7 GEXT 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 The...

Page 98: ...nnel 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 S t o c k C h e c k c o m ...

Page 99: ...For example 500 samples 2 channels 250 is ok but 500 samples 3 channels 166 67 is incorrect 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 digital output channels you re acquiring This restriction enforces the requirement that all acquired channels have the same number of samples Buffer Usage ...

Page 100: ...ask Service Done DriverLINX has completed the acquisition task Buffer Filled DriverLINX has filled an analog input buffer Critical Error DriverLINX has encountered an unexpected hardware or software condition DriverLINX Event messages for digital output For detailed explanations of these messages see one of the following references DriverLINX Technical Reference Manual for C C users DriverLINX VB ...

Page 101: ...ements two Logical Counters in this case Logical Counter 0 which corresponds to the internal Analog Input pacing clock and Logical Counter 1 which corresponds to the internal Analog Output pacing clock See Counter Timer Subsystem Signals on page 36 for connection details The following table lists the Counter Timer Subsystem s Logical Channels and shows their allowable clock sources modes and gates...

Page 102: ...s is mode is accepted by all DriverLINX drivers High and Low Level allow the clock to pace samples only while the gate signal is high or low respectively Low and High Edge are aliases for a digital start trigger They enable the clock after the first falling or rising edge respectively Counter Timer Interrupt DriverLINX supports counter timer interrupts indirectly You can set up an INTERRUPT mode a...

Page 103: ... DriverLINX driver Shut down your computer to remove the hardware Reboot your computer to unload the driver Run the DriverLINX uninstall program How to Disable a DriverLINX Driver in Windows NT 1 From the Windows Start menu select Settings then Control Panel Left click on the DriverLINX Configuration icon in the Control Panel 2 Select the DAS 1700 devices you want to disable 3 Right click on each ...

Page 104: ...nstalled DAS 1700 hardware 8 Reboot Windows 9 To finish uninstalling see How to Remove DriverLINX for the Keithley DAS 1700 Series on page 104 How to Remove DriverLINX for the Keithley DAS 1700 Series 1 From the Windows Start menu select Settings then Control Panel Left click on the Add Remove Programs icon in the Control Panel 2 Select DriverLINX for Keithley DAS 1700 in the Add Remove Programs P...

Page 105: ...blem is not described then contact technical support and fully describe your problem Solving Problems Installing Drivers The DriverLINX installation program runs a wizard that assists you in installing registering and configuring the DriverLINX driver for your board If you would like to repeat any steps with the wizard click here Solving Problems Configuring the Drivers Windows 95 98 assigns hardw...

Page 106: ... to the sheer number of combinations of hardware designs PC plug in boards and versions of Windows The following sections will help you gather information about why a driver may have failed to load This information is essential for you or technical support to solve your problem Did the DriverLINX Driver Load 1 Run DriverLINX Configuration from Windows Control Panel 2 Select the DriverLINX tab 3 Cl...

Page 107: ...how a current error 5 Double click on the error line to see more detail and an explanatory message 6 If you cannot resolve the problem yourself please provide this error information when contacting technical support Getting More Driver Information on Windows 95 98 Windows 95 98 reports additional information about device status using the Device Manager To access this utility 1 Right click on My Co...

Page 108: ...nto the Windows Event Log See Checking for Device Errors on page 107 for more information On Windows NT DriverLINX drivers load automatically during system boot An administrator can change the startup command for any NT driver to either manual or disabled 1 Run DriverLINX Configuration from Windows Control Panel 2 Select the DriverLINX tab 3 Click the icon next to DriverLINX to expand the list of ...

Page 109: ...perating system software that would assist Technical Support in troubleshooting a problem you are having It includes information on DriverLINX files environment variables registry entries hardware and the operating system How do I Generate the Report You can easily generate the report by clicking this shortcut Once the troubleshooting tool generates the report you will have the opportunity to revi...

Page 110: ... data from a data acquisition device or to write data to a data acquisition device Clocking A periodic pulse or signal that data acquisition hardware uses to read or write the next sample or block of samples Also referred to as pacing D A Abbreviation for digital to analog a process that converts a discrete digital value into a continuous analog voltage representing that value DAC Abbreviation for...

Page 111: ...cture and the clock frequency of the ISA bus ISR Abbreviation for interrupt service routine the software function inside a device driver that handles interrupt requests Logical Device DriverLINX s designation for a specific data acquisition board inside your computer Messages In Windows and DriverLINX a message notifies the application about the state of a process In DriverLINX s ActiveX controls ...

Page 112: ...sk that samples once from each channel in the scan list Such a task requires a buffer that holds exactly one scan Subsystem DriverLINX subdivides a general purpose data acquisition device into six subsystems Device Analog Input Analog Output Digital Input Digital Output and Counter Timer Triggering The technique of using a pulse or signal to start or stop a data acquisition task TTL Abbreviation f...

Reviews: