A method and apparatus for defining, configuring and performing a custom processing function in a digital oscilloscope. The custom processing function is programmed by the operator using a programming language. The custom function may be linked/chained with other processing functions using a graphical editor. Although the custom processing function may process data offline as in related art systems, the present invention's custom processing function may be inserted/embedded directly into the data processing stream of the digital oscilloscope, thereby processing the data on-line.
|
1. A method of implementing a user defined processing function for operation in a digital oscilloscope, comprising the steps of:
programming the user defined processing function using a programming language to define a set of processing instructions to be associated with the user defined processing function;
linking the user defined processing function into a data processing stream of the digital oscilloscope; and
executing processing in the digital oscilloscope, whereby the user defined processing function operates to perform the set of processing instructions associated with the user defined processing function on data in the digital oscilloscope in-line with the linked data processing stream.
6. A digital oscilloscope capable of performing a user defined processing function comprising:
programming means for programming the user defined processing function using a programming language to define a set of processing instructions to be associated with the user defined processing function;
linking means for linking the user defined processing function into a data processing stream of the digital oscilloscope; and
a processor for executing processing in the digital oscilloscope whereby the user defined processing function operates to perform the set of processing instructions associated with the user defined processing function on data in the digital oscilloscope in-line with the linked data processing stream.
11. A method of implementing a user defined processing function for operation in a digital oscilloscope, comprising the steps of:
programming the user defined processing function using a programming language, the user defined processing function being custom programmed by a user to define a set of processing instructions to be associated with the user defined processing function, to receive one or more data inputs, to perform processing on the one or more data inputs and to provide one or more processed data outputs;
linking the user defined processing function into a data processing stream of the digital oscilloscope to receive one or more data inputs and to output one or more processed data outputs as required and provided by said user defined procession function; and
executing processing in the digital oscilloscope, whereby the user defined processing operates to perform the set of processing instructions associated with the user defined processing function on the one or more data inputs and provides the one or more processed data outputs in line with the linked data processing streams.
12. An apparatus for implementing a user defined processing function for operation in a digital oscilloscope, comprising the steps of:
programming means for programming the defined processing function using a programming language, the user defined processing function being custom programmed by a user to define a set of processing instructions to be associated with the user defined processing function, to receive one or more data inputs, to perform processing on the one or more data inputs and to provide one or more processed data outputs;
linking means for linking the defined processing function into a data processing stream of the digital oscilloscope to receive one or more data inputs and to output one or more processed data outputs as required and provided by said user defined procession function; and
executing means for executing processing in the digital oscilloscope, whereby the user defined processing operates to perform the set of processing instructions associated with the user defined processing function on the one or more data inputs and provides the one or more processed data outputs in-line with the linked data processing streams.
2. The method of
4. The method of
5. The method of
9. The digital oscilloscope of
10. The digital oscilloscope of
|
This application claims the benefit of U.S. Provisional Application Ser. No. 60/339,413 filed Dec. 11, 2001, the entire contents thereof being incorporated herein by reference.
1. Field of the Invention
The present invention relates generally to a method and apparatus for processing waveform data acquired by an oscilloscope using a streaming architecture.
2. Background of the Invention
A digital oscilloscope is a complex instrument for measuring electrical signals. Traditionally, digital storage oscilloscopes (DSOs) capture an electrical signal (waveform) and allow the user to view a trace of the captured signal in a time (x-axis) versus amplitude (y-axis) display. In addition to displaying the signal's trace, DSOs can perform mathematical processing on the captured waveform. This processing can be used to transform the entire waveform or to determine certain properties (features, parameters, measurements) of the captured signal. These properties are traditionally displayed as individual values associated with a particular signal trace on the DSO's screen. Typically, the processing is controlled and/or pre-selected using various display menus.
When analyzing a single feature of a particular captured signal (e.g. the rising edge of a signal), the ability to display processed values is a valuable tool. DSOs are now capable of performing numerous complex processing operations.
Digital oscilloscopes are generally composed of many electronic hardware and software modules that operate together in capturing, processing, displaying and storing information that characterizes the signals of interest to an operator. When developing instruments that are easy to set up and use, there are several requirements that need to be addressed, despite the inherent complexity of the task. To ensure compliance with such requirements, digital oscilloscope data processing (including parametric and waveform processing) functions have traditionally been hard-coded into the system. While in some systems the operator has the capability to chain processing elements and to change various processing parameters, support has not been provided to allow operators to define their own ‘custom’ processing.
In the traditional schemes for controlling a digital oscilloscope or the like, there has been no clearly defined generic model for processing various acquired waveforms and the like. Rather, the available functionality is primarily predefined, without much flexibility available to the user. This is likely because few developers of these instruments, much less the users, have had a clear idea of how to abstractly express the processing performed within these instruments.
Thus a problem exists that although some Digital Sampling Oscilloscopes (DSO) support the ability to chain together standard processing functions, none support a method enabling an operator to insert a fully custom processing function into the DSO.
Accordingly, the present invention is a method and apparatus which allows DSO operators to define and integrate custom processing functions directly into the data stream being processed by the DSO.
Therefore, it is an object of the present invention to provide a method and apparatus for developing custom processing functions for direct operation on the data processed in a digital oscilloscope.
The present invention is a method and apparatus for defining, configuring and performing a custom processing function in a digital oscilloscope. The custom processing function is programmed by the operator using a programming (scripting) language such as Visual Basic or Java. The custom function may be linked/chained with other processing functions using a graphical editor. Although the custom processing function may process data offline as in related art systems, the present invention's custom processing function may be inserted/embedded directly into the data processing stream of the digital oscilloscope, thereby processing the data on-line.
Still other objects and advantages of the invention will in part be obvious and will in part be apparent from the specification and the drawings.
The invention accordingly comprises the several steps and the relation of one or more of such steps with respect to each of the others, and the apparatus embodying features of construction, combination(s) of elements and arrangement of parts that are adapted to effect such steps, all as exemplified in the following detailed disclosure.
For a more complete understanding of the invention, reference is made to the following description and accompanying drawings, in which:
The preferred embodiments of the apparatus and method according to the present invention will be described with reference to the accompanying drawings.
The invention consists of a user defined processing element that may be inserted into the stream of data between the digitizer and the display in a DSO. This user defined processing element ‘consumes’ various types of ‘results’ (waveforms, parameters, persistence maps, histograms, etc.) and produces results that can be consumed by other processing elements and/or the display.
The user defined processing element provides a digital oscilloscope user the capability to perform custom data processing using a standard programming language. The invention consists of the development of a processing element, which may contain a ‘script’ developed in a common programming language such as Visual Basic Script or Java Script. The processing element presents the script with the ability to access the input data (scalar in the case of a parameter, or vector in the case of a waveform) and associated parameters, and also with a location in which to deposit the processed data. The script then has full control over the data. The user defined elements according to the present invention are not limited to scripting languages and may be created using any applicable programming language, whether interpreted or compiled.
Since the above-mentioned scripting languages are usually (but not always) interpreted (as opposed to compiled) it is not the most efficient way to develop processing functions. It is however an ideal prototyping environment with an eye to translating the script into a more efficient compiled form in the future. The processing function which contains the script is ‘embedded’ in the instrument. The results may be displayed, stored, or processed further in the same way as the output of any of the built-in processing functions.
In addition to performing the processing directly within the script, the user defined function may call upon the services of additional, external applications or components to perform the processing. The script would then be responsible for creating some form of communication path to the external tool, passing it the input data, waiting for processing to complete, and then returning the processed data back to the instrument. A simple scenario would involve passing data to an analysis software tool (such as MatLab™ or MathCad™) for processing and then returning it to the instrument application for display, storage, or further processing.
The script or programming for the user defined processing functions can be done through a popup window, text/dialog box, or a link to a notepad editor. In addition, the function may be programmed off-line, compiled, and transferred as a file to the DSO. Any other common method of programming applicable to the invention may be used.
The user-defined processing is placed ‘in-line’ in the stream of data from the acquisition system to the display. This allows the DSO to compute functions and feed other processing elements in real time. Hence, the data remains in the processing chain/stream rather than being sent offline for processing as in prior art oscilloscopes. For example, you can filter a channel acquisition, and feed the result to a pre-defined function (e.g. an FFT, Average, Pass/Fail, etc . . . ).
The present invention also allows for debugging processing operations. The user defined operation can be stepped through to analyze and debug the operation of each step in the process. Hence, the user defined operation can effectively be used as a debugging tool.
Modem digital measurement instruments and oscilloscopes (DSO) display many types of informational objects on the screen. Some of the types of information include “raw” acquisition waveforms, processed waveforms, cursors which also display numerical information corresponding to the waveforms, automated measurements on the waveforms, and axis labels and/or descriptors to indicate the scale of the waveforms. Typically, a DSO has separate menus which allow the user to configure a channel, setup a math function, turn on cursors or measurements, etc.
The invention may be implemented in an oscilloscope design that is completely “modular”, whereby the elements composing the oscilloscope software are completely specified in terms of interface, and are sufficiently independent in construction that they can be installed and removed at run-time, (e.g. without stopping the process which can be considered the oscilloscope application software). Such an oscilloscope is described in U.S. patent application Ser. No. 9/988,416 filed Nov. 16, 2001, the contents of which are hereby incorporated by reference. This type of oscilloscope is in contrast to existing products that include software that must be wholly replaced (in it's entirety) in order to change any small attribute of the software. This approach offers commercial advantage because it simplifies the overall logistics of adding new software features, fundamental to the product or fundamental to a particular application of the product. As such, a special feature can be added after a customer has taken delivery and has the instrument (oscilloscope) in operation, after the fact, without the requirement to return or for that matter even stop using the instrument. This is of value to both the customer and the manufacturer.
Further, the modular design permits “unit testing” to further advance the quality of the overall product by permitting each individual component of the software to be tested in a standard “test harness”. Each component is provided with a standardized interface especially conceived to permit isolated testing. This forward looking, quality conscious aspect of the design assures final deployments of the product(s) are not hampered by the inability to localize faulty components. While these oscilloscopes ease the implementation of the present invention, the present invention may be applied to any oscilloscope.
Thereafter, various results data are provided to, and thereafter output from a preprocessing system 2121, and are in turn acted upon in various post processing functions 2130 employing user defined control variables, resulting in processed data (Results data) 2135. The post-processed data is then exported and/or imported at 2140 as necessary for further processing by the system 2145. After processing has been completed, the various processed data is converted for display at 2150 on a display device 2155.
In
As noted above, the input and output pins for a particular processor class provide the ability to inter-connect processor objects, so that one processor object may consume the results produced from another processor object.
The user defined element is not limited to a single input pin and a single output pin. Processors with one or more input pins but no output pins are ‘terminal nodes’ that can be used when the results of the processing are not required within the processing web, an example of this would be a case where acquired data is required within a MathCAD™ spreadsheet and is displayed within MathCAD™. Another type of processor takes zero input pins but produces one or more output pins. This would be used in the case where the scripting processor produces data but doesn't require an input; a signal simulator is an example of this. Still another type is a processor that supports one or more input pins and one or more output pins. This type of processor would be used where acquired data is processed by the user-defined script and is then returned into the processing chain for further processing and/or display.
A Processing Web Editor (PWEditor), as described in U.S. patent application Ser. No. 9/988,420 filed Nov. 16, 2001, the contents of which are hereby incorporated by reference, is a tool which may be used in conjunction with the invention for presenting the graphical representation of the configuration of a Processing Web (Web) to a user, enabling the web to be reconfigured, and enabling the properties of the various elements in the web to be viewed and modified by the user. Thus, instead of the fixed and constrained processing, a modular processing web may be used. This advanced processing web may be edited in accordance with the PWEditor and may be configured in any manner desired by a user to generate any desired results, as will be described below. The Processing Web defines the flow of data from the input of a DSO through various stages of processing to the display device, as noted above.
While the PWEditor is a natural way to view and reconfigure the web, it is by no means the only way. The web can also be constrained and can emulate the processing flow in conventional DSOs. It can also be configured in a more flexible manner using an equation, i.e. ‘Math1=Ch1+Ch2’. While these possibilities are applicable to the present invention, they will not be discussed in detail herein.
Thus, the use of the PWEditor is a graphical representation and modular architecture that provides complete flexibility in terms of how many processing elements compose a given processing web and opens the field to handle other more specific types of processing engines and their results. The PWEditor allows for a true graphical representation of the processing web and the ability to modify it as desired. The processing web consists of various types of processing nodes or objects. These are classified into various types based upon the number, and data type, of the various inputs and outputs (pins) associated therewith. This classification allows functionality provided by traditional DSOs to be described in the processing web, although the web is flexible enough to support non-traditional processing, i.e. nodes which produce simultaneously both waveforms and parameters. Typically, these nodes comprise:
1. Acquisition Systems, which are responsible for the presentation of (primarily) waveform data produced by the acquisition hardware in the DSO.
2. Math nodes, which accept waveform data and produce waveform data.
3. Parameter nodes, which accept waveform data and produce scalar (parameter) results.
4. Pass Fail nodes, which accept waveform and/or parameter inputs and produce a Boolean (pass/fail) result.
5. Adapter nodes, which provide data-type conversion, i.e. float -→ nteger waveform (vector) types.
6. Renderer nodes, which accept any data type and produce graphical results (waveform traces, parameter readouts, etc).
The various input and output pins of the processing nodes are therefore classified based upon the data type that they expose/accept. A detailed description of exemplary functions that may be employed in the PWEditor to change the functional structure of the processing web, and therefore the actual functioning of the oscilloscope is provided below.
Utilizing the PWEditor to implement the invention in the processing web provides the following features. The complexity of the processing web is limited only by available processing power and memory. The traditional separation of math, parameters, and display functions is removed. Processing engines may be dragged into use from a categorized toolbar. An arbitrary number of named and typed input and output pins may be employed. Graphical, real-time, preview of results (both scalar and vector) are provided, even while viewing the web structure. Identification of the data-type of input and output pins may be designated using a color-coded key scheme. Data type adapters are automatically inserted when incompatible types are connected, for example, adaptation between float and integer data types, conversion of vector data into a sequence of scalars, etc. There is also the ability to display, and edit the properties of each node and each pin.
The present invention can be used during normal oscilloscope operations, or in accordance with design of the processing web, through the PWEditor or processing web described above. The invention is also applicable to standard oscilloscopes that do not employ such a processing web. In standard oscilloscopes, the invention would be called from the toolbar and would be used to modify the defined functionality.
The processing performed by scripting processor 400 takes each input data sample and computes:
output[i]=(1/input[i])*0.0005
It will thus be seen that the objects set forth above, among those made apparent from the preceding description, are efficiently attained and, because certain changes may be made in carrying out the above method and in the construction(s) set forth without departing from the spirit and scope of the invention, it is intended that all matter contained in the above description and shown in the accompanying drawings shall be interpreted as illustrative and not in a limiting sense.
It is also to be understood that the following claims are intended to cover all of the generic and specific features of the invention herein described and all statements of the scope of the invention which, as a matter of language, might be said to fall therebetween.
Campiche, Thierry, Cake, Anthony R.
Patent | Priority | Assignee | Title |
11619920, | Apr 03 2019 | ROHDE & SCHWARZ GMBH & CO KG | Method of customized setting as well as measurement system |
7224363, | Nov 15 2002 | Fujitsu Ten Limited | Computer-readable recording medium with waveform editing program stored and waveform editing system |
8265300, | Jan 06 2003 | Apple Inc. | Method and apparatus for controlling volume |
8543921, | Apr 30 2009 | Apple Inc | Editing key-indexed geometries in media editing applications |
8823726, | Feb 16 2011 | Apple Inc | Color balance |
8854370, | Feb 16 2011 | Apple Inc | Color waveform |
Patent | Priority | Assignee | Title |
4072851, | Mar 26 1976 | Norland Corporation | Waveform measuring instrument with resident programmed processor for controlled waveform display and waveform data reduction and calculation |
4809189, | Oct 09 1986 | Tektronix, Inc. | Equivalent time waveform data display |
5387870, | Jan 08 1993 | GSLE Development Corporation; SPX Corporation | Method and apparatus for feature extraction from internal combustion engine ignition waveforms |
5731984, | Jul 17 1995 | Credence Systems Corporation | Vector-based waveform acquisition and display |
6054984, | May 27 1997 | Keysight Technologies, Inc | System and method for graphically manipulating display elements in a signal measurement system |
6326986, | May 27 1997 | Agilent Technologies Inc | System and method for graphically manipulating display elements in a computer-based system |
6587812, | Jan 27 1999 | Komatsu Ltd. | Method and system for monitoring industrial machine |
6624829, | Oct 29 1999 | Agilent Technologies | System and method for specifying trigger conditions of a signal measurement system using hierarchical structures on a graphical user interface |
6639607, | Jul 14 2000 | Agilent Technologies, Inc. | Graphical user interface for a logic analyzer which allows trigger construction for data communications packets and protocols |
20030058280, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Dec 09 2002 | LeCroy Corporation | (assignment on the face of the patent) | / | |||
Mar 10 2003 | CAMPICHE, THIERRY | LeCroy Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 013873 | /0972 | |
Mar 10 2003 | CAKE, ANTHONY R | LeCroy Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 013873 | /0972 | |
Oct 29 2004 | LeCroy Corporation | BANK OF NEW YORK, THE, AS ADMINISTRATIVE AGENT | GRANT OF SECURITY INTEREST | 015355 | /0270 | |
Mar 30 2007 | LeCroy Corporation | MANUFACTURERS AND TRADERS TRUST COMPANY | SECURITY AGREEMENT | 019331 | /0239 | |
Jul 29 2010 | LeCroy Corporation | MANUFACTURERS AND TRADERS TRUST COMPANY | SECURITY AGREEMENT | 024892 | /0689 | |
Aug 08 2011 | LeCroy Corporation | RBS CITIZENS, N A , AS ADMINISTRATIVE AGENT | SECURITY AGREEMENT | 026826 | /0850 | |
Aug 03 2012 | LeCroy Corporation | TELEDYNE LECROY, INC | MERGER SEE DOCUMENT FOR DETAILS | 029162 | /0724 | |
Aug 22 2012 | RBS CITIZENS, N A | TELEDYNE LECROY, INC | RELEASE BY SECURED PARTY SEE DOCUMENT FOR DETAILS | 029155 | /0478 | |
Oct 09 2012 | MANUFACTURERS AND TRADERS TRUST COMPANY, AS AGENT | LeCroy Corporation | RELEASE BY SECURED PARTY SEE DOCUMENT FOR DETAILS | 029128 | /0280 | |
Oct 18 2012 | JP MORGAN CHASE BANK, N A AS ADMINISTRATIVE AGENT SUCCESSOR ADMINISTRATIVE AGENT TO THE BANK OF NEW YORK | LeCroy Corporation | RELEASE BY SECURED PARTY SEE DOCUMENT FOR DETAILS | 029328 | /0042 |
Date | Maintenance Fee Events |
Apr 06 2009 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Nov 16 2012 | ASPN: Payor Number Assigned. |
Mar 14 2013 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Apr 04 2017 | M1553: Payment of Maintenance Fee, 12th Year, Large Entity. |
Date | Maintenance Schedule |
Oct 04 2008 | 4 years fee payment window open |
Apr 04 2009 | 6 months grace period start (w surcharge) |
Oct 04 2009 | patent expiry (for year 4) |
Oct 04 2011 | 2 years to revive unintentionally abandoned end. (for year 4) |
Oct 04 2012 | 8 years fee payment window open |
Apr 04 2013 | 6 months grace period start (w surcharge) |
Oct 04 2013 | patent expiry (for year 8) |
Oct 04 2015 | 2 years to revive unintentionally abandoned end. (for year 8) |
Oct 04 2016 | 12 years fee payment window open |
Apr 04 2017 | 6 months grace period start (w surcharge) |
Oct 04 2017 | patent expiry (for year 12) |
Oct 04 2019 | 2 years to revive unintentionally abandoned end. (for year 12) |