Programacion Windows 95 test

  • Upload
    jhb2412

  • View
    225

  • Download
    0

Embed Size (px)

Citation preview

  • 7/27/2019 Programacion Windows 95 test

    1/291

    Series 2040 Test Systems

    WindowsProgramming Manual

    Part Number 4200-0161

    Version 2.0

  • 7/27/2019 Programacion Windows 95 test

    2/291

    1Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 Table Of Contents

    Table Of Contents

    System Overview ................................................................................................... 72040 Block Diagram ........................................................................ 8

    SYSTEMS DESCRIPTION .............................................................................. 9COMPUTER SYSTEM ....................................................................... 9HARDWARE .................................................................................. 10

    ANALOG TEST SYSTEM.................................................................. 10SYSTEM MAINTENANCE................................................................ 11

    TESTHEAD ASSEMBLY ................................................................................ 12TESTHEAD POWER SUPPLY CONTROLLER .................................. 13MEASUREMENT SYSTEM CARDS................................................... 15

    AMPLITUDE MEASUREMENT SYSTEM (AMS) ................................ 15DIGITIZING MEASUREMENT SYSTEM ........................................... 1664 CHANNEL RELAY MULTIPLEXER ASSEMBLY (RMUX) ................ 17MEASUREMENT DISPLAY ELECTRONICS (MDE)............................ 18TIME MEASUREMENT SYSTEM (TMS) ............................................ 19

    AUXILIARY RELAY (AUXRLY) AND AUXILIARY FET (AUXFET)SWITCHING BOARDS................................................................... 1964 X 4 MATRIX RELAY BOARD (MRLY) .......................................... 20

    ANALOG SOURCE BOARD (ASB) .................................................. 21MULTIPLE SERIAL PROTOCOL BOARD (MSP) ............................... 22DIGITAL INPUT/OUTPUT BOARD (DIO)....................................... 23

    OPEN COLLECTOR I/O / RELAY DRIVER BOARD (OCIO) ............. 24ADJUSTABLE DIGITAL INPUT/OUTPUT (ADIO)............................. 25

    TRIGGER MATRIX .......................................................................... 26SERIES 2040 POWER SUPPLIES ................................................................. 27

    TESTHEAD POWER SUPPLIES ........................................................ 27UTILITY PATCHBOARD SUPPLY .................................................... 27PROGRAMMABLE ATE POWER SUPPLIES ..................................... 27TESTHEAD POWER SUPPLY CONTROLLER BOARD ..................... 27UUT P/S CONTROLLER MODULES ............................................... 28

    Software Overview............................................................................................... 29MICROSOFT WINDOWS 95 / NT 4.0 OPERATING SYSTEM ..................... 30

    DESKTOP ....................................................................................... 30

    ELEMENTS OF THE DESKTOP:....................................................... 30ELEMENTS OF THE START BUTTON.............................................. 31ELEMENTS OF A WINDOW .......................................................... 33SYSTEM CONFIGURATION ........................................................... 34

    ADMINISTRATIVE TOOLS .............................................................. 38

  • 7/27/2019 Programacion Windows 95 test

    3/291

    2 Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00Table Of Contents

    Visual Basic Interface ....................................................................................... 41MICROSOFT VISUAL BASIC ................................................................... 42

    VISUAL BASIC FUNDAMENTALS ................................................... 42MENU BAR .................................................................................... 43TOOLBAR ...................................................................................... 48PROJECT WINDOW...................................................................... 51TOOLBOX ..................................................................................... 53PROPERTIES WINDOW ................................................................ 53FORM LAYOUT WINDOW ........................................................... 54FUNCTIONAL CALLS ..................................................................... 54TYPICAL FUNCTIONAL HARDWARE CALLS ................................. 56EXAMPLE PROGRAM..................................................................... 57ERROR HANDLING ....................................................................... 58

    Patchboard - Tester/UUT Interface .................................................................... 59

    THE PATCHBOARD - TESTER/UUT INTERFACE ......................................... 60EXECUTING TRMAN ..................................................................... 60LINK TO TESTER ............................................................................ 61

    AUTOMATIC GENERATION........................................................... 61MANUAL GENERATION ................................................................ 61PRINT UTILITY ............................................................................... 63VIEW PIN DEFINITIONS ................................................................ 63VIEW POWER SUPPLY CONFIGURATION .................................... 64VIEW TESTHEAD CONFIGURATION ............................................. 64

    Programming ....................................................................................................... 65PROGRAMMING........................................................................... 66

    ADJUSTABLE DIGITAL INPUT/OUTPUT......................................... 67

    ADIO BLOCK DIAGRAM ................................................... 68ADJUSTABLE DIGITAL INPUT/OUTPUT (ADIO)................. 69

    Programming the ADIO ..................................................... 70Master ................................................................................ 72

    ADDAC.............................................................................. 73ARDAC .............................................................................. 74ADData .............................................................................. 75ARData .............................................................................. 76

    DvrClk ............................................................................... 78RStrobe .............................................................................. 79SPECIFICATIONS: .............................................................. 80

    AMPLITUDE MEASUREMENT SYSTEM &64 CHANNEL RELAY MULTIPLEXER ............................................... 81RMUX & AMS BLOCK DIAGRAM ...................................... 82RELAY MUX AND AMPLITUDE MEASUREMENT SYSTEM(AMS) ................................................................................. 83MUX .................................................................................. 83

  • 7/27/2019 Programacion Windows 95 test

    4/291

    3Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 Table Of Contents

    AMS ................................................................................... 85IAMS .................................................................................. 87

    SPECIFICATIONS: .............................................................. 90ANALOG SOURCE BOARDARBITRARY WAVEFORM GENERATOR ......................................... 93

    ARB BLOCK DIAGRAM ..................................................... 94ARBITRARY WAVEFORM GENERATORS (ARB) .................. 95ARB ................................................................................... 95ARBFreq ............................................................................. 97ARBProg ............................................................................ 98ARBSin............................................................................. 100ARBPulse ......................................................................... 101ARBget, ARBput ............................................................... 103

    FARBget, FARBput ............................................................ 104

    SPECIFICATIONS: ............................................................ 106ANALOG SOURCE BOARD

    D/A CONVERTERS ....................................................................... 107D/A BLOCK DIAGRAM .................................................... 108DA ................................................................................... 109DAReset ........................................................................... 110SPECIFICATIONS: ............................................................ 111

    32 CHANNEL AUXILIARY RELAY.................................................. 11332 CHANNEL AUXILIARY FET ...................................................... 11332 CHANNEL POWER RELAY ...................................................... 11332 CHANNEL HIGH CURRENT FET............................................. 113

    AUXILIARY SWITCHING BLOCK DIAGRAMS .................. 114AuxRly ............................................................................. 115AuxRlyList ........................................................................ 116AuxRlyReset ..................................................................... 117

    DIGITAL INPUT/OUTPUT ............................................................ 121DIO BLOCK DIAGRAM ................................................... 122DIGITAL INPUT/OUTPUT (DIO) ...................................... 123Master .............................................................................. 123DVREN ............................................................................ 124DVRDAT .......................................................................... 125DVRCLK .......................................................................... 126RSTROBE ......................................................................... 127

    RCOMP ........................................................................... 128RDATA ............................................................................. 129SPECIFICATIONS: ............................................................ 130

    DIGITIZING MEASUREMENT SYSTEM ......................................... 131DMS BLOCK DIAGRAM .................................................. 132DIGITIZING MEASUREMENT SYSTEM (DMS) .................. 133

  • 7/27/2019 Programacion Windows 95 test

    5/291

    4 Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00Table Of Contents

    DAMS .............................................................................. 135DMSArm .......................................................................... 137DMSFreq .......................................................................... 139DMSGet ........................................................................... 140DMSPeriod ...................................................................... 142SPECIFICATIONS: ............................................................ 143

    INSTRUMENTATION AMPLIFIER ................................................. 145INSTAmp BLOCK DIAGRAM............................................ 146INST ................................................................................. 147SPECIFICATIONS: ............................................................ 148

    ISOLATION AMPLIFIER ................................................................ 149ISOAmp BLOCK DIAGRAM ............................................. 150INST ................................................................................. 151SPECIFICATIONS: ............................................................ 152

    MATRIX RELAY ............................................................................. 153MATRIX RELAY BLOCK DIAGRAM ................................... 154MATRIX RELAY BOARD (MRLY) ....................................... 155ModMrly .......................................................................... 156Mrly ................................................................................. 157MrlyStrobe ....................................................................... 158MrlySet ............................................................................ 159MrlySwitchAll ................................................................... 160MrlyReset ......................................................................... 161SPECIFICATIONS: ............................................................ 162

    MEASUREMENT DISPLAY ELECTRONICS .................................... 163MDE BLOCK DIAGRAM .................................................. 164

    MEASUREMENT DISPLAY ELECTRONICS SYSTEM (MDE) 165TRIG ................................................................................ 165SWEEP ............................................................................. 167DELAY .............................................................................. 168Mark ................................................................................ 169T2DEL .............................................................................. 170VERT ................................................................................ 171SPECIFICATIONS: ............................................................ 172

    MULTIPLE SERIAL PROTOCOL BOARD ....................................... 173MSP BLOCK DIAGRAM ................................................... 174MULTIPLE SERIAL PROTOCOL BOARD ........................... 175

    SendSerial ........................................................................ 176RecvSerial ........................................................................ 177SetUARTParams ............................................................... 178GetUARTParams .............................................................. 179

    OPEN COLLECTOR I/O ............................................................... 181OCIO BLOCK DIAGRAM................................................. 182

  • 7/27/2019 Programacion Windows 95 test

    6/291

    5Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 Table Of Contents

    OPEN COLLECTOR I/O BOARD (OCIO) ......................... 183OCEn ............................................................................... 184

    OCEnReset ...................................................................... 185OCRail ............................................................................. 186OCRailReset .................................................................... 187OCData ........................................................................... 188OCDataReset ................................................................... 189OCRead ........................................................................... 190OCPut.............................................................................. 191OCGet ............................................................................. 192OCClk.............................................................................. 193OCStrobe......................................................................... 194SPECIFICATIONS: ............................................................ 195

    PROGRAMMABLE POWER SUPPLIES .......................................... 197

    PPS BLOCK DIAGRAM .................................................... 198PROGRAMMABLE POWER SUPPLIES .............................. 199PowerUUT ....................................................................... 201PChek .............................................................................. 202PowerReset ...................................................................... 203Power .............................................................................. 204PowerPB .......................................................................... 206SPECIFICATIONS: ............................................................ 207

    SELFTEST MULTIPLEXER ............................................................... 209TMUX BLOCK DIAGRAM ................................................ 210TMUX .............................................................................. 211SPECIFICATIONS: ............................................................ 212

    TIME MEASUREMENT SYSTEM .................................................... 213TIME MEASUREMENT SYSTEM BLOCK DIAGRAM .......... 214EVENT COUNTER BLOCK DIAGRAM.............................. 215TIME AND FREQUENCY MEASUREMENT SYSTEM (TMS) 216TCOUNT ......................................................................... 216DTime ............................................................................. 218FREQ ............................................................................... 220Ratio ................................................................................ 221SPECIFICATIONS: ............................................................ 223

    TRIGGER MATRIX ........................................................................ 225TRIGGER MATRIX BLOCK DIAGRAM .............................. 226

    TRIGGER MATRIX ............................................................ 227Trigger Matrix Functional Calls .......................................... 233TMSetIn ........................................................................... 233TMSetOut ........................................................................ 235ClearTM........................................................................... 236ReadTM ........................................................................... 237

  • 7/27/2019 Programacion Windows 95 test

    7/291

    6 Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00Table Of Contents

    SPECIFICATIONS: ............................................................ 238Other Functional Calls ...................................................................................... 239

    PBID ................................................................................ 240IDLE ................................................................................. 241TCLEAR............................................................................ 242PUTDATMOD.................................................................. 243GETDATMOD .................................................................. 244DliNow ............................................................................ 245GetTesterSerial ................................................................. 246

    ExecGen & Test Executive ................................................................................. 247EXECUTIVE GENERATOR AND TEST EXECUTIVE ..................................... 248

    EXECGEN ..................................................................................... 248FILE UTILITIES: ............................................................................. 249TESTEXEC: Code Entry ................................................................. 251

    REPORTING SUBROUTINES ................................................................... 252PRINT ANALOG TEST FAILURE (PTA) ............................... 254PRINT DIGITAL TEST FAILURE (PTD) ................................ 256HEADER REPORTING (VBTestHead) ................................ 258FOOTER REPORTING (VBTestExit) ................................... 259TEST EXECUTIVE REPORTING (VBExecPrint) ................... 260

    TESTEXEC: Execution ................................................................... 261Functional Calls ................................................................................................. 265

    FUNCTIONAL CALLS - Short Form .............................................. 266EXECUTIVE REPORTING FUNCTIONS ........................................ 268

    Error Messages .................................................................................................. 269

    Digalog Error Messages ................................................................ 270SYSTEM ERROR MESSAGES ......................................................... 271

  • 7/27/2019 Programacion Windows 95 test

    8/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 System Overview

    7

    System Overview

  • 7/27/2019 Programacion Windows 95 test

    9/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00System Overview

    8

    2040 Block Diagram

  • 7/27/2019 Programacion Windows 95 test

    10/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 System Overview

    9

    SYSTEMS DESCRIPTION

    DIGALOGs Series 2040 comprises a line of functional test systems for analog,digital, and mixed signal performance testing. Series 2040 features anintegrated modular design approach utilizing four major subsystem packages;a powerful Pentium based computer system; a unique modular digital testsystem; a fully integrated analog test system; and a complete in-circuit analogmeasurement system.

    Series 2040 systems can be closely configured to meet the needs of particulartest requirements - digital, analog, or hybrid mixed signal applications. Testprogram generation is similarly organized on a modular basis. Both digital andanalog program development are done using an easily learned, interactiveprogramming approach that can be effectively applied by hardware orientedtest engineers.

    The ability to configure a Series 2040 system to fit a particular need iscomplemented by the capability to readily expand or modify a givenconfiguration to meet changing test requirements.

    The 2040 Block Diagram incorporates all of the subsystems available withinthe 2040 Series including the computer system, analog Testhead, powersupply systems, memory replacement unit, in-circuit measurement module,

    and the Emulator modules.

    COMPUTER SYSTEM

    The Series 2040 Test System incorporates a Intel Pentium based computersystem running on the Microsoft Windows NT 4.0 multitasking operatingsystem. This combination provides an ideal hardware and software foundationfor the control and computing requirements of the Series 2040 Test System,while providing the operator with a user-friendly graphical interface. Memorymanagement under Windows allows each application the necessarymemory to operate and easily switches from one application to another. In

    addition, the graphical interface is consistent from one application to another.When the operator becomes familiar with one Windows application, he orshe knows the essentials for learning any other Windows application.Microsoft Visual Basic V5.0 is used as a programming environment for the

  • 7/27/2019 Programacion Windows 95 test

    11/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00System Overview

    10

    Series 2040 Test System. It gives the programmer complete flexibility over thetest code and the user interface. By combining the simplicity of BASIC

    programming with graphical design tools, Visual BASIC provides theprogrammer with a quick and easy way to develop and maintain testprograms.

    HARDWARE

    The standard Pentium computer configuration includes 32 Mb of systemmemory, 3.5" 1.44 Mb floppy drive, 1Gb hard drive, PCI bus video card, 17"SVGA monitor, 101 key keyboard, serial mouse, SCSI PCI interface, and ISAbus Testhead controller. Optional features include:

    Additional memory 10 MBit/Sec Ethernet card CD-ROM reader DAT tape backup system SCSI hard drive 24-Pin printer I/O controller (4 serial & 2 parallel) 14.4K V.32/V.42 BIS modem GPIB controller

    The first Testhead Controller board (#1 on the block diagram) provides theTesthead to computer interface. The controller includes an opto-coupledextension of the Pentium address and data buses to the Analog Testhead/Measurement system.

    Digital test system Emulator modules are interfaced to the computer system bya second Testhead Controller (#2 on the block diagram). This TestheadController supports a 88-Pin Emulator module using a daisy chain cableconnection approach.

    ANALOG TEST SYSTEM

    The highly integrated Analog Test System is mostly contained within theAnalog Testhead module. Up to 23 functional boards plus the Amplitude

    Measurement System (AMS), Time Measurement System (TMS), MeasurementDisplay Electronics (MDE), and the Power Supply System Interfaces plug into

  • 7/27/2019 Programacion Windows 95 test

    12/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 System Overview

    11

    the Testhead. The Analog Testhead features a rugged 1632 pin Patchboardinterface to the UUT fixture.

    All functional and measurement system boards plug into the digital T-Buswhich provides the optically isolated bus extension link with the ComputerSystem. The 64 Channel Relay MUX, AMS, TMS, and MDE board assembliesalso plug into the Testhead analog bus which handles all analog signalinterfacing between these boards. The result is a completely integrated, cable-free, fully shielded, Analog Test System.

    Series 2040 Analog Test Systems include sophisticated power supply systemswhich include internal Testhead power, isolated programmable UUT power,and fixture power supply requirements. Up to five voltage/currentprogrammable UUT power supplies with continuously monitored high-lowlimits can be installed in the system; standard ranges to 150 volts and 20 ampsmaximum. A more detailed description of the power supply systems isprovided later in this chapter.

    All internal power supplies are monitored with fail safe shut down which isautomatically activated on violation of high/low limits. Product power suppliesand Patchboard supplies for fixturing are provided with hard disconnect relaycontactors. The sophisticated power monitoring systems provide protection forboth the Unit Under Test and the Analog Test System boards themselves.

    SYSTEM MAINTENANCE

    Series 2040 Systems are built with automatic self test (Selftest) and calibrationincorporated as a part of the initial design concept. Selftest programs aredesigned to exercise and verify all functions of the Analog Testhead and PowerSupply systems.

  • 7/27/2019 Programacion Windows 95 test

    13/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00System Overview

    12

    TESTHEAD ASSEMBLY

    The Testhead is the heart of the Series 2040 test system. This assembly consistsof:

    A 1632 pin Patchboard receiver interface. Analog T-Bus motherboard. Digital T-Bus motherboard. Internal Testhead Power Supply Controller. UUT power supply interface.

    At the very top of the Testhead is the Patchboard receiver interface. This1632 pin assembly is where the user connects and interfaces his product tothe tester. A Patchboard, containing appropriate pins and wiring for theapplication, is used for that interface. Changing the tester from one UUT toanother is accomplished by changing Patchboard fixtures and test software.

    The Patchboard receiver is divided into 24 slots. Each slot consists of 2columns, each containing 34 rows of pins. The 68 pin slots are numberedfrom left to right, as the user faces the front of the Series 2040 Test System.Specific pin assignments for each slot may be printed by using the TRManprogram, which is covered later in this manual. Except for the measurementsystem boards (Amplitude Measurement System (AMS), Time MeasurementSystem (TMS), and Measurement Display Electronics (MDE)), each Testhead

    card occupies one slot. Measurement system cards do not plug into thePatchboard receiver. Slot numbering assignments begin at 0, which isoccupied by the Power Supply System Interface. This leaves the remaining 23slots (1 to 23) for functional test boards.

    Columns of the Patchboard receiver are lettered from A to Z (excluding I andO) and AA to ZZ (excluding II and OO). Rows of the Patchboard receiver arenumbered from 1 to 34. This allows the user to refer to specific pins of thetester by using an alphanumeric nomenclature (e.g., A22, B32). Pin A1 is inthe upper left hand corner of the Testhead and pin ZZ34 is located in thelower right (as viewed from the tester front).

    Testhead cards plug directly into the Patchboard receiver pins via 68 contactsplaced on each card. Each card also contains 3 DIN type connectors forplugging into the two motherboards of the Testhead.

  • 7/27/2019 Programacion Windows 95 test

    14/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 System Overview

    13

    The measurement system cards occupy three special slots located in theright side (as viewed from front of tester) of the Testhead. These slots are not

    part of the normal Patchboard receiver interface in that these cards do notconnect to the pins of the receiver directly. Signals to the measurement systemboards are received from the analog T-Bus motherboard. Other cards, suchas the Relay Multiplexer Assembly (RMUX) place the signals onto the analogT-Bus. Measurement system boards do not have slot number assignments.

    The analog T-Bus motherboard is located next to the Patchboard receiver,towards the near side of the Testhead (as viewed from the tester front). Asmentioned earlier, this motherboard routes analog signals to and from variousboards within the Testhead. Some of the signals are the outputs of the RelayMultiplexer Assemblies to the Amplitude Measurement System, the output ofthe Test Multiplexer (TMUX) via a line called Sig3 (for calibration andverification during testing).

    Another motherboard located in the Testhead is the digital T-Bus motherboard. This board provides an optically isolated extension of the testerscomputers address and data lines to the Testhead boards. This allows theTesthead to appear as part of the computers memory map. The digital T-Busmotherboard is located just next to the Patchboard receiver, on the far side ofthe Testhead (as viewed from the tester front). The optical isolation actuallyoccurs on a card called the Testhead Controller, which is located in the testers

    computer. A 64 pin shielded cable connects the Testhead Controller to thedigital T-Bus motherboard.

    TESTHEAD POWER SUPPLY CONTROLLER

    The internal Testhead Power Supply Controller card is located in a special areaof the Testhead. This area is an enclosed box on the left side of theTesthead.

    CAUTION: This board has hazardous voltages on it.

    The internal Testhead Power Supply Controller is responsible for distributing,monitoring and controlling all of the voltages that the Testhead cards useduring testing. Additionally, this board controls the Patchboard power suppliesand interfaces them to the UUT power supply fault system.

  • 7/27/2019 Programacion Windows 95 test

    15/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00System Overview

    14

    The DC power for the Testhead comes from linear power supplies, most ofwhich are located behind the testers computer. The power supply cables plug

    into the internal Testhead Power Supply Controller card and are then routedto the analog or digital motherboards. The AC power for the linear supplies isalso distributed to each supply through the internal Testhead Power SupplyController. This allows the controller to shut down all the power supplies inthe case of a fault. Faults are generated when the internal Testhead PowerSupply Controller detects a power supply voltage falling below, or going abovea preset level. Once a fault is detected, all of the Testhead power supplies arecrowbared and AC power is removed from them. The user has to cyclepower to the Testhead to recover from this state.

    The Patchboard power supplies offer utility voltages (+5V@3A and

    +/- [email protected]) for use in powering either the UUT or circuitry located in thefixture. These power supplies are programmed (on or off) using the PowerPBfunctional call. The outputs of the supplies are also monitored for faultconditions. A fault on the power supplies will only affect the UUT powersupply system (the Testhead power supplies are unaffected). If a fault isdetected, the Patchboard power supplies are disconnected from both the ACpower and the Patchboard. The supplies are also disconnected from thePatchboard when they are programmed to an off state.

    The Testhead Power Supply Controller also responds to a logic signal that

    comes from a switch that detects whether the Patchboard handle is open.When the handle is opened, all Patchboard utility supplies and UUT powersupplies are shut down and disconnected. The supplies can be restored byprogramming with the appropriate functional call when the handle is closed. Ifthe Patchboard handle is open, attempts to program the supplies will generatean error in the users program.

    Slot 0 of the Testhead is reserved for UUT power supply connections,Patchboard power supply connections, and connection of the voltagecalibration source (TDAC). This slot has a special card permanently installed.This card translates some of the 68 pins of the slot to 5 Circular Plastic

    Connectors (CPCs). The CPCs contain high current contacts that allow cablesto connect to power supplies located in the equipment bay of the tester.Patchboard power supplies and the TDAC connections occupy the remainingpins of this slot. Patchboard power supplies and TDAC connections are routedthrough the analog T-Bus motherboard.

  • 7/27/2019 Programacion Windows 95 test

    16/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 System Overview

    15

    Slot 1 of the Testhead also has a section of its 68 pins reserved. These pins areused for Patchboard identification. See the PBID functional call later in this

    manual for a further description of these pins.

    MEASUREMENT SYSTEM CARDS

    The Testheads measurement system gives the user the capability of easilyperforming most analog measurements of voltages and/or waveforms. Morecomplicated measurements may be performed by using combinations of thefunctional calls associated with the measurement system cards in a userprogram. The measurement system cards consist of the:

    Amplitude Measurement System (AMS)Time Measurement System (TMS)Measurement Display Electronics (MDE)

    AMPLITUDE MEASUREMENT SYSTEM (AMS)

    The AMS uses an analog to digital converter (A/D) with 16 bit resolution tomake measurements of DC voltages. It has a number of different modes thatallow the user to capture and condition the voltage being measured. Theseare straight DC, filtered DC, DC and AC coupled RMS, and high speedcapture via a low acquisition time track and hold amplifier. The AMS has the

    capability to start conversions based on a trigger supplied from the MDE.Using the interrupt driven mode, the AMS can be used with the MDE andcomputer system to digitize a waveform up to a rate of 8 KSPS. Samplestaken by the AMS are read back and stored in the computer until thespecified number of samples are taken. All readings are then returned to thecalling program for analysis. The sampling frequency is based on an externalevent or clock using programmable triggers and the MDE. The normalfunctional call used to program the AMS card is called AMS.

    The AMS gets its voltage sources from the analog T-Bus motherboard. Thosevoltages or signals are placed on the motherboard by the Relay Multiplexer

    Assemblies. Selections of those signals are made by group multiplexers onthe AMS and are called SigA, Sig1, and Sig2. Two other signals of interest areSig3 and Sig4. Sig3 does not come from the Relay Multiplexer Assemblies. Itssource is the test multiplexer (TMUX) that is used for Selftest, calibration, andother internal monitoring of voltages. Sig4 is the differential value of whatever

  • 7/27/2019 Programacion Windows 95 test

    17/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00System Overview

    16

    voltages are multiplexed to Sig1 and Sig2. Programming of the groupmultiplexers is part of the MUX functional call, i.e., the user selects which

    signal path to route his signal to when the MUX functional call is run. TheAMS functional call selects which of the signals is to be routed to the A/D

    converter.

    The AMS card also contains circuitry that allows the user to trigger on voltagewaveforms on SigA, Sig1 and Sig2. The output of the programmable triggers isthen routed to the MDE card via the digital T-Bus motherboard. These outputsare labeled TrigA, Trig1 and Trig2, and correspond to the inputs SigA, Sig1 andSig2. Programming the triggers is considered part of the MDE and is discussedin further detail in that section. The reader can also refer to the TRIGfunctional call section. Using triggered readings allows the user to arm the

    AMS card and have a program continue its execution. Later in the program,the user can use another AMS call to read the previously triggered reading.

    Calibration of the AMS is done with the testers Selftest Assembly installed onthe Patchboard receiver. A precision voltage reference (TDAC), located in theSelftest assembly, is routed through TMUX to Sig3 to calibrate the AMS carditself. The TDAC is also used to calibrate the Relay Multiplexers inputs. Oncethe AMS is calibrated, it is used to calibrate the rest of the testers voltageresources.

    DIGITIZING MEASUREMENT SYSTEM

    The Digitizing Measurement System (DMS) Assembly has two analog todigital converter (A/D) channels each with 16-bit resolution used to makeamplitude measurements. These circuits can operate independently ofeach other, synchronously with each other, or interleaved with each other.The DMS can digitize input signals where the frequencies range from DCto 48 KHz. There are four modes of operation used by the functional callsto acquire the voltage readings. These modes are continuous digitizing,triggered burst digitizing, triggered sampling, and single-reading mode.Triggering for the DMS can come from any one of 6 inputs. These are the

    Trigger Matrix, a CPU write, the MDE, TrigA, Trig1 or Trig2. The sampling rateis programmable from 0.01 Hz to 96 KHz using one of two Direct DigitalSynthesizers (DDS) dedicated to each channel. The A/D channels can bothsample on the same DDS frequency, or can sample independently based onseparate DDS output frequencies. The sample rate can also be based on any

  • 7/27/2019 Programacion Windows 95 test

    18/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 System Overview

    17

    one of the trigger inputs.

    The DMS gets its voltage sources from the Relay Multiplexer cards.Selections of those signals are made by group multiplexers on the DMSand are routed to one of 3 signals called SigA, Sig1, and Sig2. SigA is usedonly as a triggering input while Sig1 is routed to A/D channel #1 and Sig2is routed to A/D channel #2. Another input signal to the DMS is Sig3. Thesource of Sig3 is the test multiplexer (TMUX) and is used for Selftest,calibration, and other internal monitoring of voltages.

    The DMS card also contains circuitry that allows the user to trigger on voltagewaveforms on SigA, Sig1 and Sig2. The output of the programmable triggers isthen routed to the MDE card and to each of the A/D channels. These triggeroutputs are labeled TrigA, Trig1, and Trig2. Both A/D channels can runsynchronously on the same trigger, or run independently on separate triggers.Calibration of the DMS is done with the testers Selftest assembly installed onthe Patchboard receiver. A precision voltage reference (TDAC), located in theSelftest assembly, is routed through TMUX to Sig3 to calibrate the DMS carditself. The TDAC is also used to calibrate the Relay Multiplexers inputs.Once the DMS is calibrated, it is used to calibrate the rest of the testersvoltage resources.

    64 CHANNEL RELAY MULTIPLEXER ASSEMBLY (RMUX)

    The Relay Multiplexer Assembly contains 64 high impedance inputs arrangedas four 16 to 1 multiplexers. Input voltage ranges of 200, 20, 2 and 0.2 voltsare accomplished with on board, programmable gain amplifier circuitry. Thefunctional call used to program the Relay Multiplexer Assembly is called MUXand is described later in this manual. The MUX functional call also controls thegroup multiplexers on the AMS or DMS card. Selection of which signal (seethe AMS and DMS sections) the channel of the Relay Multiplexer Assembly isrouted to is controlled by this functional call. Note that one channel of theRelay Multiplexer Assembly can be applied to one, two or all three signals. Orthe user could program three different channels to the three different signals.

    The sixteen to one multiplexers of the Relay Multiplexer have break beforemake circuitry to ensure that relays dont short two voltage sources together.The break before make time is hardware controlled. The feature is notprogrammable.

  • 7/27/2019 Programacion Windows 95 test

    19/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00System Overview

    18

    MEASUREMENT DISPLAY ELECTRONICS (MDE)

    The Measurement Display Electronics (MDE) is a unique feature that assists inthe quick development of waveform measurements. This is accomplished byallowing the user to see what the tester has been programmed to see. Theprogram does this by using a visual display (typically an oscilloscope) on whichthe waveform(s) of interest are displayed and are overlaid by intensifiedregions representing the trigger points, trigger delays and measurement pointsthat the tester has been programmed to. This part of the MDE can be thoughtof as a programmable, dual sweep, alternate trace oscilloscope. The visualdisplay is not necessary for the tester to test boards and is typically used duringtest development.

    As a programmable oscilloscope, the MDE has familiar features such assweeps, triggers and delays (also called trigger hold off). Programming theMDE to display a waveform consists of:

    setting the triggers (TRIG functional call, one call for each signal)setting the sweep speed (SWEEP functional call, one call for each sweep)setting the vertical amplitude (VERT functional call, one for each sweep)setting the trigger hold off ( DELAY functional call, one call for each sweep)setting the second trace starting mode (T2DEL functional call)

    Each of the functional calls are described later in this manual.

    The MDE has the capability of starting conversions on the AMS or DMS cardvia a signal routed on the digital T-Bus motherboard. This signal comes fromthe measurement MARK circuitry. The MARK is placed relative to thebeginning of the SWEEP and can be either on the first sweep or the secondsweep. When using the measurement MARK, the user must wait for the eventthat causes MARK to occur. This is accomplished by using the time outparameter in the AMS functional call. More details are available in the MARKfunctional call description.

    The MDE card also contains the circuitry used to determine which events(triggers, end of delays, etc.) are to be routed to the Time MeasurementSystem. Programming this section of the MDE card is left to the DTIME andFREQ functional calls.

  • 7/27/2019 Programacion Windows 95 test

    20/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 System Overview

    19

    TIME MEASUREMENT SYSTEM (TMS)

    The Time Measurement System (TMS) is the Series 2040 testers counter/timer. It has the capability of making time (period) and frequencymeasurements. Additionally, the TMS has the capability to count non-periodicevents.

    The TMS card gets its input signals from the MDE card. Gating andmultiplexers on the MDE allow the user to select the period to measure, thefrequency to measure, or in the case of the functional call RATIO, both.Programming of the multiplexers is handled by the DTIME or FREQ functionalcalls. The DTIME and FREQ functional calls also return the readings taken tothe users program.

    Counting of events can also be done using the TMS cards event counter andthe TCOUNT functional call. Events to count are determined by the triggercircuitry on the AMS card. Which trigger output to count is selected by usingthe multiplexers on the MDE card. See the TCOUNT functional call for moredetails.

    AUXILIARY RELAY (AUXRLY) AND AUXILIARY FET (AUXFET) SWITCHINGBOARDS

    The Series 2040 offers a 32 channel Auxiliary Relay (AUXRLY) board for lowcurrent analog and digital signal switching. A 32 channel Auxiliary FET(AUXFET) board is used for power switching requirements.

    The AUXRLY boards reed relays have low contact resistance, low inputcapacitance, and high leakage resistance. Relays on this board are fullyisolated and have both sides of the relay connected to the Patchboard. The

    AUXFET board provides 32 channels of optically isolated , bipolar VMOS,power FETs to handle current switching operations.

    For high current applications, the High Current Relay board (HCRly) and High

    Current FET board (HCFET) is available. All boards in this family use theAuxRly functional call to control the on or off state of each individual relay

    (or FET.) This enables the designer/programmer to swap or substitute differentswitching boards without changes to the test programming code.

  • 7/27/2019 Programacion Windows 95 test

    21/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00System Overview

    20

    64 X 4 MATRIX RELAY BOARD (MRLY)

    The Digalog Systems Matrix Relay board contains 256 relays organized in a 64channel x 4 bus matrix . Up to 16 Matrix Relay boards may be placed into theTesthead at a time. The Matrix Relay boards may be operated in any one offive possible modes set by the MODMRLY functional call. Mode 0 is the mostflexible mode of the Matrix Relay board. It allows any channel to beconnected to any bus. A break before make feature is included, and can beenabled or disabled by software control (Mode 1). The duration of the break isprogrammable. Mode 2 emulates the Digalog Relay Multiplexer assembly.Mode 3 allows a bus to be connected to one channel only and Mode 4 allowsa channel to be connected to one bus only.

    The relays used on this board are instrument grade reed relays. They can beindividually switched on or off using the MRLY functional call. The power-onand reset state of all relays is open, with the break before make featuredisabled.

    One slot of the Digalog analog Testhead has 68 connections to the Patchboardreceiver. Of the 68, 64 of these connections are used for one side of thematrix ( see the Matrix Relay block diagram). The remaining four receiverconnections are used for the other side of the matrix. This allows the user toconnect any number of 64 points to any of four buses. This also means that

    any of the 64 points can be connected to any other of the remaining 63.

    Circuitry on the Matrix Relay board will insure break before make operationof the relays. This feature is software controlled and may be enabled / disabledwith the MODMRLY functional call.

    A typical application of this board is to replace the auxiliary relay board whenswitching to a common bus is desired. The Matrix Relay board allows the usera higher relay density per analog Testhead slot used. Such an application mightbe in pulling up (or down) high voltage UUT inputs (or outputs). Anotherapplication for this board might be a multiplexer for external equipment used

    in highly specialized applications.

  • 7/27/2019 Programacion Windows 95 test

    22/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 System Overview

    21

    ANALOG SOURCE BOARD (ASB)

    The Analog Source Board (ASB) is the Series 2040 testers primary resourcemodule for analog signals. The ASB is populated with 12 digital to analogconverters (D/As) and two arbitrary waveform generators (ARBs). Both types ofsources have an output range of +/- 16 volts. The D/As outputs are rated at100 mA while the ARBs are rated at 50 mA. In addition to the analog signals,two TTL level digital signals are provided with each ARB channel. Thesesignals can be used to synchronize to waveforms programmed into the ARB,or they can be used in their own right as digital pulse waveforms.

    The D/As are used to provide DC voltages to the unit under test (UUT). Theyare programmed using the DA functional call, which is described later in thismanual. Using a dual rank register on the digital inputs, outputs of multipleD/As on one board may be updated by using the appropriate functional callsyntax.

    The arbitrary waveform generator (ARB) has multiple functional calls used tocontrol the output waveform. They are:

    ARBPROG - Used in order to program a waveform using segments.ARBSIN - Provides a convenient way to program a sine waveform into the

    ARB.

    ARBGET - Provides a means of getting data for ARBPUT.ARBPUT - Provides a quick means of programming using binary data.FARBGET - Provides a means of getting data for FARBPUT.FARBPUT - Uses floating point numbers, typically generated from

    equations, for programming the ARB.ARBFREQ - Sets the rate at which data is clocked to the ARBs DAC.ARB - Provides on/off control, selection of external start/stop inputs.

    A typical programming sequence of an ARB would be to program the memory(ARBPROG, ARBSIN, ARBPUT or FARBPUT), set the frequency of the memoryclock (ARBFREQ) and start the ARB (ARB functional call). To determine the

    frequency used in the ARBFREQ functional call, the following may be used:

    The ARB memory frequency is equal to the desired output waveformfrequency times the number of ARB memory locations used to create thewaveform.

  • 7/27/2019 Programacion Windows 95 test

    23/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00System Overview

    22

    Fout

    = Fclock

    /(# of steps) or Fclock

    = Fout

    x (# of steps)

    The TTL outputs of the ARB are programmed with the ARBPULSE functionalcall. If these outputs are used in conjunction with the analog output of the

    ARB, certain conditions should be observed:

    1. The number of ARB memory locations used needs to be the same.This means that the ARBSIN, ARBPROG, ARBPUT, or FARBPUT callused has to have the same number of steps programmed as the

    ARBPULSE call used for that channel.

    2. The memory for the analog ARB output and the digital outputs uses

    the same clock within that channel (i.e. ARB channel 0 and ARBPULSEchannels 0 and 1).

    MULTIPLE SERIAL PROTOCOL BOARD (MSP)

    The Multiple Serial Protocol (MSP) card has four sections. They are thePatchboard identification, the test multiplexer (TMUX), the serialcommunications section, and the Isolation Amplifier (ISOAMP) section.

    The MSP card has circuitry to read back an identification field on the users

    patch board. The PBID functional call, covered later in this manual, has moreinformation on this feature. Other cards such as the Instrumentation Amplifierboard and the TMUX Utility board have the same Patchboard identificationcircuitry.

    The test multiplexer (TMUX) section of this card multiplexes internal signals tothe Amplitude Measurement System (AMS), via SIG3, for calibration and testpurposes. The user can also use this resource to read the output of theIsolation Amplifiers (ISOAMPs). Other cards such as the Instrumentation

    Amplifier board and the TMUX Utility board have the same TMUX circuitry.The TMUX functional call is used to select which channel of the TMUX is

    routed to the AMS.

    The serial communications section of the Multiple Serial Protocol (MSP) boardis designed to communicate with Units Under Test (UUTs) via a variety ofserial protocols. Included are RS-232C, asynchronous RS-422/RS-485, and

  • 7/27/2019 Programacion Windows 95 test

    24/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 System Overview

    23

    Controller Area Network (CAN). Other protocols such as single wire UARTlines can also be used with this card. Three functional calls are associated with

    the RS-232/RS-422/RS-485 section of the MSP board. They areUARTPARAMS, SENDSERIAL and RECVSERIAL. UARTPARAMS sets up theprotocol and details of the serial data transmission while SENDSERIAL andRECVSERIAL send and receive blocks of data. More information about thesefunctional calls is available later in this manual.

    Custom serial protocols have been implemented using the MSP card. ContactDigalog Systems Inc. for more information.

    The MSP card has four Isolation Amplifiers (ISOAMPs). These amplifiers havedifferential inputs followed by a programmable gain stage. The output is thenfed through a programmable filter. The inputs of the amplifiers are floatingand can measure small voltage differences in the presence of large commonmode voltages. The Isolation Amplifiers share the functional call INST with theInstrumentation Amplifier card. This functional call is covered later in thismanual.

    DIGITAL INPUT/OUTPUT BOARD (DIO)

    The Digital Input / Output (DIO) board provides the user the capability todrive and read back TTL signals to the Unit Under Test (UUT). Each board has

    32 drivers and 32 receivers. The functional calls associated with the DIOdivides the drivers and receivers into eight bit bytes for ease of programming.Driver outputs can be placed into a tri-state condition on an individual basisand are protected by series resistors. Receiver inputs are protected fromovervoltage conditions using diodes.

    Data out to the Patchboard pins can be either clocked with an external signalor clocked from the testers computer. Data can be strobed into the DIO via acomputer command, an external signal or can be derived from the outputclock. The receiver strobe can be delayed by using the on board delay.

    When using multiple DIO cards in a system, all clocks and strobes come fromthe board designated as the master card. All other cards in the system willget their clock and strobe from the digital T-Bus motherboard, which is drivenby the master. There is only one master in the system at any time. There mustalways be a master designated, even if there is only one card in the system.

  • 7/27/2019 Programacion Windows 95 test

    25/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00System Overview

    24

    Programming the DIO cards uses the following set of functional calls. If theTesthead was in a just reset state, the order in which the functional calls are

    shown will be how they normally appear in a program.

    MASTER - Selects which board in the system will be the master for clocksand strobes.

    DVREN - Enables the output drivers.DVRDAT - Sets or clears the outputs of the DIO. Data will appear after

    the DVRCLK functional call.DVRCLK - Clocks the data programmed from the DVRDAT call to the

    output pins of the DIO. All DIO cards in the system are clockedby this signal.

    RSTROBE - Strobes the data at the Patchboard pins into the receiver

    registers on the DIO card.RCOMP - Reads the receiver registers and compares the data with data

    given in the functional call. This allows the user to mask bitswhose state does not matter.

    More details on the DIO functional calls can be found later in this manual.

    OPEN COLLECTOR I/O / RELAY DRIVER BOARD (OCIO)

    The Open Collector I/O (OCIO) board is designed to drive and receive high

    voltage logic or digital signals. The board provides 64 open-drain outputs,each capable of handling up to 50 volts. Each output pin may also serve as aninput, either to read back the state of the output driver or just as an input(output driver at open or high impedance state). Each output can sinkcurrents up to 0.5 A (subject to total board power dissipation limits). The highvoltage and high current ratings of the OCIO allow it to serve as a relay driverboard.

    Each driver has its own internal pull up resistor which can be:

    a.) completely disconnected

    b.) connected to an internal 5 volt busc.) connected to a voltage bus supplied from an external source.

    Disconnecting the internal pull up resistor allows the use of an external pull upresistor. Programming the OCIO card is accomplished with the following

  • 7/27/2019 Programacion Windows 95 test

    26/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 System Overview

    25

    functional calls (usually in the order shown):

    OCIORAIL - Selects which voltage bus, external or internal, the OCIO will beusing for its internal pull up resistors.

    OCIOEN - Enables or disables each channels internal pull-up resistors.OCIODATA - Sets the output drivers to a conducting or non-conducting state.OCIOREAD - Reads back the output voltages on each individual channel pin.

    Then it returns data in a binary format where a 1 correspondsto an output pin voltage of greater than 2.4 volts. More detailsof these functional calls are presented later in this manual.

    ADJUSTABLE DIGITAL INPUT/OUTPUT (ADIO)

    The ADIO board supplies 32 channels of tri-state drivers along with 32programmable level receivers. The drivers and receivers are used for generalpurpose discrete (Boolean) testing at voltage levels from -15 to +15 volts.

    Features:

    32 programmable drivers, 15 volts@24 milliamps All drivers can be put into a high impedance (tri-state) condition 32 dual level receivers, levels programmable from +15 to -15 volts External driver clock input

    External receiver strobe input Programmable delay on receiver strobe Connection to Digalogs Trigger Matrix Bus for driver clock and

    receiver strobe from other tester resources

    The Adjustable Digital Input / Output (ADIO) board provides the user thecapability to drive and read back discrete or Boolean signals to the Unit UnderTest (UUT). Each board has 32 drivers and 32 receivers. Both driver andreceiver are capable of 15 volt levels. The functional calls associated withthe ADIO divides the drivers and receivers into eight bit bytes for ease ofprogramming. Driver outputs can be placed into a high impedance condition

    on a bit by bit basis. Both drivers and receivers are protected from overvoltageconditions.

    Signals out to the Patchboard pins can be either clocked with an externalsignal or clocked from the testers computer. Data can be strobed into the

  • 7/27/2019 Programacion Windows 95 test

    27/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00System Overview

    26

    ADIO via a computer command, an external signal or can be derived from theoutput clock. This receiver strobe can be delayed using the on board delay

    unit.

    When using multiple ADIO cards in a system, or when using the ADIO with aDIO card, all clocks and strobes come from the board designated as themaster card. All other cards in the system will get their clock and strobefrom the digital T-Bus motherboard, which is driven by the master. There isonly one master in the system at any time, and there must always be a masterspecified.

    TRIGGER MATRIX

    The Trigger Matrix is a system-wide resource that interfaces with most cardsand resources of the Series 2040 Test System. The digital T-Bus motherboard,the measurement cards, the digital test cards, and the source cards are allinvolved. The Trigger Matrix system is broken down into the following areas:

    The Trigger Matrix Bus located on the T-Bus motherboard. The Trigger Matrix circuitry located on the Testhead cards. The Trigger Matrix CPU Interface located on the Internal Testhead

    Power Supply Controller card.

    The Trigger Matrix Bus (TMB) is composed of eight signal lines on the DigitalT-Bus motherboard. The following rules apply to the Testhead cards andsoftware using the TMB:

    Each line on the bus must be driven from a Testhead card in orderfor any other card to receive a trigger signal.

    Only one card can drive a particular line at any given time. Any card can drive multiple TMB lines with separate trigger signals. Any number of cards may receive a trigger signal placed on a TMB

    line. Any card may receive separate trigger signals on multiple TMB lines.

    Each line of the Trigger Matrix Bus is pulled up to VCC via a 470 ohm resistor.This pull up defines the non driven state of the bus. A dual termination (oneon the Testhead Power Supply Control card, the other at the opposite end ofthe Digital T-Bus motherboard) helps preserve signal integrity. Capacitive

  • 7/27/2019 Programacion Windows 95 test

    28/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 System Overview

    27

    terminators are used in order to reduce power requirements during idle times.

    SERIES 2040 POWER SUPPLIES

    Series 2040 testers are equipped with a power supply system that integratesthe monitoring and control of the system Testhead power supplies, utilityPatchboard supplies, and programmable ATE power supplies and controllers.

    TESTHEAD POWER SUPPLIES

    Linear power supplies for internal Testhead power requirements.

    UTILITY PATCHBOARD SUPPLY

    A linear triple output supply (5V/3A, +/- 15 V/.8A) with system programmableon-off control for UUT fixture utility use.

    PROGRAMMABLE ATE POWER SUPPLIES

    Voltage programmable ATE power supplies are combined with UUT powersupply controller modules in most Series 2040 systems. This module providesvoltage programming and continuous monitoring of output voltage andcurrent. High and low limits can be programmed for supply and system

    shutdown. The controllers disconnect relay allows the system to isolate theUUT board from the supply for in-circuit test operation.

    TESTHEAD POWER SUPPLY CONTROLLER BOARD

    The Testhead power supply controller monitors all Testhead power supplies forboth over and under voltage. On sensing an out of limit condition, thecontroller action shuts down all Testhead, Patchboard, and ATE powersupplies. If the fault originates in the Patchboard power supply or the ATEprogrammable power supply, the controller board shuts down all but theinternal Testhead supplies.

    The controller also responds to four external logic signals:

    1) The Patchboard open sensor.2) CPU Patchboard supply on/off command.

  • 7/27/2019 Programacion Windows 95 test

    29/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00System Overview

    28

    3) Reset signals.4) External Faults

    All shutdowns, with the exception of an internal power supply fault, can berestored by computer control command. Testhead internal power supplies canonly be reset by powering the Testhead AC power switch OFF, and then ON.The source of first out failure is indicated by the absence of the appropriategreen LED indicator lamp viewable through the clear plastic window on theleft side of the Testhead.

    UUT P/S CONTROLLER MODULES

    he UUT power supply controller modules provide program control, output

    measurement, fault monitoring, and relay disconnect of ATE supplies. Acurrent loop is used to communicate between the 2040s computer and up tofive power supply controllers. They are rated to handle ATE supplies withinthe range of 0 - 200 Volts and 0 - 30 Amps. Power supply output is routedthrough the controllers mercury wetted disconnect relay before being cabledto one of the five connectors on the Patchboard power supply distributionassembly.

  • 7/27/2019 Programacion Windows 95 test

    30/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 Software Overview

    29

    Software Overview

  • 7/27/2019 Programacion Windows 95 test

    31/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00Software Overview

    30

    MICROSOFT WINDOWS 95 / NT 4.0 OPERATING SYSTEM

    DESKTOP

    ELEMENTS OF THE DESKTOP:

    MY COMPUTER - Selecting (double-clicking on) this icon provides a

    display of the computers contents, the network structure (if present),and access to the Control Panel, Printer setup, and Dial-up Networkingwhere applicable.INBOX - For use with Microsoft Mail in multi-user systems.RECYCLE BIN - Temporary storage area for deleted files. These files canbe restored after being deleted, or permanently deleted by emptyingthe Recycle Bin.START BUTTON - Used to start a Program, open a Document, displayor change system Settings, Find files or folders, getHelp, Run selectedprograms, or Shut Down the computer.TASK BAR - This area between the Start Button and the clock is used

    to display open applications. A typical Task Bar is shown below.Start

    ButtonOpen Applications Clock

  • 7/27/2019 Programacion Windows 95 test

    32/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 Software Overview

    31

    ELEMENTS OF THE START BUTTON

    PROGRAMS - When this option is selected with the mouse from theStart Button, a vertical display of Program Groups and individualprograms is displayed as shown below:

    These groups correspond to the Program Group Icons on the desktopof a computer running Windows V3.X, and are designated by an arrow

    to the right of the folder. To open a group, drag the mouse over thedesired group and release the left mouse button. A second verticaldisplay will appear with the contents of the selected Program Group.

    An individual program, such as MS-DOS Prompt, Windows Explorer, oran individual program listed under one of the Program Groups, can beopened by dragging the mouse over the desired program andreleasing the left mouse button.

    DOCUMENTS - When Documents is selected from the Start Button, alist of some of your most recent edited documents is displayed. Toopen one of these documents, drag the mouse over the list and release

    the left mouse button over the desired selection. The parentapplication will automatically activate itself, and the selecteddocument will be opened.

  • 7/27/2019 Programacion Windows 95 test

    33/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00Software Overview

    32

    SETTINGS - When this option is selected, a short menu appears with achoice of the Control Panel, Printers setup, and the Taskbar, as shownbelow.

    The Control Panel is used to configure the operating system, and will,be discussed in detail later in this section. The Printers option isspecifically aimed at selecting and configuring the system printers. If theTaskbar is selected, a dialog box appears with options to configure theTaskbar and Start menu.

    FIND - This option can be used to find a specific file on a specific drive,similar to the Search option under the File menu in the Windows V3.XFile Manager. This option can also be used to find a specific computeron a network.

    HELP - The Help option displays a dialog box with options for a brieftutorial and standard help topics, or an index to search for help onspecific words or phrases.

    RUN - When the Run option is selected, a dialog box appears with adrop-down list of system information programs. A browse feature isalso included to allow the user to search for a specific program.

    SHUT DOWN - This option is used to quit Windows and turn off thecomputer as shown on the next page.

  • 7/27/2019 Programacion Windows 95 test

    34/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 Software Overview

    33

    On some systems utilizing a network, a fourth option will be displayedto Close all programs and log on as a different user.

    ELEMENTS OF A WINDOW

    TITLE & MENU BARS - The Title Bar contains the name of theapplication or document, and three window buttons as shown below.

    These buttons are used to minimize the application to the Task Bar,maximize the application to cover the full screen, or close theapplication. The Menu Bar contains pull-down menus that vary fromapplication to application.

    TOOLBAR - A series of buttons used as shortcuts to commonly usedcommands. The toolbar from the standard Windows 95 / NT 4.0Control Panel is shown below.

    MinimizeMaximize

    Title Bar

    Menu Bar

  • 7/27/2019 Programacion Windows 95 test

    35/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00Software Overview

    34

    SYSTEM CONFIGURATION

    CONTROL PANEL - The Control Panel is the primary tool in Windowsfor configuring system appearance, hardware, software,communications, and networks. The components displayed in theControl Panel will vary with the hardware and software installed in thesystem. A typical Control Panel is shown below:

    Since all of the items in the Control Panel do not apply to every system,only a few of the more important items will be discussed here.

    Add New Hardware - Allows the user to install new hardware (harddrives, modems, etc.) in the system and let Windows 95 / NT 4.0search for the new items and configure them.

    Display - Allows the user to select active and inactive window colors,

    background colors, a screen saver, or display type.

    Modems - Allows the user to install an internal or external modem inthe system and let Windows 95 / NT 4.0 search for the modem andconfigure it for type, baud rate, parity, etc.

  • 7/27/2019 Programacion Windows 95 test

    36/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 Software Overview

    35

    Network - Provides the user with a selection of common networkprotocol configurations, identifies the computer to the network, and

    allows the computer to share resources.

    Printers - Allows the user to add and/or configure system printers.

    System - This program is divided into four sections:

    General - General information about the system.

    Device Manager - Allows the user to view the properties of all ofthe devices in the system and remove these devices if necessary.

    Hardware Profiles - Allows the user maintain multiple hardwareconfigurations which can be selected at startup.

    Performance - Provides general performance information andallows the user to monitor the usage of the file system andgraphics adapter. This routine also allows the user to manuallyconfigure the swap file for virtual memory or let the Windows95 operating system perform this task automatically.

    Windows 95 REGISTRY- The Windows 95 Registry contains the

    system information that was provided by the Win.ini and System.inifiles in Windows V3.X. From the Start Button, select the RUN option.From the pull-down menu, select regedit. A screen will appearallowing the user to view or change the contents of the system Registry.

    NOTE: Information in the Registry should not be changed by the userwithout a thorough knowledge of the contents and purpose of theRegistry. Consult the Microsoft Windows 95 Resource Kit for details.

  • 7/27/2019 Programacion Windows 95 test

    37/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00Software Overview

    36

    Windows NT 4.0 REGISTRY- The Windows NT 4.0 Registrycontains the same corresponding information as the Windows 95

    Registry. However, under the Windows NT operating system, Digaloghas added all of the configuration and information (.ini) files forDigalog software and hardware into the Windows NT Registry as well.Examples of the Digalog entries in the System Configuration and UserConfiguration sections of the Windows NT 4.0 Registry are shownbelow.

    User Configuration Information - This section contains thepreferences and configuration values set by the systems current user.This includes all window position and size data, current projectinformation, and user-selectable software preferences. Options in thisarea will be kept separate for each user on a system, and anappropriate default value must be available if a key has not yet beeninitialized by the current user. Application subkeys might becustomized for individual application needs.

  • 7/27/2019 Programacion Windows 95 test

    38/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 Software Overview

    37

    System Configuration Information - This section contains the settingsand configuration values for a specific tester and the software packages

    installed on it. It includes all hardware information, computer resourcesused by the controller(s), and software installation data.

    NOTE: The above graphics display typical Digalog configurations.Actual configurations will vary from tester to tester depending on the

    available resources and software installed. These graphics display onlythe Digalog additions to the Windows NT 4.0 Registry. They do notdisplay any of the standard operating system entries. Information in theRegistry should not be changed by the user without a thoroughknowledge of the contents and purpose of the Registry. Whenmodifying the Windows NT 4.0 entries, consult the Microsoft

    Windows NT 4.0 Resource Kitfor details.

    Digalog software enters and maintains the Digalog entries in theRegistry. If the Digalog entries are to be manually modified for anyreason, contact Digalog Systems for information and assistance.

  • 7/27/2019 Programacion Windows 95 test

    39/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00Software Overview

    38

    ADMINISTRATIVE TOOLS

    The Windows NT Workstation 4.0operating system includes a set ofadministrative tools for customizingand maintaining the system. Each willbe briefly discussed here. For a moredetailed explanation, consult the Microsoft Windows NT Workstation 4.0Resource Kit.

    Backup - This option from the Tools menu allow the operator tobackup system data or the entire system using the Ntbackup

    command. Scheduled backups can be programmed during hourswhen the computer is normally unattended. This option requires aTape Backup drive.

    Disk Administrator - This toolallows the operator to view,create, partition, and formateach logical drive on the harddrive. The partitions aredisplayed graphically as shownto the right. This utility can

    also group multiple areas offree disk space on one or morehard drives to create avolume. These volumes areassigned a drive letter and can be used as though they were onecontiguous area.

    Event Viewer - This option from the Administrative Tools menu can beused to view significant events happening in the system or even inindividual applications. These events can range from creating ordeleting files to invalid logon attempts for security reasons. The events

    are tracked by a system log, application log, or security log. The eventsthat are logged by each type can be reviewed by the Event Viewer.

    Performance Monitor - The Performance Monitor allows the operatorto chart the system activity by using a series of counters to track data.

  • 7/27/2019 Programacion Windows 95 test

    40/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 Software Overview

    39

    This data can include currently running processes waiting for CPU time,network communication, printing, etc. This routine can also triggerwarning messages or start procedures whenever a specified threshold isreached. This data can be logged and reviewed, or used by otherapplications.

    Remote Access Administration - This option allows an operator with

    the proper security validation to use the Remote Access Service (RAS)feature of Windows NT Workstation to dial in and performadministrative duties. These administrative tasks can include theexecution of programs, setting up sharing or restriction of the filesystem, or making changes in the system registry.

    User Manager - The User Manager option allows the systemadministrator to grant, modify, or revoke individual users accounts andpolicies. The user account includes access to files and directories, useof system resources such as printers, or access to the registry. Theoperator should have a thorough knowledge of this utility before

    adding or modifying user accounts.

    Windows NT Diagnostics - This utility (shown on the next page) canbe used to display system information in an easy to read andunderstand format. This dialog includes the Version, System, Display,

  • 7/27/2019 Programacion Windows 95 test

    41/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00Software Overview

    40

    Drives, Memory, Services, Resources, Environment, and the Network ifpresent.

  • 7/27/2019 Programacion Windows 95 test

    42/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 Visual BASIC Interface

    41

    Visual Basic Interface

  • 7/27/2019 Programacion Windows 95 test

    43/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00Visual BASIC Interface

    42

    Menu Bar

    Toolbar

    Toolbox

    Form ProjectExplorer

    PropertiesWindow

    MICROSOFT VISUAL BASIC

    Microsoft Visual BASIC is used as a programming environment for the Series2040 Test System. It gives the programmer complete flexibility over the testcode and the user interface. By combining the simplicity of BASICprogramming with graphical design tools, Visual BASIC provides theprogrammer with a quick and easy way to develop and maintain testprograms.

    VISUAL BASIC FUNDAMENTALS

    To open Visual BASIC from the Start Button, click on the button, drag themouse from Programs to the Visual BASIC 5.0 Menu, and then to the VisualBASIC 5.0 application. Release the mouse button, and the Visual BASIC mainwindow will be displayed as shown below.

    This window displays all of the main elements of Visual BASIC. Each of these

    will be briefly discussed in the following section. The program also comes withVisual Basic Books On-Line which is accessed through the Help pull-downmenu from the Menu bar. This option includes all of the normal Visual Basicdocumentation such as the Visual BASIC Programmers Guide and LanguageReference books.

  • 7/27/2019 Programacion Windows 95 test

    44/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 Visual BASIC Interface

    43

    MENU BAR

    File Menu - The File Menu from VB5.0contains options to create a New Project,Open an existing Project, Add a Project tothe existing Project Group, Remove aProject from the existing Project Group,Save a Project Group, Save a Project Group

    As another name, Save a form, Save a FormAs, and the standard Windows 95 Print

    options. It also contains options forcompiling the project into an executableand creating a Project Group from the open

    projects.

    Note: Both the Save Sample.frm and SaveSample.frmAs options and the MakeSample.exe option use the current Projector Project Group name, and these nameswill change as the Project or Project Groupname changes.

    Edit Menu - The Edit Menu from VB5.0contains the usual UnDo, ReDo, Cut, Copy,Paste, Delete, and SelectAll options. TheFind, Find Next, and Replace options areused to search for text strings within theproject. If the search is successful, the Finddialog disappears and VB5.0 highlights thedesired text.

    The Indent and Outdent options are used toshift a block of highlighted text to the nexttab stop to the right (Indent) or the left

    (Outdent). The Insert File option is used toinsert a file (composed of text) at a locationspecified by clicking the text tool.

    The List Properties/Methods option displays

  • 7/27/2019 Programacion Windows 95 test

    45/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00Visual BASIC Interface

    44

    a list box containing the properties and methods available for theobject that precedes the period(.). The List Constants option displays a

    list box containing the valid constants for a selected property. TheQuick Info command displays the syntax for a variable, function,statement, method, or procedure which has beenselected from theCode window. Parameter Info displays information about theparameters of the initial function or statement. The Complete Wordoption instructs Visual BASIC to complete the remainder of a wordonce enough letters in the word have been entered for recognition.The last option from the Edit Menu is Bookmarks. This option allowsthe programmer to create, remove, or manipulate bookmarks in thecode window.

    View Menu - The View Menu containsoptions for viewing the various parts of theproject. The Code and Object options willdisplay the active object or code behind theactive object for the current project. TheDefinition option displays the location of aselected variable or procedure in the Codewindow. Last Position allows theprogrammer to jump to a previous locationin the Code window. The Object Browser

    displays a dialog showing all of the classesavailable to the project.

    The Immediate Window option displaysdebugging information for troubleshootingpurposes. The Locals Window displays thevariables in the current stack and theirindividual values. The Watch window displays the current watchexpressions for debugging purposes. The Stack option displays thecurrently running procedures in the application.

    The Project Window, Properties Window, and Form Layout Windowoptions force the display of each of these windows respectively. Thesewindows will be discussed separately later in this section. TheProperties Pages option displays a dialog containing a Property orgroup of Properties as an alternative to the Properties Window.

  • 7/27/2019 Programacion Windows 95 test

    46/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 Visual BASIC Interface

    45

    The Toolbox and Color Palette options are used to display theirrespective dialogs. The Toolbars option is used to display the various

    Toolbar groups or design a custom Toolbar.

    Project Menu - The Project Menu is used toadd or remove various options to/from theproject. A new or existingForm, MDI Form,Module, Class Module, Property Page, UserDocument, Active X Designer, or File can beadded. TheAdd File option is very useful toadd a list of *.bas files to the project. Thesefiles add declarations and subroutines to theproject and eliminate needless code whenusing Digalog functional calls. The RemoveForm option allows the programmer toremove the active form from the project.

    The References option allows the addition ofspecific libraries to the project while theComponents option allows the addition of controls to the Toolbox. TheProject Properties option displays a dialog with General information,Make file information, and Compiler information.

    Format Menu - The Format menu containsoptions for aligning, sizing, and manipulatinggraphics, controls, etc. The Order option evenallows the programmer to send objects to theback or bring them to the front whenoverlapping objects are desired. When theobjects are set in the desired locations, theLock Controls option can be used to lock theobjects in their current positions.

  • 7/27/2019 Programacion Windows 95 test

    47/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00Visual BASIC Interface

    46

    Debug Menu - The Debug Menu allowsthe programmer to Step Into, Step Over, or

    Step Out of procedures,Add or EditWatches, and Toggle or Clear Breakpointswhile debugging code. The SetNextStatement can be used to skip or bypasssections of code during the Debug process.The Show Next Statement displays thenext statement to be executed.

    Run Menu - The Run menu allows theprogrammer to Start a program, Start theprogram after a Full Compile, Break a

    program, End a program, and Restart aprogram after it was interrupted for anyreason. These operations are usuallycontrolled using the VCR type controlslocated on the Toolbar.

    Tools Menu - The Tools menu contains theoptions to Add a Procedure or displayProcedureAttributes. It also contains theMenu Editor to generate all of the Menu

    Bar options and submenu options. Inaddition, the Options selection displays adialog for configuring the default settingsfor the Visual BASIC DevelopmentEnvironment as shown below.

  • 7/27/2019 Programacion Windows 95 test

    48/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 Visual BASIC Interface

    47

    Add-Ins Menu - This menu contains

    options for invoking theVisual DataManager, the Report Designer, and theAdd-In Manager. The Data Manager allows

    easy manipulation of data in VB50. ReportDesigner uses Crystal Reports togenerate reports. The Add-In Manager toolis used to include or delete specific add-ins for the project.

    Window Menu - The Split option splitsthe code window in half horizontallywhen the window is active. The Tile

    Horizontally, Tile Vertically, and Cascadeoptions are only available in the MDImode. Arrange Icons arranges the iconsof all minimized windows in the lowerleft corner of the window. The WindowList displays a list of the open windows inthe project.

    Help Menu - This menu containsthe options for opening the

    Microsoft Visual Basic Help Topics,Books On-Line, ObtainingTechnical Support, Microsoft on theWeb which links directly to theWeb through the Internet Explorer(if installed), and the normalWindows About window. BooksOn-Line includes all of the normaldocumentation that is shipped with Visual Basic V5.0.

  • 7/27/2019 Programacion Windows 95 test

    49/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00Visual BASIC Interface

    48

    TOOLBAR

    The buttons displayed on the toolbar correspond to frequently usedcommands in Visual BASIC, and are intended as a quick method of selectingthese commands rather than use the drop-down menus. The commandscorresponding to each of the buttons are shown below. Note, all of the toolsof the optional toolbars from the View menu are shown.

    Add Standard .exe Project. Adjacent drop-down menu can beused to select optional project types.

    Add Form. Adjacent drop-down menu can be used to addadditional objects to the project.

    Displays the Menu Design window.

    Opens a new project.

    Saves a project group.

    Cut.

    Copy.

    Paste.

  • 7/27/2019 Programacion Windows 95 test

    50/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00 Visual BASIC Interface

    49

    Find.

    Undo.

    Redo.

    Start Project

    Break.

    End Project.

    Display the Project Explorer.

    Display the Properties Window.

    Display the Form Layout Window.

    Open the Object Browser.

    Display the Toolbox.

    Bring to Front.

    Send to Back.

    Align Left. Adjacent drop-down menu can be used to aligngraphics, controls, etc.

  • 7/27/2019 Programacion Windows 95 test

    51/291

    Series 2040 Test System

    Windows 95 / NT 4.0 Programming Manual V2.00Visual BASIC Interface

    50

    Align Horizontally. Adjacent drop-down menu can be usedto Align Vertically as well.

    Make Height Same Size. Adjacent drop-down menu can beused to Make Width Same Size or both Heightand Width.

    Lock Controls.

    Toggle Breakpoint.

    Step Into (Single Step).

    Step Over (Procedure Step).

    Step Out.

    Displays the Locals Window.

    Displays the Immediate Window.

    Displays the Watch Window.

    Quick Watch.

    Call Stack.

    List Properties/Methods.

    List Constants.

    Quick Info.