Agilent Technologies 34950A User Manual

64-bit digital i/o and counter module

Advertisement

Agilent 34950A
64-Bit Digital I/O and
Counter Module
User's Guide
Agilent Technologies, Inc.
Printed in Malaysia
Edition 1
June 2008 E0608
*34980-90050*
34980-90050
Agilent Technologies

Advertisement

Table of Contents
loading

Summary of Contents for Agilent Technologies 34950A

  • Page 1 Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide Agilent Technologies, Inc. Printed in Malaysia Edition 1 June 2008 E0608 *34980-90050* 34980-90050 Agilent Technologies...
  • Page 2 (Technical Data) and 12.212 (Computer Software) and, for the Department of Defense, DFARS 252.227-7015 (Technical Data - Commercial Items) and DFARS 227.7202-3 (Rights in Commercial Com- puter Software or Computer Software Documentation). Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide...
  • Page 3 Only qualified, service-trained personal who are aware of the hazards involved should remove instrument covers. Always disconnect the power cable and any exter- nal circuits before removing the instrument cover. Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide...
  • Page 4 The Declaration of Conformity (DoC) for the 34980A mainframe instrument can be found on page iii in the 34980A Mainframe User’s Guide. That DoC applies to the 34980A mainframe and all available plug- in modules. Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide...
  • Page 5: Table Of Contents

    34950A D-Sub Connectors ........
  • Page 6 Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide...
  • Page 7: 34950A 64-Bit Digital I/O Module With Memory And Counter

    34950A 64-Bit Digital I/O Module with Memory and Counter 34950A 64-Bit Digital I/O Module with Memory and Counter The 34950A has 64- bits of general- purpose digital I/O grouped in 8- bit channels with programmable polarity, input thresholds, and output levels.
  • Page 8: Electrical Characteristics For Digital I/O Lines

    34980A mainframe and its installed modules. That guidance sets maximum per channel current and power ratings at rated voltage for pollution degree 1 (dry) and pollution degree 2 (possible condensation) conditions, for the Digital I/O module. Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide...
  • Page 9: Basic Digital I/O Operations

    (i.e., 101 or 201). In the SCPI language for the 34950A, BYTE refers to 8- bit operations, WORD refers to 16- bit operations, and LWORd refers to 32- bit operations.
  • Page 10: Reading Digital Data

    SENSe MEASure change the direction (input or output) of the channel. If the channel is configured as an output, the command will return the value being SENSe driven. Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide...
  • Page 11: Writing Digital Data

    For example: sending the value 65531 to a byte wide channel will result in the channel discarding the upper byte and outputting 251. Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide...
  • Page 12: Channel Width And Polarity, Threshold, Level, And Drive

    8 bits will read or written using inverted polarity. Threshold, level, and drive settings all behave in the same manner as the polarity setting described above. Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide...
  • Page 13: Handshaking

    2.5 V, and normal polarity. Other parameters such as the handshake timing are set to default values (refer to the Programmer’s Reference Help file for details CONF:DIG:HAND SYNC, 2.5, 2.5, NORM, (@1201) Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide...
  • Page 14: Setting The Handshake Line Parameters

    N O T E apply to the bank’s interrupt line. When using external pull-ups in the open collector mode, the outputs will N O T E not exceed 5 V. Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide...
  • Page 15: Synchronous Handshake Mode

    Valid Don't-Care For example, the following SCPI commands set a 34950A in slot 5 to have a 16- bit input using synchronous handshake. Two data inputs are then performed and the strobe line is pulsed for each query. The I/O direction...
  • Page 16 CYC LE H1 (Strobe) For example, the following SCPI commands set a 34950A in slot 5 to have a 16- bit output using synchronous handshake. Two data outputs are then performed and the strobe line is pulsed for each. The I/O direction line is...
  • Page 17 Valid Don't-Care For example, the following SCPI commands set a 34950A in slot 5 to have an 8- bit input using synchronous handshake with an external strobe input. The number of bytes to read into memory is set to infinite (continuous reading into memory until the memory is stopped).
  • Page 18 14.) For buffered output operations, the H0 line acts as a start/stop line. This line will be set high when the memory output command is executed by the 34950A and will return low when the memory output operation has completed.
  • Page 19 For example, using the internal strobe, the following SCPI commands set a 34950A in slot 5 to have a 32- bit output using synchronous handshake. The number of times to output the traces is set to 4. A trace is then loaded into memory and assigned to the channel.
  • Page 20: Buffered I/O Operations

    Buffered I/O Operations Buffered I/O Operations Each of the two banks on the 34950A has its own memory that can be used to store patterns to output (traces) or to store input patterns. The width of the first channel in each bank controls the width of the memory operations.
  • Page 21 You can also send trace data in IEEE- 488 block format using this command. The 34950A also has two special built- in traces for your use. You can generate and download a count- up trace and a walking 1’s pattern using command.
  • Page 22: Deleting Trace

    TRACe:DELete:ALL Buffered (Memory) Input Each bank on the 34950A has its own memory for use in buffered transfers. Changing a bank from an output to an input will clear all memory for that bank. The general steps to use input memory are: Set the channel width and parameters.
  • Page 23 Both these data reads are non- destructive to the bank memory. To clear the memory for new data, send the SENSe:DIGital:MEMory:CLEar command. Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide...
  • Page 24: Interrupt Lines

    When you have set the polarity and mode, enable the interrupt using the command. SOURce:DIGital:INTerrupt:ENABle To prevent an unexpected trigger, make sure that the pattern interrupt N O T E signal is not floating. Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide...
  • Page 25: Memory Input Operations

    The interrupt line is enabled by the SENSe:DIGital:INTerrupt:ENABle command and the status can be checked using the SCPI Status System (refer to the Programmer's Reference Help file). Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide...
  • Page 26: Byte Ordering

    WORD significant byte and was read on the upper bits (8 through 15). For LWORd inputs the first byte was read on bits 24 through 31. Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide...
  • Page 27: Pattern Matching

    You can use pattern matching to start or stop a buffered (memory) input transfer. When the desired pattern is found, the 34950A can be set to start or stop a capture. For example, the following commands establish a byte pattern match on channels 101 and 201.
  • Page 28: Counter

    The figure below shows an SENSe:COUNter:INITiate externally gated totalizer measurement. The number of totalized counts is ‘5’ in this particular example. Ext Gate Input Init Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide...
  • Page 29: Initiated Measurement Mode

    SENS:COUN:DCYC? (@1301) command parameter sets the internal CONFigure:COUNter:FREQuency gate time (to 1e- 3 or 1 ms in the above example). You can also set the gate time using the command. SENSe:COUNter:GATE:TIME Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide...
  • Page 30: Clock

    You can also set the logic “1” voltage level for external clock output. For example, the following command sets the output clock level to 4.5 V for the module in slot 5. SOUR:MOD:CLOC:LEV 4.5, 5 Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide...
  • Page 31: 34950A D-Sub Connectors

    34950A D-Sub Connectors 34950A D-Sub Connectors The 34950A uses two D- sub 78- pin female connectors. Each connector provides contains one bank of the module. As viewed from the rear panel, the connectors and their banks are shown below. P2 (Bank 2)
  • Page 32 34950A D-Sub Connectors P2 (Bank 2) Connector Pin Assignments Signal Signal Signal Signal CH202 CNTR GATE INTR Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide...
  • Page 33: 34950T Terminal Block

    Product Reference CD (shipped with the instrument) contains a 34950T Wiring Log for you to document your wiring configuration for this module. You can open the wiring log file in Microsoft® Excel® or Adobe® Acrobat® format. Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide...
  • Page 34 34950T Terminal Block Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide...
  • Page 35 Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide...
  • Page 36 Index Agilent 34950A 64-Bit Digital I/O and Counter Module User’s Guide...

Table of Contents