About this Manual We’ve added this manual to the Agilent website in an effort to help you support your product. This manual is the best copy we could find; it may be incomplete or contain dated information. If we find a more recent copy in the future, we will add it to the Agilent website. Support for Your Product Agilent no longer sells or supports this product. Our service centers may be able to perform calibration if no repair parts are needed, but no other support from Agilent is available.
User’s Guide Publication Number 54655-90901 September 1991 (pdf version Dec 1998) HP 54655A and HP 54656A Test Automation Modules
Introduction The HP 54655A and HP 54656A Test Automation Modules provide semiautomated, or fully-automated testing capabilities to the HP 54600A and HP 54601A oscilloscopes. The HP 54655A HP-IB Test Automation Module is aimed at fully automated testing. The HP 54656A RS-232 Test Automation Module is better for semiautomated testing. The main features are: • • • • • • • Full Programmability. Hard copy output. 100 nonvolatile sequence steps. 40 nonvolatile mask templates. 2 nonvolatile trace memories.
Accessories supplied with the HP 54655A and HP 54656A • This User’s Guide. • The HP 54600A and HP 54601A Oscilloscopes Programmer’s Guide. Additional accessories supplied with the HP 54656A • RS-232 adaptor cable, HP 98561-61604. • One - 2 meter cable with an RJ-45 connector at one end and stripped, tinned leads at the other end. Accessories available • HP 54653A ScopeLink software package. • HP 10833A 1 meter (3.3 feet) HP-IB cable. • HP 10833B 2 meters (6.6 feet) HP-IB cable. • HP 10833C 4 meters (13.
In This Book This book is the user’s guide for the HP 54655A and HP 54656A Test Automation Modules. It contains six chapters. • Chapter 1, "Quick Start," is a quick start guide that gives you a brief overview of the Test Automation Modules. • Chapter 2, "Operating the Test Automation Module," is a series of exercises that guide you through the operation of the Test Automation Modules.
Contents 1 Quick Start To install the Test Automation Module 11 To set up the Test Automation Module 12 To use the Test Automation Module 14 2 Operating the Test Automation Module To configure the interface 17 To save a front-panel setup in the Test Automation Module memories 22 To recall a front-panel setup from the Test Automation Module memories 23 To create a label for a front-panel setup 24 To create a setup sequence 26 To execute a sequence 27 To create a mask template using Automask 28 To create a
Contents 3 Solutions Creating a frequency testing mask 63 Creating a DC voltage testing mask 65 Creating an overshoot testing mask 67 Creating a rise time testing mask 68 Toggling switches in the test fixture (HP 54656A only) 69 Counting the numbers of units passing or failing (HP 54656A only) 71 Displaying the sequence steps through the output lines (HP 54656A only) 72 Implementing external switches through the input lines (HP 54656A only) 73 Testing the eye opening of an eye pattern signal 74 Optimizing
Contents 6 HP 54653A ScopeLink 2.
Contents 8
1 Quick Start
Introduction The exercises in this chapter acquaint you with some of the basic functions and operations of the Test Automation Modules. The operation of the Test Automation Module is divided into two parts: set up and use. The test sequence is generally set up by a test administrator and used by the operators. Chapter 2 covers more detailed information concerning the tasks to be performed by both the administrator and operator. The inside back cover of this book is a reference guide.
Quick Start To install the Test Automation Module To install the Test Automation Module 1 Turn off the oscilloscope. 2 Install the interface as shown in figure 1. The oscilloscope is reset after installation. The installed interface is reflected in the message displayed when you turn on the oscilloscope.
Quick Start To set up the Test Automation Module To set up the Test Automation Module In the next two exercises, the front panel calibration signal is used as the source signal. A probe is needed to connect the calibration signal to channel 1 of the oscilloscope. A mask template is created based on the calibration signal. Then a sequence step is created to test the signal. Failure of the test is also simulated. 1 Connect the front panel calibration signal to channel 1 of oscilloscope through a probe.
Quick Start To set up the Test Automation Module 7 Press the Define Automask softkey. 8 Turn the knob closest to the Cursors key until the number highlighted under the Mask softkey is 1. 9 Press the Create Mask softkey. A mask is generated from the signal on the screen. The mask consists of two lines: the maximum limit line and the minimum limit line. 10 Press the Previous Menu softkey, then press the Define Sequence softkey.
Quick Start To use the Test Automation Module To use the Test Automation Module Now, the setup for the test is complete. In an actual application, this completes the administration portion. You can now proceed to use it for testing, just like an operator is going to use it for testing. 1 Press Setup . 2 Press the Sequence Menu softkey. 3 Press the Reset softkey to return to step number 1. The live signal is tested against the mask created during the set up process.
2 Operating the Test Automation Module
Introduction The exercises in this chapter guide you through the operation of the Test Automation Modules. The exercises include detailed information about the tasks performed by both the administrator and the operator.
Operating the Test Automation Module To configure the interface To configure the interface The Test Automation Module can be connected to a printer, a plotter, or a computer through the interface. The HP 54655A has an HP-IB interface while the HP 54656A has an RS-232 interface. 1 Connect the Test Automation Module to a printer, plotter, or computer through a suitable cable. Table 1 shows the HP part numbers of the proper cables.
Operating the Test Automation Module To configure the interface 2 Press Print/Utility . If the Previous Menu softkey appears on the rightmost softkey, press Print/Utility again. When the module is installed, an additional softkey appears at the second softkey from the left. For the HP 54655A, the label is HP-IB Menu. For the HP 54656A, the label is RS-232 Menu. 3 Press the HP-IB Menu softkey or the RS-232 Menu softkey. For HP 54655A, a softkey menu with five choices appears.
Operating the Test Automation Module To configure the interface 4 Toggle the softkeys to select the correct configuration for your printer, plotter, or computer. Print Factors Oscilloscope factors may be turned on or off for hard copy prints and plots. All factors are printed on the hard copy when on is selected. When factors is selected for a hard copy plot, the plot is in portrait mode, with the factors plotted at the bottom.
Operating the Test Automation Module To configure the interface Figure 3 Plot with Factors Off 20
Operating the Test Automation Module To configure the interface Print Resolution High or low hard copy resolution can be selected for hard copy prints and plots. When high resolution is selected, the full-bright and half-bright traces on the oscilloscope screen are printed or plotted on the hard copy. High resolution printing requires an HP-PCL compatible printer capable of printing at 300 dpi (dots-per-inch), such as an HP LaserJet Series printer.
Operating the Test Automation Module To save a front-panel setup in the Test Automation Module memories To save a front-panel setup in the Test Automation Module memories 1 Press Print/Utility . 2 Press the Sequence Admin softkey. The Test Automation Module remembers which menu you were in last. If you cannot find the Sequence Admin softkey, press Print/Utility again to return to the root level of the menu tree. Then press the Sequence Admin softkey. 3 Press the Define Sequence softkey.
Operating the Test Automation Module To recall a front-panel setup from the Test Automation Module memories To recall a front-panel setup from the Test Automation Module memories 1 Press Setup . 2 Press the Sequence Menu softkey. 3 Press the Step softkey, or turn the knob closest to the Cursors key, to select the memory location. The front-panel setup corresponding to the displayed memory location is recalled.
Operating the Test Automation Module To create a label for a front-panel setup To create a label for a front-panel setup Each front-panel setup stored in Test Automation Module can have a label up to 60 characters long to identify the setup. 1 Press Print/Utility . 2 Press the Sequence Admin softkey. The Test Automation Module remembers which menu you were in last. If you cannot find the Sequence Admin softkey, press Print/Utility again to return to the root level of the menu tree.
Operating the Test Automation Module To create a label for a front-panel setup 8 Turn the Delay knob to move the cursor in the label to the position that you want to edit. 9 Turn the knob closest to the Cursors key to move the cursor in the character area to select the character that you want to enter. 10 Press the Enter softkey to enter the highlighted character into the user message, or press the Space softkey to enter a space into the user message.
Operating the Test Automation Module To create a setup sequence To create a setup sequence A simple sequence of setups can be easily created to accomplish your test or measurement task. 1 Set up the oscilloscope front panel for your measurement. 2 Press Print/Utility twice. 3 Press the Sequence Admin softkey. 4 Press the Define Sequence softkey. 5 Press the Step softkey, or turn the knob closest to the Cursors key, to select the step that starts your sequence.
Operating the Test Automation Module To execute a sequence To execute a sequence 1 Press Setup . 2 Press the Sequence Menu softkey. A softkey menu with five softkey choices appears. Four of them are related to using the sequence. • Step Selects the step number to be executed. Turning the knob closest to the Cursors key also changes the step number. • Next Advances the sequence to the next step. • Previous Recalls the previous step executed in the sequence.
Operating the Test Automation Module To create a mask template using Automask To create a mask template using Automask A mask template contains two limit lines: minimum and maximum. The Test Automation Module provides an easy way to create a mask. Automask allows you to generate a mask with tolerances from a signal on the screen. 1 Connect a known good signal to the oscilloscope. 2 Set up the oscilloscope with the settings that are required to test the signal.
Operating the Test Automation Module To create a mask template using Autostore To create a mask template using Autostore An envelop of the passing region can be generated using the Autostore function. Then the Automask function can read the autostore screen information and take the maximum and minimum limits of it as the limit lines of the mask template. This process allows you to create a mask template from a known good signal, allowing certain tolerance margins.
Operating the Test Automation Module To create a mask template using Autostore 11 Press the Tolerance softkey, then turn the knob closest to the Cursors key to set the tolerance to +/- 0.0%. 12 Press the Create Mask softkey to create the mask from the autostore information. Automask using Autostore operating hint The Automask function takes all the information displayed in half bright to create the mask. However, the display grid and the autostore information shares the same half-bright display.
Operating the Test Automation Module To create a mask using straight lines To create a mask using straight lines The Test Automation Module has a built-in Mask Editor for creating or editing masks. It provides two editing tools: pixel editing and line drawing editing. The line drawing editing tool is used to create a mask using straight lines. To create the mask, you may want to first draw the mask on a piece of paper and mark the coordinates of the end points of each straight line.
Operating the Test Automation Module To create a mask using straight lines 7 Turn the knob closest to the Cursors key to move the Y-coordinate of the cursor to the voltage corresponding to the first point. 8 Press the Mark softkey to mark this point as the first point of a line 9 10 11 12 draw. Turn the delay knob to move the X-coordinate of the cursor to the time corresponding to the second point.
Operating the Test Automation Module To edit an individual pixel of a mask To edit an individual pixel of a mask 1 Press Print/Utility twice. 2 Press the Sequence Admin softkey. 3 Press the Mask Editor softkey. 4 To select the mask to be modified, press the Edit Mask softkey, or turn the channel 1 position knob. 5 Toggle the Edit Line softkey to select the limit line that you want to edit. 6 Turn the Delay knob to move the cursor to the pixel that you want to modify.
Operating the Test Automation Module To edit the mask to test only a portion of a waveform To edit the mask to test only a portion of a waveform In certain testing, not all of the points on the waveform need to be tested. Only the area of interest needs to be tested. For example, to test the amount of overshoot of a pulse, you only need to test the portion of the waveform after the rising edge. By reducing the testing area, you can speed up the testing.
Operating the Test Automation Module To edit the mask to test only a portion of a waveform Mask editing operating hint Each limit line can have its own selectable test region. The testing time is generally proportional to the size of the test region. Figure 5 shows a mask that tests the overshoot of the waveform. Note that only the part you are interested in is tested. The test region can be set individually for the maximum and minimum limit.
Operating the Test Automation Module To assign a testing mask to a step To assign a testing mask to a step Before using a testing mask in a test step, the mask must be created and stored in one of the forty mask memories. 1 Press Print/Utility twice. 2 Press the Sequence Admin softkey. 3 Press the Define Sequence softkey. 4 Press the Step softkey, or turn the knob closest to the Cursors key, to select the step number for the testing mask number. 5 Press the Use Mask softkey.
Operating the Test Automation Module To spot the failure area To spot the failure area There is a fail zone indicator at the bottom of the screen when a mask is used in a step for testing. The fail zone indicator indicates where the signal fails either the maximum or the minimum limit. Figure 6 shows an example of a signal failing the test.
Operating the Test Automation Module To define action messages To define action messages In each sequence step, you can define three different action messages to prompt the operator. The action messages are displayed at the bottom of the screen according to the result of the mask template testing. If no mask template testing is used, the action messages are not displayed. 1 Press Print/Utility twice. 2 Press the Sequence Admin softkey. 3 Press the Define Sequence softkey. 4 Press the Define Step softkey.
Operating the Test Automation Module To define action messages • Default Messages Sets all four messages in this step as the default. The default messages are : Label ** Test #xx ** (where the step number is filled in after the # sign). Pass PASS Fail Min FAIL Fail Max FAIL • Previous Menu Returns you to the previous softkey menu. 6 Press the softkey corresponding to the message that you want to modify and the message edit screen appears.
Operating the Test Automation Module To use a mask template for adjustment To use a mask template for adjustment A mask template can be used as the guideline, as well as for verifying an adjustment on a port on the device under test. For the purpose of adjustment, a good interactive display is important. This requires the maximum possible update rate. In the Test Automation Module, there is an Adjust mode for mask template testing.
Operating the Test Automation Module To set up the mask template testing for "Fail when In" testing To set up the mask template testing for "Fail when In" testing Normally, the mask template test signals pass when the signal lies inside the maximum and minimum limit. However, in certain cases, such as eye pattern testing, you may want to set up a region in which the signal fails the test when it lies inside this region.
Operating the Test Automation Module To set up the mask template testing for "Fail when In" testing When the failure condition of inside is selected, instead of displaying the two limit lines on the screen, the failure regions are displayed as enclosed polygons. Figure 7 shows an example of selecting inside as the failure condition.
Operating the Test Automation Module To set up the mask template testing for "Fail when In" testing Figure 8 Limit lines of mask template shown in Figure 7 Mask Template for Inside failure condition operating hint When selecting the failure condition to be inside, an extra requirement is placed on the mask template. The mask template can only do testing with both maximum and minimum limits present.
Operating the Test Automation Module To use mask template testing in the XY mode To use mask template testing in the XY mode The mask generated by the Automask or the mask editor can also be used to test signals in the XY mode. However, there are a couple of things that you should be aware of: • The display width in the XY mode is a little bit wider than the normal mode. Therefore, the mask cannot cover the whole width of the screen in the XY mode. Approximately 2.
Operating the Test Automation Module To define the output lines (HP 54656A only) To define the output lines (HP 54656A only) The HP 54656A RS-232 Test Automation Module has five output lines in its I/O jack. These output lines can be used to drive a lamp, a LED, a counter IC, or a switch to perform various tasks required for testing. Chapter 3, "Solutions," has some examples on how to use the output lines. 1 Press Print/Utility twice. 2 Press the Sequence Admin softkey. 3 Press the Define Sequence softkey.
Operating the Test Automation Module To define the output lines (HP 54656A only) • PASS If no testing mask is defined in this step, the output line remains low all during this step. If a testing mask is defined, the output line goes high if the test passes and remains low if the test fails. • FAIL If no testing mask is defined in this step, the output line remains low all during this step. If a testing mask is defined, the output line goes high if the test fails and remains low if the test passes.
Operating the Test Automation Module To create a branching sequence To create a branching sequence Each sequence step can be branched to different steps depending on the result of the mask testing. 1 Press Print/Utility twice. 2 Press the Sequence Admin softkey. 3 Press the Define Sequence softkey. 4 Press the Step softkey, or turn the knob closest to the Cursors key, to select the step number to be modified. 5 Press the Define Step softkey. 6 Press the Branching softkey.
Operating the Test Automation Module To create a branching sequence Step Branching operating hint In the case where no testing mask is specified in a particular step, the module always treats the test result as PASS and branches to the step specified in the pass condition. The "Same" setting in the branching destination branches back to the same step. This allows you to repeat a step until a certain test result is found.
Operating the Test Automation Module To prevent the operator from changing the setup To prevent the operator from changing the setup Once the setups for each measurement step are properly set up, you may not want the operator to change anything in the setup, especially when the mask is related to a particular sensitivity and position setting. However, in some other situations, you may want the operator to make fine adjustments to fit the signal inside the testing mask.
Operating the Test Automation Module To prevent the operator from changing the setup Permit operating hint Different levels of permit can be set for different steps of a sequence. To allow the operator to make fine adjustments to fit the signal into the mask, specify the permit to be Adjust. Only knobs in the vertical and horizontal system can be accessed by the operator. The vernier mode of either the vertical or horizontal system may be turned on prior to saving the setup.
Operating the Test Automation Module To view the configuration of a sequence step To view the configuration of a sequence step 1 Press Print/Utility twice. 2 Press the Sequence Admin softkey. 3 Press the Define Sequence softkey. 4 Press the Step softkey, or turn the knob closest to the Cursors key, to select the step that you want to see. 5 Press the Show Step softkey to show the configuration of the step. An example of the result of show step is shown in figure 10.
Operating the Test Automation Module To view the configuration of a sequence step Show Step operating hint The picture of the mask displayed by Show Step is 25% of the size of the original mask. Due to limited display resolution, small details of the mask may be omitted. To examine the mask in more detail, use the Mask Editor. For documentation of the current step, connect a hard copy device to the oscilloscope and perform a print screen. The step label can contain up to 60 characters.
Operating the Test Automation Module To copy a step or a mask To copy a step or a mask To edit the sequence of steps in a sequence, use the copy function in the Test Automation Module. This allows you to copy a step or a mask from one location to another. This can help you organize the sequence. 1 Press Print/Utility twice. 2 Press the Sequence Admin softkey. 3 Press the Copy Step/Mask softkey. A softkey menu with six softkey choices appears. Four of them are related to copying a step or a mask.
Operating the Test Automation Module To set a step or mask to default values To set a step or mask to default values 1 Press Print/Utility twice. 2 Press the Sequence Admin softkey. 3 Press the Copy Step/Mask softkey. 4 Toggle the Type softkey to select a step or a mask. 5 Press the Dest softkey. 6 Press the Dest softkey, or turn the knob closest to the Cursors key, to select the number of the step or mask. 7 Press the Default Dest softkey to set the step or mask to its default values.
Operating the Test Automation Module To set a step or mask to default values Figure 11 Default setting for a mask template 55
Operating the Test Automation Module To set all of the steps and masks to default values To set all of the steps and masks to default values 1 Press and hold the third softkey from the left on the oscilloscope. 2 Turn the oscilloscope off. 3 Turn the oscilloscope on. 4 When the message "Keydown power up executed" appears on the oscilloscope screen, release the softkey. The table on page 54 lists the default settings for each step. Figure 11 shows the default settings for a mask.
Operating the Test Automation Module To backup and duplicate sequences To backup and duplicate sequences To duplicate a sequence from one oscilloscope to another, or to backup a sequence, you must use an instrument controller. The instrument controller can read the learn string of the entire sequence setup from an oscilloscope and save it in memory or write it to another oscilloscope.
Operating the Test Automation Module To protect sequences through the communication port To protect sequences through the communication port Sequences can be protected through the communications port by issuing a SEQUENCE:PROTECT ON command. Once the test sequence is protected, a warning message "Sequence Admin Protected" is displayed when the Sequence Admin softkey is pressed. The protection can be disabled by issuing the SEQUENCE:PROTECT OFF command through the communication port.
Operating the Test Automation Module To protect sequences with the recessed switch (HP 54656A only) To protect sequences with the recessed switch (HP 54656A only) The HP 54656A RS-232 Test Automation Module has a small recessed switch between the 9-pin RS-232 connector and the RJ-45 output lines connector. Flipping the switch towards the label side of the module protects the sequences from being changed by the operator.
Operating the Test Automation Module To document a single step To document a single step A single step can be documented by displaying the contents of the step on the screen and performing a print screen to the printer. This does not require the use of an instrument controller. 1 Set up the interface to output to a printer. See "To configure the interface" in this chapter for details on setting up the output for a printer. 2 Press Print/Utility twice. 3 Press the Sequence Admin softkey.
3 Solutions
Introduction This part of the manual provides information on how to solve your specific problems using the Test Automation Modules. This chapter contains solutions that fall into four different categories: • Solutions on how to create a mask template for testing a particular characteristic of a signal. • Solutions on how to use the input/output lines on the HP 54656A RS-232 Test Automation Module. • Solutions on how to optimize the performance of mask template testing. • An example of a test sequence.
Solutions Creating a frequency testing mask Creating a frequency testing mask A mask can be used to test the frequency of the input signal. The shape of the mask varies depending on the shape of the signal to be tested. A mask designed for testing a sine wave cannot be used to test a square wave. Different masks are needed for different shapes of signals.
Solutions Creating a frequency testing mask The following procedure can be used to setup a mask template for testing the frequency of a sine wave or a square wave. Similar methods can be used to generate masks for testing the frequency of signals of other shapes. In the oscilloscope setup, the vertical sensitivity and position should be adjusted so that the amplitude is almost full scale. The trigger level should be adjusted to the middle of the input signal.
Solutions Creating a DC voltage testing mask Creating a DC voltage testing mask A mask can be used to test the proper voltage of a DC signal. The shape of the mask is very simple: just two horizontal straight lines. By varying the Volts/div knob and the position setting, the same DC voltage testing mask can be used to test any DC signals. To create the DC testing mask, you must have the testing limits. The testing limits are the upper voltage limit and the lower voltage limit.
Solutions Creating a DC voltage testing mask In order to maximize the vertical accuracy, the upper limit line should be located approximately one division below the top of the screen. Similarly, the lower limit should be located approximately one division above the bottom of the screen. Example The following example creates a mask to test a 5 volt signal with an upper limit of 5.2 volts, and a lower limit of 4.8 volts. 1 Set the vertical sensitivity.
Solutions Creating an overshoot testing mask Creating an overshoot testing mask There are two parameters associated with the overshoot of a signal: the percentage of overshoot and the settling time of the overshoot. A mask template can be created to test the upper limit of these two parameters at the same time. Figure 14 shows an example of a mask template for testing overshoot.
Solutions Creating a rise time testing mask Creating a rise time testing mask Mask template testing can be used to test the rise time of a signal, including specifying an upper limit for rise time. For example, you can specify that the rise time must be 15 ns or faster to pass the test. 1 Determine the top and base of the signal. Use the automatic measurement V top and V base of the oscilloscope to determine these values. 2 Calculate the 10% and 90% points. 3 Determine the upper limit for the rise time.
Solutions Toggling switches in the test fixture (HP 54656A only) Toggling switches in the test fixture (HP 54656A only) The user-definable output lines of HP 54656A can be used to toggle switches in the test fixtures. The output lines of HP 54656A can be configured to drive both level sensitive or edge sensitive switching units. A demultiplexer or a counter IC with a demultiplexer can be used to extend the driving capabilities of HP 54656A to more switching combinations.
Solutions Toggling switches in the test fixture (HP 54656A only) For edge sensitive switching units, the corresponding output lines should be defined as always on or always off according to the combination required. These signals should be ANDed with an output line defined as an edge at the start of the step. Thus, edge signals are generated for edge sensitive devices.
Solutions Counting the numbers of units passing or failing (HP 54656A only) Counting the numbers of units passing or failing (HP 54656A only) The external output lines from an HP 54656A can be used to count the number of tests, the number of units passing, and the number of units failing. A simple counter IC can be used to count the number of occurrences. Normally, a counter IC requires an edge for counting. The counter counts the results of the testing when the operator hits the Next switch.
Solutions Displaying the sequence steps through the output lines (HP 54656A only) Displaying the sequence steps through the output lines (HP 54656A only) Sometimes, it is convenient to display the step number in a remote unit hosting the Next and Reset key. This can be achieved by a simple circuit which uses the user-definable output lines. Two output lines can be used to drive a simple circuit consisting of a counter IC, LED driver, and a seven-segment LED.
Solutions Implementing external switches through the input lines (HP 54656A only) Implementing external switches through the input lines (HP 54656A only) The HP 54656A RS-232 Test Automation Module can be controlled remotely through the two input lines. By using multiplexing, three functions can be achieved by these two input lines: Next, Reset, and Previous. The following circuit diagram shows you how to connect these two lines to passive circuits to perform the three functions.
Solutions Testing the eye opening of an eye pattern signal Testing the eye opening of an eye pattern signal There are generally two tests that you want to perform on an eye pattern signal: an eye boundary test and an eye opening test. Since the eye boundary can be easily tested by using normal mask template testing, this section mainly focuses on how to create the mask for testing the eye opening. A fail region in the shape of a hexagon is usually used to test the eye opening.
Solutions Testing the eye opening of an eye pattern signal 1 Set up the oscilloscope for proper viewing of the eye-pattern signal. 2 Determine the fail region. 3 Create the mask using the line drawing capabilities of the mask editor. The voltage and time readouts in the mask editor can be used to ensure the correct shape and position of the mask. Figure 22 shows how the mask template looks during testing. 4 Select the fail region as Inside of the mask template.
Solutions Optimizing the mask testing speed Optimizing the mask testing speed The mask testing speed can vary with different setups of the oscilloscope and the size of the test region. Proper oscilloscope setup Certain features in the oscilloscope slow down the mask testing speed considerably. For maximum testing speed, the following settings should be avoided: • Averaging. • Time base vernier with time base settings at 1 µs/div or faster. • Time base at 2 ns/div.
Solutions Optimizing the mask testing accuracy Optimizing the mask testing accuracy The testing accuracy can be divided into two parts: vertical accuracy and horizontal accuracy. Vertical accuracy The HP 54600-series oscilloscopes have fully calibrated vertical verniers. To achieve the highest accuracy, the vertical sensitive should be placed in the vernier mode and adjusted so that the input signal occupies the entire screen (full scale).
Solutions Optimizing the mask testing accuracy Figure 23 An example of an oscilloscope setting for testing rise time 78
Solutions Storing multiple sequences for multiple devices Storing multiple sequences for multiple devices The Test Automation Module can store 100 sequence steps and 40 mask templates. In most cases, a test sequence uses less than 100 steps and 40 mask templates. Therefore, you can store multiple sequences in one Test Automation Module for testing multiple devices. The guideline for storing multiple sequences is that each sequence resides in its own section. An extra header step is added to each sequence.
Solutions Storing multiple sequences for multiple devices Figure 24 Memory usage in implementing multiple sequences 80
Solutions Test sequence example Test sequence example This example uses the HP 54654A Operator’s Training Kit. A test sequence is set up to test various signals on the board. This includes testing two signals and conditionally performing one adjustment. First, the example test sequence tests whether the master clock has the correct amplitude and frequency. If the master clock fails the test, an adjustment should be performed. If the adjustment cannot be made, the board is declared a failure.
Solutions Test sequence example The testing sequence can be implemented in the Test Automation Module. All together, 7 steps and 3 mask templates are required. Each step is documented below.
Solutions Test sequence example Figure 28 Documentation of step #3 Figure 29 Documentation of step #4 83
Solutions Test sequence example Figure 30 Documentation of step #5 Figure 31 Documentation of step #6 84
Solutions Test sequence example Figure 32 Documentation of step #7 85
86
4 Test Sequencing Programming
Introduction The Test Automation Module provides fully automated testing capabilities. Sequencing can be activated through the RS-232 or HP-IB interface. Test sequences and mask templates can be downloaded from an instrument controller into the Test Automation Module. The execution of the sequences can be controlled by the instrument controller. There is a clear advantage of using the Test Automation Module for fully automated testing.
Programming Conventions < > Angle brackets enclose words or characters that symbolize a program code parameter or an HP-IB command. ::= is defined as. For example, ::= indicates that can be replaced by in any statement containing . | or. Indicates a choice of one element from a list. For example, | indicates or , but not both. ... Ellipses (trailing dots) indicate that the preceding element may be repeated one or more times.
Test Sequencing Programming :SEQuence:NEXT :SEQuence:NEXT Command :SEQuence:NEXT The :SEQUENCE:NEXT command sets the current step to be the next step number according to the test results and the step branching destinations specified by the branching settings in the current step. Example OUTPUT 707;":SEQUENCE:NEXT" This command operates similar to pressing the Next softkey on the front panel of the oscilloscope during sequencing.
Test Sequencing Programming :SEQuence:PREVious :SEQuence:PREVious Command :SEQuence:PREVious The :SEQUENCE:PREVIOUS command sets the current step in sequencing to the previous step number. Example OUTPUT 707; ":SEQUENCE:PREVIOUS" The operation of the PREVious command is similar to pressing the Previous softkey on the front panel of the oscilloscope. Only one previous step is memorized by the oscilloscope.
Test Sequencing Programming :SEQuence:PROTect :SEQuence:PROTect Command :SEQuence:PROTect [ {ON|OFF} ] The :SEQUENCE:PROTECT command turns the protection for the test sequence setup on and off. Example OUTPUT 707; ":SEQ:PROT ON" Query :SEQuence:PROTect? The SEQuence:PROTect query outputs the current status of the protection.
Test Sequencing Programming :SEQuence:RESet :SEQuence:RESet Command :SEQuence:RESet The :SEQUENCE:RESET command sets the current sequencing step back to step 1. Example OUTPUT 707; ":SEQ:RESET" The operation of the RESet command is similar to pressing the Reset softkey on the front panel of the oscilloscope.
Test Sequencing Programming :SEQuence:SETup :SEQuence:SETup Command :SEQuence:SETup [{MASK|STEP},,] The :SEQUENCE:SETUP command sets up the whole test sequence, a step, or a mask as defined by the data in the setup string. Query :SEQuence:SETup? [ {MASK|STEP},number ] Return Format The :SEQUENCE:SETUP query outputs the setup string of the whole test sequence, a step, or a mask.
Test Sequencing Programming :SEQuence:SETup Example 10 20 30 40 50 60 DIM Set$[1100] OUTPUT 707; ":SEQ:SETUP? MASK,1" ENTER 707 USING "-K"; Set$ PAUSE OUTPUT 707; ":SEQ:SETUP MASK,1,"; Set$ END -K is an HP BASIC image specifier which places the block data in a string, including carriage returns and line feeds until EOI is true or when the dimensioned length of the string is reached.
Test Sequencing Programming :SEQuence:STEP :SEQuence:STEP Command :SEQuence:STEP The :SEQUENCE:STEP command sets the current step to be the step number specified in the command. The step number which is set as the current step. Example OUTPUT 707; ":SEQ:STEP 5" Query :SEQuence:STEP? Return Format The :SEQUENCE:STEP query returns the current step number. Example An integer, 1 to 100 (NR1 format).
Test Sequencing Programming :SEQuence:TEST? :SEQuence:TEST? Query :SEQuence:TEST? Return Format The :SEQUENCE:TEST query performs a mask template test and returns the result of the testing. An integer, 0 to 3 (NR1 format). 0= Pass. 1= Fail minimum limit line. 2= Fail maximum limit line. 3= Fail both minimum and maximum limit line.
98
5 Reference Information
Introduction This chapter contains reference information for the Test Automation Modules including its operating characteristics, connector pin outs, and the timing for its output lines.
Reference Information Operating Characteristics Operating Characteristics Trace Memories Number of Memories: 2, nonvolatile. Step Sequencing Number of Steps 100, nonvolatile Instrument Setup Whole front panel setups. When mask template testing is used, automatic measurements are not displayed. Messages Label (60 characters). Pass message (30 characters). Fail Min message (30 characters). Fail Max message (30 characters).
Reference Information Operating Characteristics Mask Template Testing Number of mask templates 40, nonvolatile. Mask template generation Automask generates a mask from Autostore or trace data with variable tolerances. Mask editor allows pixel-by-pixel editing and line drawing editing. Smooth mask function performs a running average of 3 pixels.
Reference Information Operating Characteristics RS-232 Configurations Connector Type With the adapter cable connected, at the end of the cable is a 25 pin DTE port; a printer cable is required to connect it to hard copy devices or a computer. Protocols XON/XOFF, hardware. Data Bits 8 Stop Bits 1 Parity none. Baud Rates 1200, 2400, 9600, 19200. Programmability All Instrument settings and operating modes may be remotely programmed via RS-232 and HP-IB (IEEE-488).
Reference Information RS-232 pin out RS-232 pin out The following figures show the pin outs of the RS-232 cables used with HP 54656A.
Reference Information RS-232 pin out Figure 34 Pin out of RS-232 cable for connecting to Printer/Plotter/HP Vectra 25-pin serial port Figure 35 Pin out of RS-232 cable for connecting to 9-pin serial port 105
Reference Information RS-232 pin out Figure 36 Pin out of RS-232 cable for connecting to IBM PC/XT 25-pin serial port 106
Reference Information I/O lines pin outs (HP 54656A only) I/O lines pin outs (HP 54656A only) The table below shows the pin outs of the RJ-45 I/O port on the HP 54656A.
Reference Information Timing of the output lines (HP 54656A only) Timing of the output lines (HP 54656A only) Figure 38 shows the timing of the output lines in the HP 54656A. The main step shown in the figure has four output lines defined as Start, Pass, Fail, and End. The time values shown are only approximate times. The actual time may vary depending on the configuration of the oscilloscope, the configuration of the test step, and the input signal.
6 HP 54653A ScopeLink 2.
Introduction This part of the manual contains information on the enhanced commands in the HP 54653A ScopeLink software version 2.0. These commands support the Test Automation Modules. The HP 54653A ScopeLink product is a software package that provides a communication link between a personal computer (PC) and the HP 54600-series oscilloscopes. It is not included as part of the Test Automation Modules. For more information on the HP 54653A ScopeLink software 2.
HP 54653A ScopeLink 2.0 Software To protect a test sequence setup To protect a test sequence setup The HP 54653A ScopeLink software 2.0 can enable or disable the protection of a test sequence setup in the Test Automation Modules. 1 Select Data Transfer from the menu bar, then select Test Automation. 2 The Test Automation Panel is displayed. To enable the protection, select Protect On. To disable the protection, select Protect Off.
HP 54653A ScopeLink 2.0 Software To transfer the setup of an entire test sequence To transfer the setup of an entire test sequence The HP 54653A ScopeLink software 2.0 can transfer an entire test sequence from the oscilloscope to the PC and store it as a file. The file can be used as a backup of the test sequence. To restore the test sequence, simply send the file back to the oscilloscope. The file can also be used for duplication of a test sequence to other HP 54600-series oscilloscopes.
HP 54653A ScopeLink 2.0 Software To transfer the setup of an individual step To transfer the setup of an individual step The HP 54653A ScopeLink software 2.0 can transfer the setup of an individual step from the oscilloscope to the PC and store it as a file. The file can then be used as a backup of the individual step. To restore the individual step, simply send the file back to the oscilloscope. This file can also be used as a part of a test library.
HP 54653A ScopeLink 2.0 Software To transfer an individual mask template To transfer an individual mask template The HP 54653A ScopeLink software 2.0 can transfer the setup of an individual mask template from the oscilloscope to the PC and store it as a file. The file can be used as a backup of the individual mask template. To restore the individual mask template, simply send the file back to the oscilloscope. The file can also be used as a part of a test library.
HP 54653A ScopeLink 2.0 Software To document a test sequence To document a test sequence The HP 54653A ScopeLink software 2.0 can document a test sequence to a printer. The documenation for each step includes the setup of the oscilloscope, the setup of the step, and the corresponding mask template. You can document a complete test sequence, or a range of steps. 1 Select Print from the menu bar, then select Test Automation. 2 When the Test Automation panel appears, enter the filename into the Filename box.
116
Index A adjust mode, 40, 44 adjustment using mask, 40 Automask, 28 / 30 Autostore, 29 B backup test sequence, 57, 112 / 114 baud rate, 18 branching, 47 / 48 C cable part number, 17 pin outs, 105 / 106 command NEXT, 90 PREVious, 91 PROTect, 92 RESet, 93 SETup, 94 STEP, 96 TEST, 97 copy, 53 count occurrences, 71 D DC voltage mask template, 65 default branching, 47 Default Dest softkey, 54 default messages, 39 document test sequence, 115 documentation, 60 documenting sequences, 60 DTR, 18 E edit individual p
Index P Pass, 38 PASS indicator, 14 Permit, 50 pixel editing, 31, 33 plotter connection, 17 supported, 102 PREVious command, 91 print factors, 19 print resolution, 21 printer connection, 17 supported, 102 programmability, 103 programming conventions, 89 PROTect command, 58, 92 protecting sequences, 59 R recalling setups, 23 RESet command, 93 rise time mask template, 68 RJ-45 pinout, 107 RS-232, 103 pinout, 104 RS-232 Menu, 18 S saving setups, 23 ScopeLink, 111 sequence branching, 47 creating, 26 documentin
Copyright HewlettPackard Company 1991 All Rights Reserved. Reproduction, adaption, or translation without prior written permission is prohibited, except as allowed under the copyright laws. Warranty The information contained in this document is subject to change without notice. Hewlett-Packard makes no warranty of any kind with regard to this material, including, but not limited to, the implied warranties of merchantability or fitness for a particular purpose.
About this edition This is the first edition of the HP 54655A and HP 54656A Test Automation Modules User’s Guide. Edition dates are as follows: 1st edition, September 1991 New editions are complete revisions of the manual. Update packages, which are issued between editions, contain additional and replacement pages to be merged into the manual by you. The dates on the title page change only when a new edition is published. A software or firmware code may be printed before the date.