This page contains a Flash digital edition of a book.
FEATURE TEST & MEASUREMENT Oscilloscope automation advanced by .NET


Joe Evangelista at Keysight Technologies illustrates how .NET technology implemented by an oscilloscope vendor in their digital transmitter compliance test product is offering valuable measurement science that is easily accessible via the automation code


A


n oscilloscope vendor incorporating more measurement science into their


product offerings may be an active member of standards bodies such as PCI Express, SATA, JEDEC and the USB-IF. The active participation in these standards enables vendors to help define test specifications which are intended to ensure interoperability of devices supporting a particular standard. Once the test requirements are defined, the oscilloscope vendor can implement the various measurements defined per the standard and add it to their oscilloscope software offering. Users can now access a standard test suite of software enabled by .NET technology for qualifying their device compliance to a particular data communication standard. The software platform should also enable


full remote control access. The oscilloscope vendor assumes responsibility for interpreting the test specifications of a standard, and is tasked with developing the measurement software suite and providing technical support. Figure 1 is an example of a software suite that exposes the available tests defined in the DDR4 computer memory standard. The customer selects the tests of interest and the appropriate measurements and algorithms are implemented by the oscilloscope vendor’s automated software. It is important to look for an oscilloscope vendor that provides the same look and feel for all their standards-based measurement software. A DDR4 software test package should have the same look and feel as one for PCI Express thus increasing the efficiency and productivity of the end user. A complete software suite for testing to a data communication standard should produce data in easily readable form such as the example in Figure 2. An HTML report including screen shots where applicable for all tests executed with pass/fail/margin information creates great value to the customer and engineering teams. A software framework built on .NET technology allows the automation engineer to access all the features in the oscilloscope vendor’s measurement software designed for a data communications standard. Moreover, it enables engineers to hook into asynchronous runtime events in order to integrate automation of supporting instruments, for example by programmatically responding to the message prompt, “Change the power supply


14 JULY/AUGUST 2015 | ELECTRONICS


pFW.Remote") from Keysight.Infiniium.AppFW.Remote import *


output to 1V and click ‘OK’ to continue”. These events no longer need time- consuming manual intervention. The following example in Python shows


how the use of a .NET assembly can provide a perfect level of abstraction to the automation engineer without burdening the engineer with the details of setting up test conditions, managing test flow and ultimately measured data management.


Figure 1:


Test Selection Menu from a DDR4 Memory Device Compliance Software Suite


Required to connect to the oscilloscope via an Ethernet connection for access to the methods and proprieties exposed in the .NET assemblies. remoteObj = RemoteAteUtilities.GetRemoteAte("192.1 68.1.107") remoteApp = IRemoteAte(remoteObj) The object named remoteApp can now access all the features of the particular measurement software suite for the selected data communication standard as if it was being done interactively from the GUI of the test suite. The following illustrates the code needed by the automation engineer to create a new project analogous to performing File- >New Project from the GUI of the measurement software suite. remoteApp.NewProject(True) A critical piece of documentation for


efficient use of the .NET assembly is a complete and up-to-date help file from the oscilloscope vendor. An excerpt from a help file below defines what options are available when creating an HTML report. The options are implemented in the above Python example. ExportHtmlOptions PropertiesKeysight DigitalTestApps Remote Interface for .NET The ExportHtmlOptions type exposes the following members. Properties Name Description BasePath


Path to save report to. A subdirectory named after ReportName will be created. OverwriteExisting


Set this property to true to overwrite an existing report with the same name at the specified location. ReportName Name of report to generate. Better still are in-GUI tips, which answer questions such as, “Which automation command clicks this checkbox?”. Customers will continue to look to


Microsoft’s Common Language Runtime


engine enables easy loading of a .NET assembly from a variety of programming languages such as Visual Basic, C#, C++ as well as graphical programming languages such as Keysight’s VeePro and NI’s LabWindows and LabView. In addition.NET technology can be extended to cover a broad range of automation tasks including controlling environmental chambers, communication to the device under test, switch matrices and of course other instruments beyond an oscilloscope. import clr clr.AddReference("Keysight.Infiniium.Ap


Figure 2:


Sample HTML report generated by DDR4 Memory Device Compliance Software Suite


oscilloscope vendors to provide an oscilloscope as a measurement system which includes connectivity solutions to their device such as probes, measurement software suites that address the various data communication standards, and a high level abstraction of the measurement software suite - thus enabling automation engineers to easily control the execution of the measurement software suite from their internal automation software.


Keysight Technologies www.keysight.com 0800 1189 276855


/ ELECTRONICS


Page 1  |  Page 2  |  Page 3  |  Page 4  |  Page 5  |  Page 6  |  Page 7  |  Page 8  |  Page 9  |  Page 10  |  Page 11  |  Page 12  |  Page 13  |  Page 14  |  Page 15  |  Page 16  |  Page 17  |  Page 18  |  Page 19  |  Page 20  |  Page 21  |  Page 22  |  Page 23  |  Page 24  |  Page 25  |  Page 26  |  Page 27  |  Page 28  |  Page 29  |  Page 30  |  Page 31  |  Page 32  |  Page 33  |  Page 34  |  Page 35  |  Page 36  |  Page 37  |  Page 38  |  Page 39  |  Page 40  |  Page 41  |  Page 42  |  Page 43  |  Page 44  |  Page 45  |  Page 46  |  Page 47  |  Page 48  |  Page 49  |  Page 50  |  Page 51  |  Page 52  |  Page 53  |  Page 54  |  Page 55  |  Page 56  |  Page 57  |  Page 58  |  Page 59  |  Page 60  |  Page 61  |  Page 62  |  Page 63  |  Page 64  |  Page 65  |  Page 66  |  Page 67  |  Page 68  |  Page 69  |  Page 70  |  Page 71  |  Page 72  |  Page 73  |  Page 74  |  Page 75  |  Page 76  |  Page 77  |  Page 78  |  Page 79  |  Page 80  |  Page 81  |  Page 82  |  Page 83  |  Page 84  |  Page 85  |  Page 86  |  Page 87  |  Page 88  |  Page 89  |  Page 90  |  Page 91  |  Page 92  |  Page 93  |  Page 94  |  Page 95  |  Page 96  |  Page 97  |  Page 98  |  Page 99  |  Page 100  |  Page 101  |  Page 102  |  Page 103  |  Page 104  |  Page 105  |  Page 106  |  Page 107  |  Page 108  |  Page 109  |  Page 110  |  Page 111  |  Page 112