The present invention relates to the field of signal analysis, and more particularly to a system and method for interactively specifying and performing signal analysis functions.
Traditionally, high level text-based programming languages have been used by programmers in writing application programs. Many different high level text-based programming languages exist, including BASIC, C, C++, Java, FORTRAN, Pascal, COBOL, ADA, APL, etc. Programs written in these high level text-based languages are translated to the machine language level by translators known as compilers or interpreters. The high level text-based programming languages in this level, as well as the assembly language level, are referred to herein as text-based programming environments.
Increasingly, computers are required to be used and programmed by those who are not highly trained in computer programming techniques. When traditional text-based programming environments are used, the user's programming skills and ability to interact with the computer system often become a limiting factor in the achievement of optimal utilization of the computer system.
There are numerous subtle complexities which a user must master before he can efficiently program a computer system in a text-based environment. The task of programming a computer system to model or implement a process often is further complicated by the fact that a sequence of mathematical formulas, steps or other procedures customarily used to conceptually model a process often does not closely correspond to the traditional text-based programming techniques used to program a computer system to model such a process. In other words, the requirement that a user program in a text-based programming environment places a level of abstraction between the user's conceptualization of the solution and the implementation of a method that accomplishes this solution in a computer program. Thus, a user often must substantially master different skills in order to both conceptualize a problem or process and then to program a computer to implement a solution to the problem or process. Since a user often is not fully proficient in techniques for programming a computer system in a text-based environment to implement his solution, the efficiency with which the computer system can be utilized often is reduced.
To overcome the above shortcomings, various graphical programming environments now exist which allow a user to construct a graphical program or graphical diagram, also referred to as a block diagram. U.S. Pat. Nos. 4,901,221; 4,914,568; 5,291,587; 5,301,301; and 5,301,336; among others, to Kodosky et al disclose a graphical programming environment which enables a user to easily and intuitively create a graphical program. Graphical programming environments such as that disclosed in Kodosky et al can be considered a higher and more intuitive way in which to interact with a computer. A graphically based programming environment can be represented at a level above text-based high level programming languages such as C, Basic, Java, etc.
A user may assemble a graphical program by selecting various icons or nodes which represent desired functionality, and then connecting the nodes together to create the program. The nodes or icons may be connected by lines representing data flow between the nodes, control flow, or execution flow. Thus the block diagram may include a plurality of interconnected icons such that the diagram created graphically displays a procedure or method for accomplishing a certain result, such as manipulating one or more input variables and/or producing one or more output variables. In response to the user constructing a diagram or graphical program using the block diagram editor, data structures and/or program instructions may be automatically constructed which characterize an execution procedure that corresponds to the displayed procedure. The graphical program may be compiled or interpreted by a computer.
A graphical program may have a graphical user interface. For example, in creating a graphical program, a user may create a front panel or user interface panel. The front panel may include various graphical user interface elements or front panel objects, such as user interface controls and/or indicators, that represent or display the respective input and output that will be used by the graphical program, and may include other icons which represent devices being controlled.
Thus, graphical programming has become a powerful tool available to programmers. Graphical programming environments such as the National Instruments LabVIEW product have become very popular. Tools such as LabVIEW have greatly increased the productivity of programmers, and increasing numbers of programmers are using graphical programming environments to develop their software applications. In particular, graphical programming tools are being used for test and measurement, data acquisition, process control, man machine interface (MMI), supervisory control and data acquisition (SCADA) applications, modeling, simulation, image processing/machine vision applications, and motion control, among others.
In parallel with the development of the graphical programming model, increasingly, much of the instrumentation related to the above fields of application, e.g., test and measurement, data acquisition, process control, etc., has been implemented as virtual instruments (VIs). A virtual instrument is a user-defined measurement and automation system that includes a computer (such as a standard personal computer) or workstation equipped with the application software (such as LabVIEW graphical programs), hardware (such as DAQ boards, or more specialized hardware boards, e.g., oscilloscope boards, arbitrary waveform generator boards, etc.), and driver software. Virtual instrumentation represents a fundamental shift from traditional hardware-centered instrumentation systems to software-centered systems that exploit the computational, display, productivity and connectivity capabilities of computers, networks and the Internet. Because virtual instruments exploit these computation, connectivity, and display capabilities, users can define and change the functionality of their instruments, rather than being restricted by fixed-functions imposed by traditional instrument vendors. Virtual instruments may be used to monitor and control traditional instruments, create computer-based systems that can replace traditional instruments at a lower cost, and develop systems that integrate measurement functionality with industrial automation. Additionally, giving users flexibility to create their own user-defined virtual instruments for an increasing number of applications in a wide variety of industries, and letting users leverage the latest technologies from computers, networking and communications generally shortens system development time and reduces both short- and long-term costs of developing, owning and operating measurement and automation systems, and may generally improve efficiency and precision of applications spanning research, design, production and service.
Virtual instruments may thus effectively replace many traditional standalone hardware-based instruments, such as, for example, oscilloscopes, multi-meters, and so forth. Such virtual instruments provide a number of benefits over their hardware equivalents, such as, for example, lower cost of manufacture and distribution and ease of upgrades, among others. An exemplary virtual instrument system is the National Instruments' LabVIEW system, where, for example, graphical interfaces or “front ends” of various instruments, such as oscilloscopes, multi-meters, and arbitrary waveform generators, execute on a host computer system, often in conjunction with data acquisition (DAQ) hardware or other specialized boards, e.g., oscilloscope boards, multi-meter boards, and arbitrary waveform generator boards, etc., to provide respective functionality traditionally provided by standalone hardware devices. In some virtual instruments, some or all of the instrument functionality is implemented in software and executed on the host computer. Thus, a virtual instrument may be implemented completely in software (e.g., a “soft-scope”), or may implemented in both software and hardware, in contrast with traditional standalone hardware instruments.
In some signal analysis applications, such as test and measurement, control, simulation, equipment design, etc., numerous instruments may be required to analyze various signals related to the application. The coordinated configuration and use of these instruments to perform the desired tasks of the application generally requires significant effort, e.g., custom programming and/or coordinated configuration of the devices, and thus is often tedious, time-consuming, and error prone. Thus, improved systems and methods for specifying and performing signal analysis functions are desired.
Various embodiments of a system and method for specifying and performing signal analysis functions are presented. In one embodiment, user input may be received specifying an operation, where the operation implements at least a portion of a signal analysis function. For example, in a preferred embodiment, the user input may be received to a graphical user interface (GUI) of a signal analysis function development environment, which may facilitate interactive specification, development, and execution of signal analysis functions. More specifically, the signal analysis function development environment may provide an integrated graphical interface for a plurality of instruments for signal analysis, described in more detail below. The signal analysis function development environment preferably executes on a computer system that includes a display, i.e., a display device, such as a computer monitor, which operates to display the GUI. The GUI preferably includes a display window or panel for displaying signals and signal analysis results (from the operations).
The user may specify the operation in any of a variety of ways. For example, in one embodiment the user may select (e.g., with a pointing device, such as a mouse) the operation from a menu, e.g., provided by the signal analysis function development environment, e.g., from a menu bar. In one embodiment, the menu may be invoked from a display tool, e.g., a graphical signal display, e.g., a graph, of the signal analysis function development environment. For example, one or more signals (signal plots), e.g., generated by prior operations, may be displayed in a display tool, e.g., a display window. The user may select a signal (or multiple signals) from the display tool, e.g., by clicking on the signal plot or a symbol for the signal in a plot legend of the display tool, e.g., graph, in response to which the menu may be presented. The user may then select the desired operation from the menu.
In another embodiment the user may select the operation from a palette of function icons, where each function icon represents a respective operation. For example, the user may double click on the icon for the operation, thereby invoking a configuration GUI for the operation through which the user may provide input configuring the operation. As another example, the user may “drag and drop” the icon from the palette onto a diagram, active window, and/or another icon. In one embodiment, each function icon may be associated with or comprised in a respective function block, described below in detail. Similar to above, in one embodiment, the palette may be displayed in response to user input selecting a signal plot or indicator from a graphical display of the signal analysis function development environment.
Thus, in one embodiment, user input may be received to the display tool indicating one or more signals displayed in the display tool. One or more operation options may then be presented in response, and user input received selecting an operation option from the provided one or more operation options, where the selected operation option indicates an operation to be performed on the indicated one or more signals. In a preferred embodiment, the one or more operation options presented to the user include only operation options appropriate for the selected one or more signals. In other words, the method may use information related to the signals (and optionally, information related to previously specified operations) to filter or otherwise limit the operation options presented to the user. For example, if the display tool included a power spectrum for a signal, and the power spectrum plot or indicator were selected to invoke the operation options, only those operations suitable for application to a power spectrum may be presented, e.g., determining a strongest frequency, average power, etc. It is noted that other methods of specifying the operation are also contemplated, such as, for example, the user entering the name of the desired operation into a text entry field, although graphical selection methods are preferred.
In one embodiment, an icon may be displayed on the display in response to the specifying, where the icon comprises a graphical representation of the operation, and where the icon is displayed upon the specifying. In other words, once the operation is specified, the corresponding icon for the operation may be displayed.
In one embodiment, the GUI may include an area or window for displaying a plurality of function blocks, each corresponding to a respective signal operation that has been selected by a user, and thus representing the currently specified operations, where each function block has an icon, a label, and indicators for input and/or output signals. In one embodiment, a display area of the GUI may be provided for displaying signals and related data, e.g., signal graphs, as well as tabular data, i.e., tables of data. A menu or tool bar may be provided, e.g., along the top of the GUI, whereby the user may invoke functionality to control execution of the operations, generate code, set triggers and timing, and so forth.
The selectable operations may include any type of operation related to signals. For example, the operations contemplated may include: generating one or more signals, e.g., by reading one or more signals from a file, and/or synthesizing one or more signals algorithmically; receiving one or more signals from an external source; sending one or more signals to an external system; analyzing one or more signals and generating results based on the analysis; displaying one or more signals; displaying results of another operation; processing one or more signals, thereby generating one or more modified signals; and storing one or more signals, among others. In other words, the operations may include signal generation, acquisition, analysis, processing, storage, import, export, or transmission, among others. Signal operations may be organized by function categories such as (but not limited to): Create, I/O, Conditioning, Measurement, Processing, File, Test, and Conversion, among others. As noted above, in some embodiments, the icons and operations may comprise or be comprised in function blocks, where each function block provides a respective specified operation and is represented by a respective icon.
Additionally, the operations may utilize various instruments to perform their respective functionalities. In a preferred embodiment, the signal analysis function development environment provides an integrated interface to a plurality of instruments, where the instruments may include virtual instruments (which may or may not include respective hardware boards), and optionally, standalone hardware instruments. For example, receiving one or more signals from an external source may include receiving one or more signals from a hardware device over a transmission medium and/or from a simulation. As another example, a first operation may generate a test signal, e.g., via a virtual arbitrary waveform generator, and export the signal to an external hardware device, such as a filter. The filter may process (filter) the signal and a resultant (filtered) signal may be received by a second operation, e.g., a virtual oscilloscope, which may then display the resultant signal, e.g., compared with the original test signal. Note that the virtual arbitrary waveform generator and/or the virtual oscilloscope may be implemented solely in software, or may be include both software and a hardware board. Examples of hardware boards contemplated for use in preferred embodiments of the present invention include, but are not limited to: an E Series Multifunction DAQ (E-MIO), a High Speed Digitizer (Scope), and Signal Sources (Arbitrary Waveform & Function Generators), as provided by National Instruments Corporation. In further embodiments, the hardware boards may include one or more of: an S Series Multifunction DAQ (S-MIO) board, a High-Speed Digital (DIO) board, and a Digital Multimeter (DMM) board, among others.
Thus, the instruments to which access may be provided by the signal analysis function development environment may include a plurality of instruments, where the plurality of instruments includes two or more virtual instruments, and may optionally include one or more standalone hardware devices.
The operation may then be performed in response to the specifying described above, preferably utilizing at least one of the plurality of instruments to perform the operation. Generally the performance of the operation results in some form of output, such as, for example, signal data (a signal) or other resultant data that may then be displayed in a display, i.e., a display tool, of the GUI, e.g., in a graph (e.g., for signal plots) or in a table (e.g., for tabular scalar data). It should be noted that other types of data displays are also contemplated, including, for example, histograms and 3D plots, among others. It should be further noted that in a preferred embodiment, one or more input signals for the operation may be displayed. More generally, in a preferred embodiment, the signal analysis function may include a plurality of operations, each of which may include one or more input signals and/or one or more output signals, and so the method may include displaying any of the input and/or output signals, as desired. In one embodiment, information specifying the operation may be stored. For example, the information may be stored in a data structure, such as a file, or transmitted to another system for storage.
In a preferred embodiment, the steps described above may be repeated a plurality of times to specify the signal analysis function. In other words, the user may interactively specify a plurality of operations, thereby invoking performance of each operation upon its invocation and display of the icon corresponding to the operation. In a preferred embodiment, the operations in the signal analysis function include at least one of 1) generating signals displayed in a graph, and 2) modifying one or more signals displayed in the graph. In another embodiment, the operations in the signal analysis function may also include 3) producing an output based on one or more signals displayed in the graph and/or 4) exporting a signal. Of course, in various embodiments, other display tools than graphs may be used, such as tables for displaying tabular signal data.
In other embodiments, the operations in the signal analysis function may include any or all of the signal operations described above in the Signal Operations section. It should be noted that after each respective operation is specified, the operation is preferably continuously performed during the repeating. In other words, once an operation has been specified, the operation executes in a substantially continuous fashion until removed from the signal analysis function or until the signal analysis function is terminated or paused. Note that in general, the signal operations typically relate to one or more of signal generation, signal acquisition, and signal processing or analysis, although other operations are also contemplated.
In one embodiment, as a result of said repeating, a plurality of icons may be displayed on the display representing a plurality of operations, where the plurality of icons are arranged to visually indicate the signal analysis function. In other words, in one embodiment, a diagram including the icons of the specified operations is displayed, where the diagram visually indicates the functionality of the signal analysis function. In various embodiments, the diagram may be one or more of: a linear sequence, a data flow diagram, a tree diagram, and a dependency diagram. Additionally, in a preferred embodiment, repeating the steps above produces a set of stored information representing the plurality of operations in the signal analysis function. In a preferred embodiment, the stored information corresponds to the diagram.
As mentioned above, the method described above is preferably performed by program instructions executing under a signal analysis function development environment. In one embodiment, the set of stored information specifying the plurality of operations is executable in the signal analysis function development environment to perform the signal analysis function. Thus, in one embodiment, the program instructions (executing under the signal analysis function development environment) are further executable to implement executing the set of stored information to perform the signal analysis function. For example, in one embodiment, the set of stored information may comprise a script or equivalent which is executable under the signal analysis function development environment to perform the signal analysis function.
In one embodiment, the method may optionally generate a program, i.e., executable code, based on the set of stored information, where the generated program implements the signal analysis function, and is executable to perform the signal analysis function. Further details of the programmatic generation of the program are provided below. In a preferred embodiment, the program may be a graphical program or block diagram.
In one embodiment, the method may further include specifying a relationship between a first icon and a second icon, thereby specifying a relationship between a first operation and a second operation, where specifying the relationship between the first icon and the second icon includes specifying that data produced by the first operation is used by the second operation. For example, in one embodiment, the relationship may be specified in response to user input indicating the relationship, e.g., user input indicating, say, that the output of the first operation is provided as input for the second operation, e.g., via drag and drop techniques, the user drawing “wires” between the two icons, right-clicking on an icon and invoking a menu whereby the relationship is specified by user selection, etc.
In one embodiment, once an operation has been specified, the user may configure the operations, where, for each operation, configuring the operation affects functionality of the operation. Note that in general, this configuration may occur while previously specified operations (and the present operation) are executing substantially continuously. For example, in one embodiment, during said repeating, user input to one or more of the icons may be received for configuring one or more of the plurality of operations, where receiving user input for configuring one or more of the plurality of operations does not include receiving user input specifying programming language code to configure the operations. In other words, the user preferably does not have to manually program (using a programming language) to configure the operation.
For example, in one embodiment, for each operation to be configured, a graphical panel including one or more graphical user interface elements for setting properties of the operation may be displayed, and user input to the graphical panel received to set one or more properties of the operation. In other words, the user may invoke a configuration GUI for configuring the operation, e.g., by right-clicking on the operation's icon. In another embodiment, the configuration GUI may be displayed automatically, e.g., when the operation is originally specified, when another operation is associated with the operation, e.g., when a relationship between operations is specified or indicated, and so on.
In one embodiment, one or more operations may also be removed from the plurality of operations. For example, in one embodiment, user input may be received specifying removal of a first operation from the plurality of operations. In response to specifying the removal of the operation, the method may include: discontinuing performance of the first operation from the plurality of operations, discontinuing display of the first icon, removing information associated with the first operation from the set of stored information, and modifying one or more signals displayed in the graph, as needed.
As noted above, in one embodiment, the set of stored information may comprise a script or equivalent which is executable under the signal analysis function development environment to perform the signal analysis function. In another embodiment, where the method described above executes under the signal analysis function development environment, a program implementing the plurality of operations may be programmatically generated based on the set of stored information, as noted above, where the program is executable outside of the signal analysis function development environment. In other words, once the information specifying or representing the set of operations is produced and/or stored, the method may include programmatically generating a corresponding program that may be executed outside the development environment. Thus, the generated program may be saved, exported to other systems, etc., and executed independently of the signal analysis function development environment. In a preferred embodiment, the generated program is a graphical program, such as a LabVIEW graphical program, although it should be noted that in other embodiments, the generated program may be text-based, e.g., C++, C, etc., and/or interpretable under a different execution environment, such as, for example, Visual Basic, etc.
A graphical program preferably includes a plurality of interconnected graphical program nodes or icons that visually represent the functionality of the program, e.g., of the signal analysis function. The nodes may be interconnected in one or more of a data flow, control flow, or execution flow format. The graphical program may comprise a block diagram and may also include a user interface portion or front panel portion. Where the graphical program includes a user interface portion, the user may optionally assemble or modify the user interface on the display. As one example, the user may use the LabVIEW graphical programming development environment to modify or configure the graphical program.
In one embodiment, each icon of the plurality of icons may correspond to one or more nodes in a graphical programming development environment, e.g., in the LabVIEW graphical programming development environment. Thus, the iconic display mentioned above (the diagram or diagrams described above) may have a relatively straightforward mapping or correspondence with a graphical program, which, as noted above, may include a plurality of interconnected nodes that visually represent the functionality of the graphical program. Since there is a correspondence between the stored information and the icons, in one embodiment, the graphical program may be generated based on the set of stored information, where the graphical program comprises a plurality of interconnected nodes which visually indicate the signal analysis function, and where the graphical program is executable to perform the signal analysis function.
Similar to the removal of an operation described above, in one embodiment, user input specifying removal of a first operation from the plurality of operations may be received, in response to which a first operation may be removed from the plurality of operations. The one or more nodes corresponding to the first operation may then be removed from the graphical program in response to removing the first operation.
As described above, the method may be performed by or under a signal analysis function development environment. In one embodiment, receiving the user input to the graphical user interface specifying the plurality of operations does not include receiving user input specifying programming language code to implement the plurality of operations. In other words, manual programming is preferably not required. It should be noted that in some embodiments, the set of stored information representing or specifying the operations may include configuration information for the plurality of instruments to perform the signal analysis function. For example, the configuration information may include parameter values for software based instruments, such as a “soft-scope”, for hardware components of virtual instruments, e.g., a scope card, and/or for standalone hardware based instruments. Thus, when the stored information is executed, e.g., in the form of a script, the relevant software and/or hardware used by or for the operations may be configured programmatically prior to, or as part of, performance of the operations.
Similarly, in embodiments where an executable program, e.g., a graphical program, is generated (from the stored information), the program may include the configuration information, e.g., in the form of property or configuration nodes. When the program is executed, the appropriate software and/or hardware may be configured in accordance with the configuration information included in the program.
In one embodiment, the GUI may include a soft front panel, where the soft front panel provides or includes an interface for a respective hardware device, e.g., a hardware board, and where the soft front panel emulates a front panel for the device. For example, if the device or board is a Digital Multi-Meter (DMM), the soft front panel preferably emulates the front panel (i.e., a physical front panel) of the DMM. In one embodiment, a soft front panel may be provided for each of a plurality of interactive virtual instrument classes, e.g., for DAQ boards, DMMs, oscilloscopes, etc. Thus, the GUI may present an interface to the user that substantially replicates the functionality and appearance of a hardware front panel, where the user may select or invoke various operations, e.g., signal analysis operations, via controls presented on the soft front panel, where information specifying the selected or invoked operations may be stored, as described above.
In one embodiment, receiving user input specifying an operation includes receiving user input indicating a pre-defined graphical program, wherein the pre-defined graphical program implements the first operation. In a preferred embodiment, the pre-defined graphical program may be associated with a control in the GUI, where the first operation is invocable via user input to the control. The associating may be performed in response to user input indicating an association between the pre-defined graphical program and the control. In one embodiment, the pre-defined graphical program may be displayed in the GUI. For example, the GUI may include a display area for displaying the block diagram of the graphical program.
In one embodiment, one or more of the operations of the signal analysis function may be associated with a respective control in the GUI, where the one or more operations are invocable via user input to the respective control. In other words, one or more signal operations may be grouped together, associated with a GUI control, and then invoked (as a group) via user selection or activation of the GUI control. Thus, in one embodiment, receiving user input specifying an operation may include receiving user input to the respective control for the operation, thereby invoking the one or more operations.
Thus, various embodiments of the system and method described herein may facilitate interactive specification and performance of a signal analysis function by the user, and may optionally programmatically generate a program, e.g., a graphical program, implementing the signal analysis function.
A better understanding of the present invention can be obtained when the following detailed description of the preferred embodiment is considered in conjunction with the following drawings, in which:
While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and are herein described in detail. It should be understood, however, that the drawings and detailed description thereto are not intended to limit the invention to the particular form disclosed, but on the contrary, the intention is to cover all modifications, equivalents and alternatives falling within the spirit and scope of the present invention as defined by the appended claims.
The following references are hereby incorporated by reference in their entirety as though fully and completely set forth herein:
U.S. provisional application Ser. No. 60/495,478, titled “Mixed Signal Workbench”, filed Aug. 15, 2003.
U.S. provisional application Ser. No. 60/496,318, titled “A Mixed Signal Analysis System and Method of Use”, filed Aug. 19, 2003.
U.S. Pat. No. 4,914,568 titled “Graphical System for Modeling a Process and Associated Method,” issued on Apr. 3, 1990.
U.S. Pat. No. 5,481,741 titled “Method and Apparatus for Providing Attribute Nodes in a Graphical Data Flow Environment”.
U.S. Pat. No. 6,173,438 titled “Embedded Graphical Programming System” filed Aug. 18, 1997.
U.S. Pat. No. 6,219,628 titled “System and Method for Configuring an Instrument to Perform Measurement Functions Utilizing Conversion of Graphical Programs into Hardware Implementations,” filed Aug. 18, 1997.
U.S. Patent Application Publication No. 20010020291 (Ser. No. 09/745,023) titled “System and Method for Programmatically Generating a Graphical Program in Response to Program Information,” filed Dec. 20, 2000.
U.S. patent application Ser. No. 09/886,496, titled “System and Method for Programmatically Creating Graphical Program Code in a Graphical Program”, filed Jun. 20, 2001.
The following is a glossary of terms used in the present application:
Memory Medium—Any of various types of memory devices or storage devices. The term “memory medium” is intended to include an installation medium, e.g., a CD-ROM, floppy disks 104, or tape device; a computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; or a non-volatile memory such as a magnetic media, e.g., a hard drive, or optical storage. The memory medium may comprise other types of memory as well, or combinations thereof. In addition, the memory medium may be located in a first computer in which the programs are executed, or may be located in a second different computer which connects to the first computer over a network, such as the Internet. In the latter instance, the second computer may provide program instructions to the first computer for execution. The term “memory medium” may include two or more memory mediums which may reside in different locations, e.g., in different computers that are connected over a network.
Carrier Medium—a memory medium as described above, as well as signals such as electrical, electromagnetic, or digital signals, conveyed via a communication medium such as a bus, network and/or a wireless link.
Programmable Hardware Element—includes various types of programmable hardware, reconfigurable hardware, programmable logic, or field-programmable devices (FPDs), such as one or more FPGAs (Field Programmable Gate Arrays), or one or more PLDs (Programmable Logic Devices), such as one or more Simple PLDs (SPLDS) or one or more Complex PLDs (CPLDs), or other types of programmable hardware. A programmable hardware element may also be referred to as “reconfigurable logic”.
Medium—includes one or more of a memory medium, carrier medium, and/or programmable hardware element; encompasses various types of mediums that can either store program instructions/data structures or can be configured with a hardware configuration program.
Program—the term “program” is intended to have the full breadth of its ordinary meaning. The term “program” includes 1) a software program which may be stored in a memory and is executable by a processor or 2) a hardware configuration program useable for configuring a programmable hardware element.
Software Program—the term “software program” is intended to have the full breadth of its ordinary meaning, and includes any type of program instructions, code, script and/or data, or combinations thereof, that may be stored in a memory medium and executed by a processor. Exemplary software programs include programs written in text-based programming languages, such as C, C++, Pascal, Fortran, Cobol, Java, assembly language, etc.; graphical programs (programs written in graphical programming languages); assembly language programs; programs that have been compiled to machine language; scripts; and other types of executable software. A software program may comprise two or more software programs that interoperate in some manner.
Hardware Configuration Program—a program, e.g., a netlist or bit file, that can be used to program or configure a programmable hardware element.
Graphical Program—A program comprising a plurality of interconnected nodes or icons, wherein the plurality of interconnected nodes or icons visually indicate functionality of the program.
The following provides examples of various aspects of graphical programs. The following examples and discussion are not intended to limit the above definition of graphical program, but rather provide examples of what the term “graphical program” encompasses:
The nodes in a graphical program may be connected in one or more of a data flow, control flow, and/or execution flow format. The nodes may also be connected in a “signal flow” format, which is a subset of data flow.
Exemplary graphical program development environments which may be used to create graphical programs include LabVIEW, DasyLab, DiaDem and Matrixx/SystemBuild from National Instruments, Simulink from the MathWorks, VEE from Agilent, WiT from Coreco, Vision Program Manager from PPT Vision, SoftWIRE from Measurement Computing, Sanscript from Northwoods Software, Khoros from Khoral Research, SnapMaster from HEM Data, Vis Sim from Visual Solutions, ObjectBench by SES (Scientific and Engineering Software), and VisiDAQ from Advantech, among others.
The term “graphical program” includes models or block diagrams created in graphical modeling environments, wherein the model or block diagram comprises interconnected nodes or icons that visually indicate operation of the model or block diagram; exemplary graphical modeling environments include Simulink, SystemBuild, Vis Sim, Hypersignal Block Diagram, etc.
A graphical program may be represented in the memory of the computer system as data structures and/or program instructions. The graphical program, e.g., these data structures and/or program instructions, may be compiled or interpreted to produce machine language that accomplishes the desired method or process as shown in the graphical program.
Input data to a graphical program may be received from any of various sources, such as from a device, unit under test, a process being measured or controlled, another computer program, a database, or from a file. Also, a user may input data to a graphical program or virtual instrument using a graphical user interface, e.g., a front panel.
A graphical program may optionally have a GUI associated with the graphical program. In this case, the plurality of interconnected nodes are often referred to as the block diagram portion of the graphical program.
Node—In the context of a graphical program, an element that may be included in a graphical program. A node may have an associated icon that represents the node in the graphical program, as well as underlying code or data that implements functionality of the node. Exemplary nodes include function nodes, terminal nodes, structure nodes, etc. Nodes may be connected together in a graphical program by connection icons or wires.
Data Flow Graphical Program (or Data Flow Diagram)—A graphical program or diagram comprising a plurality of interconnected nodes, wherein the connections between the nodes indicate that data produced by one node is used by another node.
Graphical User Interface—this term is intended to have the full breadth of its ordinary meaning. The term “Graphical User Interface” is often abbreviated to “GUI”. A GUI may comprise only one or more input GUI elements, only one or more output GUI elements, or both input and output GUI elements.
The following provides examples of various aspects of GUIs. The following examples and discussion are not intended to limit the ordinary meaning of GUI, but rather provide examples of what the term “graphical user interface” encompasses:
A GUI may comprise a single window having one or more GUI Elements, or may comprise a plurality of individual GUI Elements (or individual windows each having one or more GUI Elements), wherein the individual GUI Elements or windows may optionally be tiled together.
A GUI may be associated with a graphical program. In this instance, various mechanisms may be used to connect GUI Elements in the GUI with nodes in the graphical program. For example, when Input Controls and Output Indicators are created in the GUI, corresponding nodes (e.g., terminals) may be automatically created in the graphical program or block diagram. Alternatively, the user can place terminal nodes in the block diagram which may cause the display of corresponding GUI Elements front panel objects in the GUI, either at edit time or later at run time. As another example, the GUI may comprise GUI Elements embedded in the block diagram portion of the graphical program.
Front Panel—A Graphical User Interface that includes input controls and output indicators, and which enables a user to interactively control or manipulate the input being provided to a program, and view output of the program, while the program is executing.
A front panel is a type of GUI. A front panel may be associated with a graphical program as described above.
In an instrumentation application, the front panel can be analogized to the front panel of an instrument. In an industrial automation application the front panel can be analogized to the MMI (Man Machine Interface) of a device. The user may adjust the controls on the front panel to affect the input and view the output on the respective indicators.
Graphical User Interface Element—an element of a graphical user interface, such as for providing input or displaying output. Exemplary graphical user interface elements comprise input controls and output indicators
Input Control—a graphical user interface element for providing user input to a program. Exemplary input controls comprise dials, knobs, sliders, input text boxes, etc.
Output Indicator—a graphical user interface element for displaying output from a program. Exemplary output indicators include charts, graphs, gauges, output text boxes, numeric displays, etc. An output indicator is sometimes referred to as an “output control”.
Computer System—any of various types of computing or processing systems, including a personal computer system (PC), mainframe computer system, workstation, network appliance, Internet appliance, personal digital assistant (PDA), television system, grid computing system, or other device or combinations of devices. In general, the term “computer system” can be broadly defined to encompass any device (or combination of devices) having at least one processor that executes instructions from a memory medium.
Measurement Device—includes instruments, data acquisition devices, smart sensors, and any of various types of devices that are operable to acquire and/or store data. A measurement device may also optionally be further operable to analyze or process the acquired or stored data. Examples of a measurement device include an instrument, such as a traditional stand-alone “box” instrument, a computer-based instrument (instrument on a card) or external instrument, a data acquisition card, a device external to a computer that operates similarly to a data acquisition card, a smart sensor, one or more DAQ or measurement cards or modules in a chassis, an image acquisition device, such as an image acquisition (or machine vision) card (also called a video capture board) or smart camera, a motion control device, a robot having machine vision, and other similar types of devices. Exemplary “stand-alone” instruments include oscilloscopes, multimeters, signal analyzers, arbitrary waveform generators, spectroscopes, and similar measurement, test, or automation instruments.
A measurement device may be further operable to perform control functions, e.g., in response to analysis of the acquired or stored data. For example, the measurement device may send a control signal to an external system, such as a motion control system or to a sensor, in response to particular data. A measurement device may also be operable to perform automation functions, i.e., may receive and analyze data, and issue automation control signals in response. A measurement device may further be operable to perform modeling or simulation functions, e.g., for use in design or testing procedures.
FIG. 1A—Computer System
As shown in
The computer system 82 may include a memory medium(s) on which one or more computer programs or software components according to one embodiment of the present invention may be stored. For example, the memory medium may store one or more programs, e.g., graphical programs, which are executable to perform the methods described herein. For example, the memory medium may store one or more software programs implementing a signal analysis function development environment, described below in detail, which may facilitate interactive specification, development, and execution of signal analysis functions. More specifically, the signal analysis function development environment may provide an integrated interface for a plurality of instruments for signal analysis, described below. Also, the memory medium may store a graphical programming environment used to create and/or execute such graphical programs. The memory medium may also store operating system software, as well as other software for operation of the computer system. Various embodiments further include receiving or storing instructions and/or data implemented in accordance with the foregoing description upon a carrier medium.
FIG. 1B—Computer Network
In one embodiment, the graphical user interface of the graphical program may be displayed on a display device of the computer system 82, and the block diagram may execute on a device 190 connected to the computer system 82. The device 190 may include a programmable hardware element and/or may include a processor and memory medium which may execute a real time operating system. In one embodiment, the graphical program may be downloaded and executed on the device 190. For example, an application development environment with which the graphical program is associated may provide support for downloading a graphical program for execution on the device in a real time system.
Exemplary Systems
Embodiments of the present invention may be involved with performing test and/or measurement functions; controlling and/or modeling instrumentation or industrial automation hardware; modeling and simulation functions, e.g., modeling or simulating a device or product being developed or tested, etc. Exemplary test applications where embodiments of the present invention may be used include hardware-in-the-loop testing and rapid control prototyping, among others.
However, it is noted that the present invention can be used for a plethora of applications and is not limited to the above applications. In other words, applications discussed in the present description are exemplary only, and the present invention may be used in any of various types of systems. Thus, the system and method of the present invention is operable to be used in any of various types of applications, including the control of other types of devices such as multimedia devices, video devices, audio devices, telephony devices, Internet devices, etc., as well as general purpose software applications such as word processing, spreadsheets, network control, network monitoring, financial applications, games, etc. In other words, various embodiments of the present invention are contemplated for use in any field of application where signals are analyzed.
The one or more instruments may include a GPIB instrument 112 and associated GPIB interface card 122, a data acquisition board 114 and associated signal conditioning circuitry 124, a VXI instrument 116, a PXI instrument 118, a video device or camera 132 and associated image acquisition (or machine vision) card 134, a motion control device 136 and associated motion control interface card 138, and/or one or more computer based instrument cards 142, among other types of devices. The computer system may couple to and operate with one or more of these instruments. The instruments may be coupled to a unit under test (UUT) or process 150, or may be coupled to receive field signals, typically generated by transducers. The system 100 may be used in a data acquisition and control application, in a test and measurement application, an image processing or machine vision application, a process control application, a man-machine interface application, a simulation or modeling application, or a hardware-in-the-loop validation application, among others.
The one or more devices may include a data acquisition board 114 and associated signal conditioning circuitry 124, a PXI instrument 118, a video device 132 and associated image acquisition card 134, a motion control device 136 and associated motion control interface card 138, a fieldbus device 170 and associated fieldbus interface card 172, a PLC (Programmable Logic Controller) 176, a serial instrument 182 and associated serial interface card 184, or a distributed data acquisition system, such as the Fieldpoint system available from National Instruments, among other types of devices.
In one embodiment of the invention, one or more graphical programs may be created which are used in performing rapid control prototyping. Rapid Control Prototyping (RCP) generally refers to the process by which a user develops a control algorithm and quickly executes that algorithm on a target controller connected to a real system. The user may develop the control algorithm using a graphical program, and the graphical program may execute on the controller 92, e.g., on a computer system or other device. The computer system 82 may be a platform that supports real time execution, e.g., a device including a processor that executes a real time operating system (RTOS), or a device including a programmable hardware element.
In one embodiment of the invention, one or more graphical programs may be created which are used in performing Hardware in the Loop (HIL) simulation. Hardware in the Loop (HIL) refers to the execution of the plant model 94 in real time to test operation of a real controller 92. For example, once the controller 92 has been designed, it may be expensive and complicated to actually test the controller 92 thoroughly in a real plant, e.g., a real car. Thus, the plant model (implemented by a graphical program) is executed in real time to make the real controller 92 “believe” or operate as if it is connected to a real plant, e.g., a real engine.
In the embodiments of
Graphical software programs which perform data acquisition, analysis and/or presentation, e.g., for measurement, instrumentation control, industrial automation, modeling, or simulation, such as in the applications shown in
FIG. 4—Computer System Block Diagram
The computer may include at least one central processing unit or CPU (processor) 160 which is coupled to a processor or host bus 162. The CPU 160 may be any of various types, including an x86 processor, e.g., a Pentium class, a PowerPC processor, a CPU from the SPARC family of RISC processors, as well as others. A memory medium, typically comprising RAM and referred to as main memory, 166 is coupled to the host bus 162 by means of memory controller 164. The main memory 166 may store one or more software programs implementing various embodiments of the present invention. For example, the main memory 166 may store a signal analysis function development environment, described below in detail, which may facilitate interactive specification, development, and execution of signal analysis functions. More specifically, the signal analysis function development environment may provide an integrated interface for a plurality of instruments for signal analysis, described below. The main memory may also store operating system software, as well as other software for operation of the computer system.
The host bus 162 may be coupled to an expansion or input/output bus 170 by means of a bus controller 168 or bus bridge logic. The expansion bus 170 may be the PCI (Peripheral Component Interconnect) expansion bus, although other bus types can be used. The expansion bus 170 includes slots for various devices such as described above. The computer 82 further comprises a video display subsystem 180 and hard drive 182 coupled to the expansion bus 170.
As shown, a device 190 may also be connected to the computer. The device 190 may include a processor and memory which may execute a real time operating system. The device 190 may also or instead comprise a programmable hardware element. The computer system may be operable to deploy a graphical program to the device 190 for execution of the graphical program on the device 190. The deployed graphical program may take the form of graphical program instructions or data structures that directly represents the graphical program. Alternatively, the deployed graphical program may take the form of text code (e.g., C code) generated from the graphical program. As another example, the deployed graphical program may take the form of compiled code generated from either the graphical program or from text code that in turn was generated from the graphical program.
FIG. 5—Flowchart of a Method for Specifying a Signal Analysis Function
First, in 502, user input may be received specifying an operation, where the operation implements at least a portion of a signal analysis function. For example, in a preferred embodiment, the user input may be received to a graphical user interface (GUI) of a signal analysis function development environment, which, as noted above, may facilitate interactive specification, development, and execution of signal analysis functions. More specifically, the signal analysis function development environment may provide an integrated graphical interface for a plurality of instruments for signal analysis, examples of which are provided below with reference to FIGS. 6 and 8A-8I. As mentioned above, the signal analysis function development environment executes on a computer system that includes a display, i.e., a display device, such as a computer monitor, which operates to display the GUI. The GUI preferably includes a display window or panel for displaying signals and signal analysis results (from the operations). Various examples of operations for signal analysis are provided below.
The user may specify the operation in any of a variety of ways. For example, in one embodiment the user may select (e.g., with a pointing device, such as a mouse) the operation from a menu. For example, a menu of selectable operations may be provided by the signal analysis function development environment, e.g., from a menu bar. In one embodiment, the menu may be invoked from a graphical signal display of the signal analysis function development environment. For example, one or more signals (signal plots), e.g., generated by prior operations, may be displayed in a display window. The user may select a signal (or multiple signals) from the display, e.g., by clicking on the signal plot or a symbol for the signal in a plot legend of the display, upon which the menu may be presented. The user may then select the desired operation from the menu.
In another embodiment the user may select the operation from a palette of function icons, where each function icon represents a respective operation. For example, the user may double click on the icon for the operation, thereby invoking a configuration GUI for the operation through which the user may provide input configuring the operation. As another example, the user may “drag and drop” the icon from the palette onto a diagram, active window, and/or another icon. In one embodiment, each function icon may be associated with or comprised in a respective function block, described below in detail. Similar to above, in one embodiment, the palette may be displayed in response to user input selecting a signal plot or signal icon from a display tool, e.g., a graphical display, of the signal analysis function development environment.
Thus, in one embodiment, user input may be received to the graph (or other display tool) indicating one or more signals displayed in the graph. One or more operation options may then be presented in response, and user input received selecting an operation option from the provided one or more operation options, where the selected operation option indicates an operation to be performed on the indicated one or more signals. In a preferred embodiment, the one or more operation options presented to the user include only operation options appropriate for the selected one or more signals. In other words, the method may use information related to the signals (and optionally, information related to previously specified operations) to filter or otherwise limit the operation options presented to the user. For example, if the graph included a power spectrum for a signal, and the power spectrum plot or icon were selected to invoke the operation options, only those operations suitable for application to a power spectrum may be presented, e.g., determining a strongest frequency, average power, etc.
Thus, in one embodiment, receiving user input specifying an operation may include: receiving user input to the graph indicating one or more signals displayed in the graph, and further receiving user input associating the one or more signals with a first icon of the plurality of icons displayed on the display, where after said associating, the operation represented by the first icon may be performed on the one or more signals.
It is noted that other methods of selecting the operation are also contemplated, such as, for example, the user entering the name of the desired operation into a text entry field, although graphical selection methods are preferred.
Signal Operations
The selectable operations mentioned above may include any type of operation related to signals. For example, the operations contemplated may include: generating one or more signals, e.g., by reading one or more signals from a file, and/or synthesizing one or more signals algorithmically; receiving one or more signals from an external source; sending one or more signals to an external system; analyzing one or more signals and generating results based on the analysis; displaying one or more signals; displaying results of another operation; processing one or more signals, thereby generating one or more modified signals; and storing one or more signals, among others. In other words, the operations may include signal generation, acquisition, analysis, processing, storage, import, export, or transmission, among others. A more detailed list of signal operations is provided below.
Additionally, the operations may utilize various instruments to perform their respective functionalities. As mentioned above, in a preferred embodiment, the signal analysis function development environment provides an integrated interface to a plurality of instruments, where the instruments may include virtual instruments (which may or may not include respective hardware boards), and optionally, standalone hardware instruments. For example, receiving one or more signals from an external source may include receiving one or more signals from a hardware device over a transmission medium and/or from a simulation. As another example, a first operation may generate a test signal, e.g., via a virtual arbitrary waveform generator, and export the signal to an external hardware device, such as a filter. The filter may process (filter) the signal and a resultant (filtered) signal may be received by a second operation, e.g., a virtual oscilloscope, which may then display the resultant signal, e.g., compared with the original test signal. Note that the virtual arbitrary waveform generator and/or the virtual oscilloscope may be implemented solely in software, or may be include both software and a hardware board. Examples of hardware boards contemplated for use in preferred embodiments of the present invention include: an E Series Multifunction DAQ (E-MIO), a High Speed Digitizer (Scope), and a Signal Sources (Arbitrary Waveform & Function Generators), as provided by National Instruments Corporation. In further embodiments, the hardware boards may include one or more of: an S Series Multifunction DAQ (S-MIO) board, a High-Speed Digital (DIO) board, and a Digital Multimeter (DMM) board, among others.
Thus, the instruments to which access may be provided by the signal analysis function development environment may include virtual instruments, such as a DAQ (data acquisition) device, a digitizer, an arbitrary waveform generator (arb), a digital I/O device, and a digital multimeter, among others, some of which may include corresponding hardware, such as a DAQ board, scope (digitizer) board, an arb board, a digital I/O board, and a digital multimeter board, etc., as described above, and may optionally also include at least one standalone hardware-based instrument, such as, for example, a standalone oscilloscope, multi-meter, waveform generator, hardware filter, etc.
Thus, the signal analysis function development environment may provide access to a plurality of instruments, where the plurality of instruments includes two or more virtual instruments, and may optionally include one or more standalone hardware devices.
In 504, the operation may be performed in response to the specifying of 502. The operation is preferably performed utilizing at least one of the plurality of instruments to perform the operation. Generally the performance of the operation results in some form of output, such as, for example, signal data (a signal) or other resultant data that may then be displayed in a display tool of the GUI, e.g., in a graph (e.g., for signal plots) or in a table (e.g., for tabular scalar data). Examples of signal data displays are provided below with reference to
It should be further noted that in a preferred embodiment, one or more input signals for the operation may be displayed. More generally, as described below, in a preferred embodiment, the signal analysis function may include a plurality of operations, each of which may include one or more input signals and/or one or more output signals, and so the method may include displaying any of the input and/or output signals, as desired.
In 506, an icon may be displayed on the display in response to the specifying of 502, where the icon comprises a graphical representation of the operation, and where the icon is displayed upon the specifying. In other words, once the operation is specified in 502, the corresponding icon for the operation is displayed.
In 508, information specifying the operation may be stored. For example, the information may be stored in a data structure, such as a file, or transmitted to another system for storage.
In a preferred embodiment, the steps of 502-508 may be repeated a plurality of times to specify the signal analysis function, as indicated in
In other embodiments, the operations in the signal analysis function may include any or all of the signal operations described above in the Signal Operations section. It should be noted that after each respective operation is specified, the operation is preferably continuously performed during the repeating. In other words, once an operation has been specified, the operation executes in a substantially continuous fashion until removed from the signal analysis function or until the signal analysis function is terminated or paused. Note that in general, the signal operations typically relate to one or more of signal generation, signal acquisition, and signal processing or analysis, although other operations are also contemplated.
In one embodiment, as a result of said repeating, a plurality of icons are displayed on the display representing a plurality of operations, where the plurality of icons are arranged to visually indicate the signal analysis function. In other words, in one embodiment, a diagram including the icons of the specified operations is displayed, where the diagram visually indicates the functionality of the signal analysis function. In various embodiments, the diagram may be one or more of: a linear sequence, a data flow diagram, a tree diagram, and a dependency diagram. Additionally, in a preferred embodiment, repeating the steps above produces a set of stored information representing the plurality of operations in the signal analysis function. In a preferred embodiment, the stored information corresponds to the diagram.
As mentioned above, the method described above is preferably performed by program instructions executing under a signal analysis function development environment. In one embodiment, the set of stored information specifying the plurality of operations is executable in the signal analysis function development environment to perform the signal analysis function. Thus, in one embodiment, the program instructions (executing under the signal analysis function development environment) are further executable to implement executing the set of stored information to perform the signal analysis function. For example, in one embodiment, the set of stored information may comprise a script which is executable under the signal analysis function development environment to perform the signal analysis function.
As
Thus, the specification of the plurality of operations produces the signal analysis function, where the signal analysis function utilizes at least a first plurality of the plurality of instruments, and where the plurality of instruments comprises two or more virtual instruments (VIs). Thus, the memory medium of the host computer may store a plurality of virtual instruments, where each of the virtual instruments is executable on the computer system to implement an instrument function, and where the plurality of operations utilize two or more different ones of the plurality of virtual instruments. For example, in one embodiment, the plurality of virtual instruments may include a signal generator VI, an oscilloscope VI, and a multimeter VI. As noted above, in one embodiment, at least a portion of the plurality of virtual instruments operate in conjunction with respective hardware boards. For example, an oscilloscope VI may include an oscilloscope card (board) that provides hardware for at least a portion of the oscilloscope functionality of the VI.
As also noted above, the plurality of instruments may optionally further include at least one standalone hardware device (instrument). In other words, in addition to the virtual instruments, in some embodiments, the computer may also be coupled to one or more standalone hardware based instruments, such as, for example, a standalone oscilloscope, multi-meter, waveform generator, hardware filter, etc., where one or more of the specified operations may be operable to receive signals from, or provide signals to, one or more of the standalone instruments.
In one embodiment, the method may further include specifying a relationship between a first icon and a second icon, thereby specifying a relationship between a first operation and a second operation, where specifying the relationship between the first icon and the second icon includes specifying that data produced by the first operation is used by the second operation. For example, in one embodiment, the relationship may be specified in response to user input indicating the relationship, e.g., user input indicating, say, that the output of the first operation is provided as input for the second operation, e.g., via drag and drop techniques, the user drawing “wires” between the two icons, right-clicking on an icon and invoking a menu whereby the relationship is specified by user selection, etc.
In another embodiment, the relationship may be performed programmatically, e.g., automatically. For example, in one embodiment, when an operation is specified or selected, prior operations input by the user may be programmatically analyzed to determine an input source for the operation, i.e., to determine a prior operation that provides the appropriate input for the selected operation, e.g., based on chronology, signal type, format, etc. In other words, a heuristic based on one or more attributes of the selected operation and attributes of the prior operations may be used to determine the relationship, e.g., a default relationship, between the specified operation and at least one of the previously specified operations. Of course, once this relationship is determined, the user may modify or replace the determined relationship.
In one embodiment, the relationships between operations or, more specifically, between operation icons, may be visually represented. For example, in one embodiment, each operation icon may display labels or images indicating their respective input and/or output signals. Thus, an I/O relationship between operation A and operation B, where A's output is B's input, may be indicated simply by A's icon including an output icon (e.g., symbol, label, or image) with the label “B”, and B's icon including an input icon with the label “A”.
In one embodiment, the icons or labels may be displayed as part of the icon. In another embodiment, the icons or labels may be displayed only when invoked by the user, e.g., by right-clicking on the icon, hovering the cursor over the icon, and so forth.
Other types of icons are also contemplated. For example, in one embodiment, each operation may have a symbol as well as an icon, where the operation icon displays its own symbol, and where the symbol may also be displayed as input/output signal icons displayed in or by other icons, indicating their respective input/output signals. As another example, similar to the “wires” used to indicate couplings between graphical program nodes in graphical programs, directional lines or graphical vectors may be displayed showing the relationship between operations.
In one embodiment, once an operation has been specified, the user may configure the operations, where, for each operation, configuring the operation affects functionality of the operation. Note that in general, this configuration may occur while previously specified operations (and the present operation) are executing substantially continuously. For example, in one embodiment, during said repeating, user input to one or more of the icons may be received for configuring one or more of the plurality of operations, where receiving user input for configuring one or more of the plurality of operations does not include receiving user input specifying programming language code to configure the operations. In other words, the user preferably does not have to manually program (using a programming language) to configure the operation.
For example, in one embodiment, for each operation to be configured, a graphical panel including one or more graphical user interface elements for setting properties of the operation may be displayed, and user input to the graphical panel received to set one or more properties of the operation. In other words, the user may invoke a configuration GUI for configuring the operation, e.g., by right-clicking on the operation's icon. In another embodiment, the configuration GUI may be displayed automatically, e.g., when the operation is originally specified, when another operation is associated with the operation, e.g., when a relationship between operations is specified or indicated, and so on.
In one embodiment, one or more operations may also be removed from the plurality of operations. For example, in one embodiment, user input may be received specifying removal of a first operation from the plurality of operations. In response to specifying the removal of the operation, the method may include: discontinuing performance of the first operation from the plurality of operations, discontinuing display of the first icon, removing information associated with the first operation from the set of stored information, and modifying one or more signals displayed in the graph, as needed.
Code Generation
As noted above, in one embodiment, the set of stored information may comprise a script or equivalent which is executable under the signal analysis function development environment to perform the signal analysis function. In another embodiment, where the method described above executes under the signal analysis function development environment, a program implementing the plurality of operations may be programmatically generated based on the set of stored information, as noted above in 510, where the program is executable outside of the signal analysis function development environment. In other words, once the information specifying or representing the set of operations is produced and/or stored, the method may include programmatically generating a corresponding program that may be executed outside the development environment. Thus, the generated program may be saved, exported to other systems, etc., and executed independently of the signal analysis function development environment. In a preferred embodiment, the generated program is a graphical program, such as a LabVIEW graphical program, although it should be noted that in other embodiments, the generated program may be text-based, e.g., C++, C, etc., and/or interpretable under a different execution environment, such as, for example, Visual Basic, etc.
As noted above, a graphical program preferably includes a plurality of interconnected graphical program nodes or icons that visually represent the functionality of the program, e.g., of the signal analysis function. The nodes may be interconnected in one or more of a data flow, control flow, or execution flow format. As also noted above, the graphical program may comprise a block diagram and may also include a user interface portion or front panel portion. Where the graphical program includes a user interface portion, the user may optionally assemble or modify the user interface on the display. As one example, the user may use the LabVIEW graphical programming development environment to modify or configure the graphical program.
In one embodiment, each icon of the plurality of icons may correspond to one or more nodes in a graphical programming development environment, e.g., in the LabVIEW graphical programming development environment. Thus, the iconic display mentioned above (the diagram or diagrams described above) may have a relatively straightforward mapping or correspondence with a graphical program, which, as noted above, may include a plurality of interconnected nodes that visually represent the functionality of the graphical program. Since there is a correspondence between the stored information and the icons, in one embodiment, the graphical program may be generated based on the set of stored information, where the graphical program comprises a plurality of interconnected nodes which visually indicate the signal analysis function, and where the graphical program is executable to perform the signal analysis function.
Similar to the removal of an operation described above, in one embodiment, user input specifying removal of a first operation from the plurality of operations may be received, in response to which a first operation may be removed from the plurality of operations. The one or more nodes corresponding to the first operation may then be removed from the graphical program in response to removing the first operation.
As described above, the method may be performed by or under a signal analysis function development environment. For example, a graphical user interface (GUI) may be displayed that provides access to a set of operations, and where receiving user input specifying the plurality of operations includes receiving the user input to the graphical user interface specifying the plurality of operations, where the plurality of operations are selected from the set of operations. For example, as mentioned above in 502, the user may specify the operation in any of a variety of ways, such as, for example, selecting the operation from a menu or palette provided by the GUI. Similar to above, in one embodiment, receiving the user input to the graphical user interface specifying the plurality of operations does not include receiving user input specifying programming language code to implement the plurality of operations. In other words, manual programming is preferably not required.
It should be noted that in some embodiments, the set of stored information representing or specifying the operations may include configuration information for the plurality of instruments to perform the signal analysis function. For example, the configuration information may include parameter values for software based instruments, such as a “soft-scope”, for hardware components of virtual instruments, e.g., a scope card, and/or for standalone hardware based instruments. Thus, when the stored information is executed, e.g., in the form of a script, the relevant software and/or hardware used by or for the operations may be configured programmatically prior to, or as part of, performance of the operations.
Similarly, in embodiments where an executable program, e.g., a graphical program, is generated (from the stored information), the program may include the configuration information, e.g., in the form of property or configuration nodes. When the program is executed, the appropriate software and/or hardware may be configured in accordance with the configuration information included in the program.
In one embodiment, if any of the software and/or hardware is not included in the system, an error message or equivalent may be presented to the user indicating the missing software and/or hardware, allowing the user to take the appropriate actions to ensure sure that the system is complete, i.e., that the needed resources are available and/or installed on the system.
Thus, in summary of the above, user input invoking each of a plurality of operations may be received, where the plurality of operations implement a signal analysis function, where for each respective instance of the user input invoking a respective operation, the respective operation is performed in response to the invoking, where the operation utilizes at least one of the plurality of instruments to perform the signal analysis function, displaying an icon in response to the invoking, where the icon corresponds to the respective operation and includes a graphical representation of the respective operation, and where the icon is displayed upon the respective invoking, and storing information specifying the operation. A graph may be displayed including one or more signals based on one or more of the plurality of operations (e.g., input signals and/or output signals). Additionally, the plurality of operations preferably utilize at least a first plurality of the plurality of instruments, where the plurality of instruments includes two or more virtual instruments.
Said another way, user input invoking each of a plurality of operations may be received, where the plurality of operations implement a signal analysis function. Each of the plurality of operations may be performed in response to respective ones of said invoking, where each operation is performed upon each said invoking, where the plurality of operations utilize at least a subset of the plurality of instruments to perform the signal analysis function, and where the plurality of instruments includes two or more virtual instruments. Each of a plurality of icons may be displayed in response to said invoking, where each icon corresponds to a respective one of the plurality of operations, and where each icon is displayed upon each said invoking. Information specifying the plurality of operations may be stored, and results of one or more of the plurality of operations displayed, where the results include one or more tables of data, and/or one or more graphs each comprising one or more signal plots.
Function Blocks (Signal Operations)
As noted above, in some embodiments, the icons and operations may comprise or be comprised in function blocks, where each function block provides a respective specified operation and is represented by a respective icon. A list of signal operations organized by function categories follows. Note that the operations presented are meant to be exemplary only, and are not intended to limit the operations to any particular set or domain. Examples of function blocks and their use are illustrated in
Create
Basic Function—Create a signal waveform such as sine tone, square wave or noise.
Multisine—Create a signal waveform composed of a number of sine tones. IO
Acquire Analog
Generate Analog
Generate Digital
Acquire Digital
Frequency Domain
Thus, in one embodiment, a plurality of function blocks, such as, for example, any of those listed above (or others), may be used in specifying and performing a signal analysis function utilizing a plurality of instruments. In a preferred embodiment, the plurality of instruments includes two or more virtual instruments (VIs), at least a portion of which may include respective hardware components, as mentioned above. Note that in some embodiments, one or more of the function blocks may be polymorphic, e.g., with respect to input signals. For example, a polymorphic function block may accommodate different data types of the input signal provided to the function block, e.g., arithmetic function blocks for addition, averaging, and so forth, may be operable to receive and operate on signal data in the time domain or the frequency domain.
In one embodiment, each function block may include: a function block icon operable to be displayed in a graphical user interface (GUI) of a signal analysis function development environment, where the function block icon visually indicates a respective signal operation, and a set of program instructions associated with the function icon, where the set of program instructions are executable to perform the respective signal operation, possibly in conjunction with associated hardware.
In one embodiment, each function block may be selectable from the plurality of function blocks by a user for inclusion in a set of function blocks, where each function block operates to perform the respective signal operation continuously upon being selected. For example, the user may select a first function block from a palette, menu, etc., in response to which the respective signal operation may be performed, preferably executing in a continuous manner until, for example, a stopping condition occurs or the user pauses or terminates the process. As described above, the user may then select one or more additional function blocks, which may similarly begin continuous respective operations in conjunction with the first function block.
In one embodiment, each function block may be operable to provide a respective output based on the respective signal operation, where the respective output is operable to be displayed in the GUI, provided as input to one or more other ones of the set of function blocks, and/or exported to an external device. In other words, each function block may generate a respective output that may be used as input to or by other function blocks in the set of function blocks, transmitted to an external device coupled to the host computer 82, and/or displayed in a display tool, such as a graph or table, in the GUI. Additionally, one or more of the function blocks may be operable to receive a respective input based on the respective signal operation, where the function block is operable to perform the respective signal operation on the input, e.g., on a signal and/or data, and provide the results as output.
In one embodiment, each function block may include an input and an output, where the input is operable to receive signals from one or more of: an external signal source, a file, and/or another function block, and where the output is operable to send resultant signals to one or more of: a display of the GUI, an external device, a file, and/or another, different, function block.
Once the user has selected the set of function blocks, the set of function blocks may be executable to perform the signal analysis function under the signal analysis function development environment using one or more of the plurality of instruments. For example, in an embodiment where each function block executes substantially continuously upon selection by the user, when the user is done selecting the function blocks, the signal analysis function (specified and implemented by the set of function blocks) is already being performed. As another example, the user may stop the current execution of the signal analysis function (which was, for example, initiated in steps via the function block selection process), then re-initiate performance of the signal analysis function, thereby invoking execution of the set of function blocks. In another embodiment, information specifying the respective signal operations of the set of function blocks may be saved, e.g., as a script, that may be executed as desired under the signal analysis function development environment.
In one embodiment, the set of function blocks may be displayed in a diagram, e.g., in a specified display area of the GUI. The diagram may include one or more of: a linear sequence, a data flow diagram, a tree diagram, and a dependency diagram, among other types of diagram. The diagram may substantially visually represent I/O relationships between the function blocks. For example, where output from a first function block is provided as input to a second function block, this relationship may be graphically represented in the diagram, e.g., via a data flow line from the first function block to the second function block, via I/O signal icons displayed in, on, or proximate to each function block icon, and/or by the relative positions of the function blocks, and so forth. In one embodiment, when the I/O relationships between the function blocks change, the diagram may be automatically updated in accordance with the changed I/O relationships between the function blocks. Thus, if a user changes an I/O relationship between function blocks, the diagram may be updated automatically to reflect the change. Examples of linear sequence function block diagrams are provided below with reference to FIGS. 6 and 8A-8I.
In one embodiment, the diagram may include one or more control structures, where the one or more control structures control execution of the set of function blocks. For example, the one or more control structures may include conditional branching and/or looping, which may determine control or execution flow for performance of the specified operations comprised in the signal analysis function, such control structures being well known in the art of software and script development and execution.
Thus, the diagram may comprise or visually represent a script (or equivalent) that is executable to perform the specified signal analysis function under the development environment. Said another way, the diagram may include information specifying the respective signal operations of the set of function blocks, where the information is executable to perform the signal analysis function under the signal analysis function development environment.
As described above in the Code Generation section, in one embodiment, the information specifying the respective signal operations of the set of function blocks may be useable to generate a program, where the program is executable to perform the signal analysis function independently of the signal analysis function development environment. In other words, in one embodiment, the signal analysis function development environment may be operable to automatically generate an executable program based on the information specifying the respective signal operations of the set of function blocks, where, in contrast to the diagram and/or script which executes under the environment, the generated program may be executed independently of the development environment. As described above, in various embodiments, the generated program may be a graphical program, such as a LabVIEW graphical program, a text based program, such as a C, C++, JAVA, or Basic program, and/or machine executable code.
In one embodiment, each of at least a subset of the plurality of function blocks may be operable to receive a signal (or signal data) from a signal source, perform the respective signal operation on the signal, and output a result of the respective signal operation for display in the GUI, storage, input to another one of the plurality of function blocks and/or export to an external device.
Additionally, in one embodiment, the set of program instructions for each function block may be further executable to: receive user input selecting the function block icon, display a configuration GUI for the function block, and receive user input to the configuration GUI setting one or more parameters of the function block, thereby configuring the function block, where the configured function block is operable to perform the signal operation in accordance with the one or more set parameters. In other words, each function block may include or be associated with software (program instructions) that implements a respective configuration GUI for that function block, and that also facilitates user invocation of the configuration GUI, e.g., by receiving user input to the function block (icon). For example, in one embodiment, the user may right-click on the function block icon, thereby invoking the configuration GUI. Alternatively, the user may provide input (e.g., click) on the function block icon to invoke a menu or pop-up dialog from which the configuration GUI itself may be invoked. In yet another embodiment, the initial user selection or specification of the function block may automatically invoke display of the function block's configuration GUI.
In one embodiment, each function block may have a default configuration, where, prior to configuring the function block, the function block is operable to perform the signal operation in accordance with the default configuration. In other words, parameters that specify or configure the signal operation of the function block may have default values such that even if the user does not explicitly configure the function block, the function block may still be operable to perform the respective signal operation based on the default values of the parameters. Of course, the user may override these default values as desired. It should be noted that the configuration parameters shown and described with regard to any of the function blocks presented herein are meant to be exemplary only, and are not intended to limit the parameters to any particular set or types of parameters.
In one embodiment, at least one of the plurality of function blocks may be a user-defined function block, where the set of program instructions of the user-defined function block are executable to perform a user-defined signal operation. In other words, at least one of the function blocks may include functionality that is defined or specified (as opposed to simply configured) by the user. For example, in one embodiment, the set of program instructions of the user-defined function block nay include a pre-defined program. The pre-defined program may have been developed by the user, by another developer, or may have been developed programmatically by another system. The user may provide input to the development environment and/or to the user-defined function block indicating the pre-defined program, thereby establishing a link between the user-defined function block and the pre-defined program, and/or including the pre-defined program in the function block. Thus, once the user-defined function block has been selected (and optionally configured), and the pre-defined program linked to or included in the function block, the pre-defined program may execute substantially continuously in conjunction with any previously selected function blocks, as described above.
As noted above, in a preferred embodiment, each function block may be operable to display respective icons for one or more input signals and/or one or more output signals for the function block. For each function block, the respective icons may include text and/or a graphical image indicating a respective signal for that function block.
In additional to indicating respective signals for the function block, these icons may also be used to manipulate, establish associations with, or otherwise manage the signals. For example, each icon of the function block may be selectable by a user to associate the respective signal with a display, i.e., a display tool, of the GUI, where in response to being associated with the display, the respective signal is displayed in the display of the GUI. In one embodiment, in being selectable by a user, each icon may be operable to be dragged and dropped onto the display of the GUI, resulting in display of the respective signal on the display of the GUI. Thus, in one embodiment, the user may drag and drop signals (e.g., signal icons) from function blocks onto the display to invoke graphical display of the signals.
Alternatively, or in addition to the above, each icon of the function block may be selectable by the user to associate the respective signal with a different function block of the set of function blocks, where in response to being associated with the different function block, the set of program instructions of the different function block performs the respective signal operation on the respective signal. For example, the user may drag and drop the signal icon onto the different function block, thereby configuring the different function block to receive the respective signal as input and to perform the respective signal operation on the respective signal. Thus, in one embodiment, each function block may be operable to receive user input indicating one or more input signals, where the function block is operable to perform the signal operation on the indicated one or more signals in response to the user input indicating one or more input signals, where, for example, the user input indicating one or more input signals includes the user dragging and dropping one or more signal icons onto the function block.
In an embodiment where the display of the GUI includes a graph (or other type of display tool) operable to display one or more signals, the user input indicating one or more input signals may include the user selecting at least one signal in the GUI display, and the user dragging and dropping a corresponding at least one signal icon from the graph onto the function block, where the at least one signal icon represents the at least one signal in the GUI display. Said another way, in one embodiment, signal icons may be displayed and accessed in the graphical display of the GUI, i.e., a display tool of the GUI, where the signal icons may be selected, e.g., via clicking with a mouse, and dragged and dropped onto the desired function block, whereupon the function block may be automatically configured to receive the indicated signal as input. The signal icons may be implemented or displayed in various forms. For example, in one embodiment, the signal icons displayed in the graph may be included in the legend of the graph, e.g., as a symbol, icon, or text label, where the user may select the signal by clicking on the icon in the legend. Alternatively, the signal icon may be displayed in response to the user clicking on the signal plot itself, e.g., in the form of a “pop-up” icon that may then be dragged and dropped on a function block as desired. In a further embodiment, the signal plot itself may be the signal icon, where the user may select the signal plot, then drag and drop the signal plot (i.e., an image of the signal plot) onto the targeted function block. Of course, this same technique may be used to move a signal from one graph to another, as well.
Thus, each signal icon may serve as a token, handle, or surrogate for a respective signal whereby the user may establish or modify relationships between the signal and elements of the system, e.g., function blocks, graphical or tabular displays, and so forth.
FIG. 6—Example GUI and Environment Overview
As
As shown, in one embodiment, the input and output signal icons for each function block may be displayed in a manner that indicates whether the signal is an input or an output for that block. For example, in the embodiment shown, the signal icons at the bottom of each function block each have a graphical “I/O” icon comprising a vertical line and a triangle, placed either to the upper left of the vertical line, indicating input, or to the lower right of the line, indicating output. Of course, other means of indicating whether a signal is an input or an output for the function block are also contemplated, such as, for example, using labels, e.g., “I” for input and “0” for output, grouping the signals for each block into an input group and an output group, and so forth.
The plurality of function blocks are preferably included in a function block diagram, where, as described above, a plurality of function block icons are arranged to visually indicate the signal analysis function. In other words, in one embodiment, a diagram including the function block icons of the specified operations is displayed, where the diagram visually indicates the functionality of the signal analysis function. In various embodiments, the diagram may be one or more of: a linear sequence, a data flow diagram, a tree diagram, and a dependency diagram. Note that in the embodiment of
It should also be noted, however, that although the diagram may be presented as a linear sequence, in some embodiments, the I/O relationships between the function blocks may not be linear. For example, non-linear data flow may be specified and indicated via input and output signal icons for the function blocks, as described above.
As
Note that in this example, the display area or window is tabbed for “Data Viewer” and “Step Setup”, where the graphical display shown is in the Data View mode, here displaying three different graphs, where the middle graph itself includes three signal plots. This mode may be used primarily during execution of the signal analysis function, specifically, to display resultant signals and/or data from one or more of the function block operations.
The Step Setup mode may be used primarily during configuration of the respective function blocks. More specifically, the Step Setup mode may operate to display configuration GUIs for the respective function blocks facilitating user configuration of the function blocks, i.e., the signal operations, as described in some detail above. Various examples of configuration GUIs are described below with reference to
FIGS. 7-8G—Signal Analysis Function Development Environment: Example Walk-Through
As
As
As mentioned above,
In the example shown in
As noted above, in some embodiments, the GUI may include an “Execute Continuously” button which may be selected to configure the environment to execute each operation in a substantially continuous manner upon selection of the operation by the user, and so initially the user may activate this feature by pressing the button.
The user may then invoke a configuration GUI for the Basic Function block, shown in the display section of the GUI, e.g., by right-clicking or double-clicking on the function block or otherwise invoking the configuration GUI for the Basic Function block. For example, the user may right-click on the function block to invoke an options menu for the function block, then select a “Configure” option (or equivalent) to invoke the configuration GUI.
In the embodiment shown, the configuration GUI for the Basic Function block includes a number of fields or controls for specifying the waveform to be output by the Basic Function block, e.g., signal type, here selected to be a “Sine Wave”, amplitude (1.00000), frequency (10 KHz), offset(V) (0.000), and phase(deg.) (0.000), provided in a “Basic Function Setup” section. Additional controls may be provided in a “Sampling Conditions” section for sample rate(Hz) (1 MHz) and block size(samples) (1000), as well as a check box for a “Reset at run” option. Note that in one embodiment, the configuration GUI may be tabbed as shown to provide a configuration panel (with the above controls) displayed by user selection of a “Configuration” tab, and an “Output Signals” panel (not shown selected) displayed by user selection of an “Output Signals” tab, which may be operable to indicate the current output signals of the function block, e.g., via name and/or icon. In this embodiment, the configuration GUI also includes a display area for displaying signals related to the selected function block, here shown displaying the specified sine output signal.
Note also that in this embodiment, two tabs are provided at the bottom of the display section, titled “Step Setup” and “Data View”, facilitating user selection between a configuration mode and a display mode, as described above with reference to
Once the Basic Function operation has been configured, the specified signal (sine wave) data may be generated, e.g. algorithmically or read from file. This signal data is output substantially continuously by the configured function block.
Turning now to
As
As
In the example shown, the graph section of the GUI (above the configuration section) may operate to display the generated signal, where the graph is labeled accordingly (“Generated Signal”). Thus, the GUI may provide means for configuring the operation, as well as for displaying the results of the specified configuration. In one embodiment, the GUI may automatically display the output signal or signals from the currently selected function block, such that when a new or different function block is selected, any previously displayed signal graph may be replaced or supplanted by the new or different signal graph. In another embodiment, each successive function block specification may result in the display of an additional signal graph. For example, each signal graph may be displayed in a separate window, where the windows may be tiled, cascaded, or otherwise organized for viewing by the user. Alternatively, the signal graphs may be displayed in a single window.
In one embodiment, a different graph may be used to display each basic type of signal. For example, time domain plots may be displayed in a first graph, while frequency domain plots may be displayed in a second graph. In one embodiment, tabular data may be displayed separately, e.g., in a different display window or section of the GUI.
In
Similar to the above described function block, in one embodiment, the function block may be configured in the following manner: The user may invoke an operations options menu from the “generated signal” plot above, e.g., by right-clicking in the signal area (or on the signal plot, legend, or signal icon, e.g., in the graph or on the function block), to invoke an options menu, and selecting an “Acquire Analog Signal with the Digitizer” option (or its equivalent), resulting in display of a configuration GUI for the SCOPE Acquire Signals function block. In the embodiment shown, the SCOPE Acquire Signals function block is configured to acquire the analog signal generated by the Arb described above.
As
As described above, the Output Signals panel (not shown) may be operable to indicate the current output signal(s) of the function block, e.g., via name and/or icon, i.e., “ChannelO”, in this case. Details of the Triggers and Timing panel are described below with reference to
Note that this Configuration GUI also includes a signal graph display of the acquired signals, here labeled “Acquired Signals”. Thus, the user may view the signal or signals acquired by the digitizer from the arbitrary waveform generator. As noted above, in one embodiment, multiple signals may be specified for display in the graph display area or window. For example, in one embodiment, the user may select and drag both signals “Channel0” and “basic function 1” to the graph display (the GUI's main graphical display in the “Data View” mode, as shown in
Note that the acquired signal “Channel0” of
In one embodiment, triggers and timing signals may be shared between boards (e.g., hardware components of the VIs) in the system, facilitating easy synchronization between devices and processes.
Similar to the SCOPE Acquire Signals function block example above, the SMIO Acquire Signal configuration GUI may provide one or more panels for configuring and displaying parameters regarding Configuration, Triggers and Timing, and Output Signals. As shown, in this example, the Configuration panel includes a Device field (set to Dev4: PXI-6115/ai), a Channel Configuration section with fields for Physical Channels (ai0), Input Range (ai0 max value (−0.5) and ai0 min value (−0.5)) and an a0 filter option (none), as well as an Acquisition Timing section whereby sampling specifications may be set, e.g., Acquire 1 or N Samples or Acquire Continuously, Samples to Read (2000), and Sample Rate(Hz) (200.00 k).
Other configuration panels, e.g., the Trigger and Timing panel and the Output Signals panel may provide access to other configuration parameters related to those areas of the respective signal operation, as described above. For example, in one embodiment, the user may configure the SMIO Acquire Signal function block (signal operation) to trigger based on a reference trigger from the SCOPE Acquire Signals hardware component, i.e., the Scope 710. The reference trigger may be a digital signal routed on the backplane of the PXI or PCI chassis. Thus, as noted above, timing and triggering signals may be shared between boards (e.g., hardware components of the VIs) in the system.
As
As the inclusion of the SMIO Acquire Signal function block in
While the above-described function blocks related to generation or acquisition of signals, other function blocks may be invoked and configured to perform analysis functions on the generated and/or acquired signals.
As
In this embodiment, the configuration GUI also includes a Measurement Results section that displays the computed results, i.e., a DC Value (51.6706 m) and an RMS Value (641.35 m), as well as controls for setting scaling values for the displayed results. Thus, in some embodiments, the configuration GUI may display both the input signal(s) and output(s) (results) for a function block. For example, if both the inputs and the outputs of a function block were signal waveforms, the configuration GUI may display both the input and the output signals in the graph display of the configuration GUI, either separately or together in a single graph as appropriate.
Note that in the Data View mode for the environment GUI, such scalar results are preferably displayed in tabular form, e.g., in the form of a spreadsheet, as opposed to a signal plot or graph.
As
As shown, the configuration GUI shown in
Note that in this example configuration GUI, three types of data displays are used: scalar data are displayed numerically in the Measurement Results section, the Exported Signal is displayed in a time-domain graph (top graph), and a Power Spectrum for the Exported Signal is displayed in a frequency-domain graph (bottom graph).
In a Data View mode of the environment GUI, these data may be displayed similarly, although the scalar data is preferably displayed in tabular form (instead of numeric fields), e.g., in the form of a spreadsheet-like scalar table. For example, as described above, in one embodiment, the user may drag signal icons for the exported signal (exported signal 1) and the exported spectrum (exported spectrum 1) from the Distortion function block onto the main display of the environment GUI, thereby invoking display of the two graphs, where the particular form of the graph may be dependent upon the signal type, e.g., time-domain vs. frequency domain. The user may also drag the distortion signal icon (distortion 1) from the Distortion function block onto the main display, invoking automatic generation and display of a spreadsheet-like scalar table for the scalar data. Thus, the particular form of the display for a specified signal or data may be automatically determined based on the signal or data type of the displayed information.
FIGS. 8H and 8I—Further Examples of Function Blocks
In the embodiment shown, alignment may be performed manually or automatically. For example, the manual approach may allow the user to adjust the offset and gain of the signals by selecting a point in the graph and moving the cursor. In contrast, the automatic method may use an algorithm and the expected type of waveform (e.g., impulse/step/periodic) to perform the alignment. In either case, the offset and gain values that result in a substantial alignment of the signals are preferably returned or displayed to the user.
As
As shown, in this embodiment, the GUI includes various tabbed configuration panels for specifying the signal alignment, including alignment conditions such as mode, shown set to “Manual”, and geometry parameters for setting gain and offsets for the signals to effect the alignment, which may be set using the spinner controls and/or check boxes shown. In one embodiment, the user may also modify the parameters directly by entering a numeric value. As
Thus, the Graph Align function block may be included in the function sequence, and configured to facilitate manual or automatic alignment of two or more signals, thereby providing further means for characterizing or analyzing signals.
Finally, the signal “resulting signal 1” is provide to a Limit Test function block (according to one embodiment), which performs a limit test on the signal, illustrated graphically in a graphical display of the GUI labeled “Limit Test”. As
As
Thus, various function blocks may be defined and used to perform any of a variety of analyses, operations, and tests, using embodiments of the systems and methods described herein.
FIG. 9—Data Flow Diagram for the System of
As
As
Note that as shown, the Scope Acquire function block 908 may also provide the acquired “analog” data 905 to the Measurement System Display 914 for graphical display of the data. In other words, in addition to providing the acquired data 905 as input to the two analysis function blocks 910 and 912, the Scope Acquire function block 908 also provides the data 905 to a visualization component of the GUI, i.e., a graph, for viewing by the user. It should be noted that this particular I/O relationship (between the Scope Acquire function block 908 and the Measurement System Display 914) is exemplary only, and that in alternate embodiments, the acquired data 905 may be processed first by one or more analysis function blocks, e.g., by one or both of the DC-RMS function block 910 and Distortion function block 912, and then provided to the Measurement System Display 914 for graphical presentation. In other words, rather than providing the acquired data 905 directly to the Measurement System Display 914, the Scope Acquire function block 908 may provide the acquired data 905 to one or more analysis function blocks, which may process or operate on the data and then provide the processed data to the Measurement System Display 914.
Thus, the system may perform a specified signal analysis function in accordance with I/O relationships specified by the user between user-specified function blocks, a UUT, and the GUI. It should be noted that more complex systems and processes may also be implemented, where, for example, a plurality of UUTs and/or a plurality of VIs and additional hardware devices, e.g., standalone instruments, may couple to a variety of function blocks, and where the system operates to perform a complex signal analysis function on one or more signals and graphically display one or more results.
It should be noted that in some embodiments, the details of the configuration GUI for a function block may change automatically based on the input and output signals for the block, or may be modified explicitly by the user. It should be further noted that in some embodiments, any of the function blocks may be added, removed, and/or modified at edit time and/or at runtime.
FIG. 10—Automatic Configuration of Function Blocks
In one embodiment of the present invention, input and/or output sources for a selected function block (signal operation) may be automatically selected by the system, e.g., based on heuristics or other rules. In other words, in embodiments where each signal operation is comprised in or associated with a respective function block, when a first function block is selected by the user that requires an input signal of a certain type, the system may attempt to programmatically determine a prior selected function block that provides as output a signal of that type, and may automatically assign that signal/function block as the input for the first function block.
As
Then, in 1004, prior operations input by the user may be programmatically analyzed to determine an input source for the first operation, where the input source provides a first input signal. In other words, operations that have already been specified previously by the user may be analyzed to find an operation that provides an output signal suitable for use as input to the first operation.
For example, in one embodiment, programmatically analyzing prior operations input by the user to determine an input source for the first operation may include programmatically analyzing the first operation to determine one or more appropriate signal types for the first operation, and determining a prior operation of the prior operations that provides an output signal of an appropriate signal type, where the appropriate signal type includes one of the determined one or more appropriate signal types for the first operation, where the prior operation includes the input source, and where the output signal includes the first input signal.
In some embodiments, the first operation may require a plurality of inputs, and so programmatically analyzing prior operations input by the user to determine an input source for the first operation may include programmatically analyzing the first operation to determine one or more inputs required for the first operation and respective data types of each of the one or more inputs, and determining one or more prior operations of the prior operations that provide respective output signals of the respective data types, where the one or more prior operations include the input source, and where the respective output signals include the first input signal.
In one embodiment, the method may also include assigning the output signal (or signals) of the appropriate signal type to the first operation as the first input signal. Said another way, once an output signal has been determined that is of the appropriate type, then the first operation may be configured to receive the determined output signal (or signals) as input.
As noted above, in one embodiment, the first operation may correspond to a first function block. In this case, programmatically analyzing the first operation to determine one or more appropriate signal types for the first operation may include querying the first function block to determine the one or more appropriate signal types for the first operation. Similarly, where the first operation requires a plurality of input signals, programmatically analyzing the first operation to determine one or more appropriate signal types for the first operation may also include querying the first function block to determine a number of inputs required for the first operation, and programmatically analyzing prior operations input by the user to determine a plurality of input sources for the first operation corresponding to the number of input signals required for the first operation.
In another embodiment, determining a prior operation of the prior operations that provides an output signal of the appropriate signal type may include querying a database to determine the prior operation that provides an output signal of the appropriate signal type, where the database includes information indicating respective output signal types of the prior operations. It should be noted that in various embodiments, the database may be stored and accessed on the host computer 82, or on a computer coupled to the host computer 82, e.g., over a network, such as, for example, the Internet.
In one embodiment, querying the database to determine the prior operation that provides an output signal of the appropriate signal type may include analyzing input/output (I/O) dependencies among the prior operations and the first operation, where the I/O dependencies indicate a proximity ordering of the prior operations with respect to the first operation, and then querying the database based on the proximity ordering of the prior operations, beginning with an initial prior operation that is closest to the first operation with respect to I/O dependencies, and ending as soon as a prior operation is found that provides an output signal of the appropriate signal type. In other words, the method may include analyzing the prior operations regarding input signal types and sources, and output signal types and sources for the prior operations and the first operation to determine an ordering of the operations (proximity ordering) based on the input and output dependencies of the operations, where, for example, each operation is considered adjacent to another if the output of one is the input of the other. Thus, in one embodiment, the proximity ordering may reflect or correspond to a breadth first traversal of a dependency graph (in a computer science theoretic sense) for the set of operations.
In an embodiment where the first operation requires a plurality of input signals, and where each of the plurality of input signals has a respective signal type, querying the database to determine the prior operation that provides an output signal of the appropriate signal type further may include, for each of the plurality of input signals, querying the database based on the proximity ordering of the prior operations, beginning with an initial prior operation that is closest to the first operation with respect to I/O dependencies, and ending as soon as a prior operation is found that provides an output signal of the appropriate signal type. In other words, the method may iterate through the plurality of input signals for the first operation, and for each input signal, analyze the prior operations according to the proximity ordering to determine the prior operation (if any) that produces an output signal of the same type as (or a type compatible with) the input signal.
In another embodiment where the first operation requires a plurality of input signals, and where each of the plurality of input signals has a respective signal type, querying the database to determine the prior operation that provides an output signal of the appropriate signal type may include iteratively querying the database regarding each of the prior operations to determine one or more prior operations that provide respective output signals of each of the respective signal types, based on the proximity ordering of the prior operations, beginning with an initial prior operation that is closest to the first operation with respect to I/O dependencies, and ending as soon as prior operations are found that provide respective output signals of the respective signal types or when there are no further prior operations to consider. In other words, the method may iterate over the prior operations according to the proximity ordering, querying the database regarding each operation and comparing the output signal (or signals) from the operation to determine whether the output signal is of the same as, or a compatible type with, any of the input signals of the first operation.
As noted, in a preferred embodiment, the method may stop searching for an input source for a particular input signal of the first operation as soon an input source is found that provides an output signal of the appropriate type.
Thus, an input source (or input sources) may be determined that provides signals suitable for input to the first operation.
In 1006, the first operation may be performed on the first input signal received from the input source, thereby producing an output signal. As mentioned above, in a preferred embodiment, the first operation may be performed in a substantially continuous manner, thus, the first operation may (in continuous fashion) process signals from the determine input source and generate corresponding output signals.
In response to performing the first operation in 1006, in one embodiment, the output signal may be displayed on a display, e.g., in a GUI displayed by a display device such as a computer monitor, as indicated in 1008. For example, as described above, the output signal may be displayed in the display section of the GUI as a signal plot or graph, as tabular data, e.g., in a spreadsheet type format, and/or via other information display means, such as, for example, software-implemented indicators, e.g., gauges, meters, digital displays, and so forth.
As indicated in 1010, the method may determine whether there are additional operations to be specified by the user, e.g., based on user input, and, if no further operations are to be specified, the method may terminate, as indicated in 1020. If the method determines that further operations are to be specified, then the method may continue with step 1002 and proceed as described above, where the programmatically analyzing, performing, and displaying may be performed for each of a plurality of first operations input by the user.
In one embodiment, if none of the prior operations provides an output signal of the appropriate type, the method may facilitate selection of a different operation by the user as a signal source for the first operation. For example, programmatically analyzing prior operations input by the user to determine an input source for the first operation may include programmatically analyzing the first operation to determine one or more appropriate signal types for the first operation, determining whether any prior operation of the prior operations provides an output signal of an appropriate signal type, where the appropriate signal type includes one of the determined one or more appropriate signal types for the first operation, and, if any prior operation of the prior operations provides an output signal of an appropriate signal type, assigning the output signal of the appropriate signal type to the first operation as the first input signal, as described above.
If no prior operations provide an output signal of an appropriate signal type, then one or more additional operations that provide an output signal of the appropriate signal type may be displayed, and additional user input received selecting an additional operation from the additional operations, where the additional operation includes the input source for the first operation, and where the output signal of the additional operation includes the first input signal. In other words, if a suitable prior operation cannot be found, additional operations may be presented to the user for selection, where the additional operations each preferably provide an output signal of the appropriate type for use as input to the first operation. Said another way, if no prior operation provides an output signal that is suitable for use as input by the first operation, the method may determine one or more other operations that provide a signal suitable for input to the first operation (e.g., that have not been previously included or selected by the user), and present these one or more other operations to the user for selection. For example, the one or more other operations may be presented in a palette, as options in a menu or dialog, or by any other means, as is well known in the art.
In a preferred embodiment, upon selection (by the user) of an additional operation, the method may further include programmatically analyzing prior operations input by the user to determine an input source for the additional operation, where the input source provides an additional input signal, and performing the additional operation on the additional input signal received from the input source, thereby producing an additional output signal. In other words, once the additional (the other) operation is selected by the user, the method may attempt to automatically determine an input signal source for the additional operation, as described above with respect to the first operation.
As mentioned above, in a preferred embodiment, the first operation and the prior operations each correspond to a respective function block. In one embodiment, the method may further include receiving user input modifying a configuration of a first function block, thereby changing input signal specifications for a corresponding operation, where original input signal specifications for the corresponding operation specify a first input signal type for the corresponding operation, and where the changed input signal specifications specify a second, different, input signal type for the corresponding operation. In other words, once one or more operations have been specified by the user, resulting in a corresponding one or more function blocks being displayed in the GUI (and the performance of the one or more operations), the user may provide input modifying one or more parameters for one of the function blocks, where the corresponding operation functions in accordance with the one or more parameters, and where the modified function block and corresponding operation require an input signal of the second, different, input signal type.
Prior operations input by the user may then be programmatically analyzed to determine an input source for the corresponding operation, where the input source provides the second input signal of the second, different, input signal type, and the corresponding operation performed on the second input signal received from the input source for the corresponding operation, thereby producing a corresponding output signal.
In one embodiment, the respective function blocks may be displayed in a diagram that visually represents I/O relationships between the function blocks, as described in some detail above. In one embodiment, when the I/O relationships between the function blocks change (e.g., as a result of modifying one or more of the function block/operation configurations, the addition or removal of an operation, etc.), the diagram may be automatically updated in accordance with the changed I/O relationships between the function blocks. For example, if the user modifies a function block/operation to receive a different type of input signal than was originally specified, and the method automatically determines an assigns a different input signal source (i.e., a different function block) than currently specified (replacing the original input source for that function block), the diagram may be automatically updated to reflect the new configuration of or I/O relationships between the function blocks.
The techniques described above with respect to input signals for the first operation or function block may also be applied with respect to output signals. For example, in an embodiment where the first operation and each of the prior operations corresponds to a respective function block, the method may also include receiving user input modifying a configuration of a first function block, thereby changing output signal specifications for a corresponding operation, where original output signal specifications for the corresponding operation specify a first output signal type for the corresponding operation, and where the changed output signal specifications specify a second, different, output signal type for the corresponding operation. The prior operations input by the user may be programmatically analyzed to determine one or more function blocks configured to receive an output signal of the first function block according to the original output signal specifications, and if the one or more function blocks are configurable to receive the output signal according to the changed output signal specifications, the one or more function blocks may be configured to receive the output signal according to the changed output signal specifications.
In one embodiment, if the one or more function blocks are not configurable to receive the output signal according to the changed output signal specifications, for each respective function block of the one or more function blocks, prior operations input by the user may be programmatically analyzed to determine an input source for the respective function block (e.g., to replace the original or current specified input signal), where the input source provides a respective input signal, and the corresponding operation of the respective function block performed on the respective input signal received from the input source, where said performing produces a respective output signal.
In other words, if a function block or operation is modified to output a different type of signal (instead of the type originally or previously specified), then any function blocks that are currently configured to receive an input signal of the original type may require a different input signal source to provide an input signal of the appropriate type (e.g., of the original type or of a type compatible with the original type), and so the prior operations may be analyzed to determine suitable input signal sources for the function blocks. Similar to the above, once the results of the modifications have been propagated through the function blocks, the function block diagram is preferably updated automatically to reflect any changes in the I/O relationships between the function blocks.
Thus, various embodiments of the systems and methods described above may operate to automatically determine input signal sources for selected function blocks or operations, thereby determining and/or modifying I/O relationships between the function blocks or operations, and optionally, to automatically update a function block diagram to reflect the I/O relationships.
FIGS. 11A-13E—Sweep Manager
In many signal analysis applications, e.g., device testing, values of one or more parameters may be varied during iterative performance of a function to characterize the UUT over a range of conditions, referred to as a parameter sweep or simply a sweep. For example, a signal analysis function may include one or more signal operations that may be specified for inclusion in a sweep, i.e., in a sweep loop.
In one embodiment, a GUI, e.g., the signal analysis function development environment GUI described above, may be provided that facilitates user specification of a sweep as part of a signal analysis function.
It should be noted that in various embodiments, some of the steps shown in
As
As
In 1104, the first operation may be programmatically or automatically included in a sweep loop. In other words, the operation corresponding to the selected parameter may be included in the sweep, such that when the signal analysis function is performed, the first operation may be executed in the sweep, where the first operation is performed iteratively as the parameter is varied. Note that the first operation may be included in the sweep loop programmatically because when the user indicates the parameter to be swept on in 1102, the system (e.g., the development environment) can determine the operation to which the parameter belongs or corresponds, and thus can automatically include the operation in the sweep loop.
In 1106, second user input specifying a sweep configuration for a sweep on the indicated parameter may be received. In other words, the user may provide input configuring the sweep, e.g., via one or more dialogs, wizard, etc. For example, in one embodiment, specifying the sweep configuration may include specifying one or more of: a range of values for the indicated parameter, a number of iterations for the sweep (i.e., the number of values of the parameter or data points used in the sweep), an interpolation type, a step size for the sweep on the indicated parameter, one or more specific values in the range of values for the parameter; and a source for at least a portion of the sweep configuration, e.g., a file or user input. Note that some of these configuration parameters are redundant, e.g., the step size may be computed from the range and the number of points or values of the parameters (increments), assuming equal increments in the value.
In one embodiment, the sweep values may be calculated based on the range provided by the user in 1106. However, in some cases, the user may wish to set or edit one or more of the calculated values “by hand”, i.e., manually. For example, if the sweep is over a parameter on a hardware device, it may be that one or more of the calculated values may not be valid for that device, i.e., may not be allowable values according to the specification of the device. Allowing the user to manually edit a value may obviate having the calculated values be coerced at runtime by the application (i.e., the signal analysis function). Thus, in one embodiment, the GUI may include an “Edit Individual Sweep Values” field whereby the user may indicate that individual parameter values in the parameter range are to be modified manually.
As
In one embodiment, specifying a sweep configuration may include specifying resultant data from the sweep. In other words, the user may specify output or results for the sweep, e.g., data that may be collected or accumulated and saved during the sweep, e.g., for each iteration of the sweep.
In the embodiment shown in
In the example of
Similarly, once the resultant data or output to be collected or accumulated over the sweep has been specified, the method may automatically determine the function block that owns that output (e.g., the DC-RMS function block), determine all the function blocks in the diagram upon which the DC-RMS function block depends (e.g., the Filter function block and the Basic Function function block), and automatically add those function blocks to the sweep loop. The method may then create another output to the sweep function block for the resultant data or output, enabling the user to specify further operations on or otherwise use the resultant data or output.
More generally, as described above, in a preferred embodiment, the signal analysis function may include a plurality of operations, where, for example, the first operation may have dependencies on one or more others of the plurality of operations. In one embodiment, one or more other operations of the plurality of operations may be determined for inclusion in the sweep loop, where performing the sweep on the indicated parameter further includes performing the one or more other operations (included in the sweep loop). In one embodiment, determining the one or more other operations of the plurality of operations for inclusion in the sweep loop may include receiving third user input indicating the one or more other operations of the plurality of operations for inclusion in the sweep loop, and programmatically including the one or more other operations in the sweep loop.
Similar to the heuristic technique described above regarding the programmatic determination of signal sources for a function block, in one embodiment, determining the one or more other operations of the plurality of operations for inclusion in the sweep loop may include programmatically analyzing dependencies among prior operations and the first operation to determine the one or more other operations, where the first operation has a dependency on at least one of the one or more other operations, and programmatically including the one or more other operations in the sweep loop.
Thus, in one embodiment, the signal analysis operation may include a plurality of operations, including the first operation, where each of the plurality of operations corresponds to a respective function block, and where the corresponding function blocks for the plurality of operations may be displayed in a diagram that visually represents I/O relationships between the function blocks. As noted above, in a preferred embodiment, the configured sweep corresponds to a sweep function block, and the sweep function block is displayed in the diagram substantially indicating which of the corresponding function blocks are included in the sweep. In a preferred embodiment, the method may include graphically indicating in the diagram which of the corresponding function blocks are included in the sweep. For example, note that in the embodiment shown, the sweep function block is placed in the diagram at the beginning of the function blocks included in the sweep loop, and that the diagram also includes a graphical loop indicator drawn around the included function blocks, indicating the function blocks to be included in the sweep.
In various embodiments, the user may specify a single parameter sweep, a parallel sweep, and/or a nested sweep, i.e., a sweep within a sweep. A single parameter sweep is simply a sweep over a single parameter, as described above. A parallel sweep, also referred to as a diagonal sweep, refers to a sweep in which multiple parameters are varied in parallel (where the numbers of points for each parameter are preferably equal), i.e., all of the swept parameters are varied in tandem. It should be noted that a parallel sweep may involve multiple parameters from a single function block, single parameters from a plurality of function blocks, or a combination of the two. Similarly, multiple outputs (resultant data) may also be specified, i.e., a plurality of outputs may be collected over the same sweep run. A nested sweep involves multiple sweeps in a hierarchy, where the sweeps may be single parameter sweeps and/or parallel sweeps. Note that in one embodiment, in the case of nested sweeps, multiple sweep blocks may be included in the diagram, e.g., a respective sweep block per sweep.
Thus, receiving first user input indicating the parameter for the first operation further may include receiving further first user input indicating one or more additional parameters for the first operation, where the parameter and the one or more additional parameters include a plurality of parameters. Similarly, receiving the second user input specifying a sweep configuration for a sweep on the indicated parameter may further include specifying the sweep configuration for a sweep on the indicated one or more additional parameters. In one embodiment, the user may enter additional first user input specifying additional operations to be included in the sweep, e.g., in an iterative manner, where one or more parameters for each additional operation are specified as described above, and where a sweep configuration is further specified regarding the parameters.
In one embodiment, information specifying the plurality of operations included in the signal analysis function may be stored, where the information specifying the plurality of operations is executable in the signal analysis function development environment to perform the signal analysis function. For example, the information may include a script or equivalent that may be executed in the development environment. In another embodiment, a graphical program implementing the signal analysis function may be programmatically generated based on the stored information, where the graphical program is executable to perform the signal analysis function, i.e. independent of the development environment, as described in detail above.
In 1108, the sweep may be performed on the indicated parameter in accordance with the sweep configuration, thereby generating resultant data for the sweep. The resultant data from the sweep may be any type of data that relates to the signals being generated, acquired, and/or analyzed, examples of which are described above. For example, in various embodiments, the resultant data may include signal data in the form of a signal plot, tabular data, and so forth.
In one embodiment, where the GUI includes a sweep configuration dialog corresponding to the sweep configuration, and where the configuration dialog includes one or more GUI elements indicating the sweep configuration, the method may also include receiving third user input to the configuration dialog modifying the sweep configuration, thereby generating a modified sweep configuration. In other words, once the above sweep configuration has been performed, the user may be presented with a panel, dialog, etc., that includes one or more GUI elements displaying the sweep configuration, and which may operate to receive further user input modifying the configuration. Performing the sweep on the indicated parameter in accordance with the sweep configuration may then include performing the sweep on the indicated parameter in accordance with the modified sweep configuration.
In one embodiment, the sweep configuration dialog (or equivalent) may be invoked or displayed during run-time, i.e., while the sweep is being performed. In other words, in one embodiment, the sweep configuration may be modified during the sweep, i.e., dynamically, such that the remainder of the sweep is performed in accordance with the modified sweep configuration.
As described above, in some embodiments, the user may further configure the sweep to be performed on one or more additional parameters, e.g., in parallel and/or nested sweeps, and so performing the sweep on the indicated parameter in accordance with the sweep configuration may further include performing the sweep on the indicated one or more additional parameters. For example, the sweep configuration may specify a parallel sweep of at least a first subset of the plurality of parameters, and/or a nested sweep of at least a second subset of the plurality of parameters.
Finally, in 1110, the resultant data for the sweep may be stored, and as
Thus, in various embodiments, a Graphical User Interface (GUI) may be displayed on the display, where receiving the first input and receiving the second input may include receiving the first and second inputs to the GUI. As described above, in one embodiment, the GUI includes a wizard, e.g., a sweep wizard, where displaying the GUI may include displaying a sequence of dialogs to interactively guide the user in specifying the sweep. As also described above, in one embodiment, the GUI may include one or more configuration dialogs corresponding to the first operation, whereby the user may specify the sweep. In a preferred embodiment, the GUI may be included in a signal analysis function development environment, such as described herein.
Thus, the method may include displaying the GUI on the display, receiving the first and second inputs to the GUI, and displaying the resultant data for the sweep in the GUI.
As
In 1114, the first operation may be performed using the current sweep value of the parameter, thereby generating corresponding resultant data, and the corresponding resultant data stored, as indicated in 1116. In one embodiment, the corresponding resultant data may also be displayed in the GUI, e.g., in a graph or table, e.g., as the data are generated.
The above steps may then be repeated in accordance with the sweep configuration. In other words, the providing a next sweep value, the performing the first operation using the current sweep value of the parameter, and the storing the corresponding resultant data may be performed in an iterative manner in accordance with the sweep configuration, as indicated in 1118, where after each iteration, the method may determine whether there are further iterations to perform, i.e., whether there are further sweep values of the parameter that have not been used, and if so, the method may continue with step 1112, and proceed as described above until there are no further sweep values to process, i.e., until a stopping condition specified in the sweep configuration obtains, in which case the method may terminate, as indicated in 1120.
In one embodiment, performing the sweep on the indicated parameter in accordance with the sweep configuration may include batch computing each of the sweep values in accordance with the sweep configuration prior to the repeating. In other words, before the iterative process begins, all of the sweep values may be computed. Then, at the beginning of each iteration, the next (successive) value may be provided to the first operation. Alternatively, in another embodiment, providing the next sweep value of the parameter to the first operation as a current value of the parameter for the first operation (step 1112 above) may include computing the next sweep value in accordance with the sweep configuration. In other words, each sweep value may be calculated as needed in the iterative process, i.e., “on the fly”.
Thus, performing the sweep on the indicated parameter in accordance with the sweep configuration may include iteratively performing the first operation, where at each iteration the first operation is performed using a respective value of the parameter, and where at each iteration corresponding resultant data are generated. In one embodiment, performing the first operation may include performing the first operation using a hardware device, where iteratively performing the first operation may include triggering the hardware device at each iteration.
For example, an arbitrary waveform generator (hardware device) may be triggered each iteration to provide a stimulus signal to a filter, where the parameters determining the filtering attributes are varied for each iteration, and a corresponding output waveform generated (for each iteration). The output waveforms may all be plotted on a graph, e.g., overlaid on a 2D plot, or presented in a 3D graph, where the succession of waveforms generated by the sweep form a surface. In one embodiment, the resultant data for each iteration of the sweep may be displayed in real-time, i.e., as it is generated, such that an animated display of results is presented to the user as the sweep executes.
Thus, various embodiments of the systems and methods described herein may facilitate rapid (and relatively easy) specification and performance of sweeps in a signal analysis function, where the sweep may be over single parameter and/or multiple parameters, and where the sweep may be a parallel sweep, a nested sweep, or a combination of both.
FIGS. 14-15F—Automatic Signal Display
In one embodiment, the graphical display of the GUI of the signal analysis function development environment may include additional functionality. For example, many applications may use or manipulate multiple types of data, e.g., time-domain waveforms, frequency-domain waveforms, digital-domain waveforms, xy-pairs, and scalars, among others, and there may be different ways of viewing these different data types, e.g., different display tools. For example, a time-domain waveform typically cannot be viewed on the same graph as a frequency-domain waveform. Note that as used herein, the term “display tool” may refer to any type of graphical display tool, i.e., graph, table, chart, and so forth. Note also that as used herein, the data displayed in such display tools may be referred to as “signals” or “signal data”. Whatever the data type or the display tool, it would be desirable for a user to have the capability to view and interact with different types of data without having to manually distinguish one data type from another.
Thus, in one embodiment, various display tools may be provided for displaying a plurality of data types to the user, e.g., via graphs, tables or other formats, as needed. Thus, in one embodiment, display tools, e.g., graphs and tables, such as included in some embodiments of the signal analysis function development environment described herein, may automatically distinguish between different data types and may present the data in a manner commensurate with the data's type. For example, when display of a signal is requested, e.g., by the application or by the user, the burden of choice among display types may be removed from the user and the appropriate display tool created or selected automatically by the application to view the signal. In one embodiment, exceptions to this automatic functionality may be handled manually, e.g., by the user.
As
In one embodiment, the default display tool may be displayed in response to user input, e.g., invoking generic data display functionality in the application. In a preferred embodiment, the application may launch with the default display tool visible.
In 1404, first user input may be received requesting display of a first signal. The user input may be received in a variety of ways. For example, in a preferred embodiment, the user may “drag and drop” a signal icon corresponding to the first signal onto the default graph, as described earlier. In another embodiment, the user may right-click on the signal icon to invoke various options related to the signal, and may select a “display” option or equivalent. In yet another embodiment, the user may right-click on the default graph to invoke a list or menu of signals from which the first signal may be selected. Other means of requesting display of the first signal are also contemplated.
In 1406, the first signal may be programmatically analyzed in response to the first user input. In a preferred embodiment, the first signal may be programmatically analyzed to determine a data type of the first signal. Note that as used herein, the term “data type” may refer to broad signal types, such as time-domain data (values vs. time), frequency domain data (values vs. frequency), and spatial-domain data (x vs. y), and may also refer to programming data types, such as, for example, integer, floating point, and Boolean data, including arrays or vectors of such data, among others. In one embodiment, user-defined data types may also be accommodated. For example, the user may define various “custom” data types, and may also specify or provide respective display tools for displaying data of these user-defined types.
In 1408, a display tool operable to display the first signal may be programmatically determined based on the analysis performed in 1406. In a preferred embodiment, the display tool may be determined based on the data type of the first signal. For example, in one embodiment, programmatically determining the display tool based on the determined data type may include performing a table look-up based on the determined data type to determine the display tool. In other words, the method may use the determined data type for the first signal to lookup a suitable display tool, i.e., a display tool suitable for displaying signal data of the determined data type.
The first signal may then be displayed in the display tool. Depending upon the data type of the first signal, and the type of the default display tool, the display of the first signal may be performed in different ways. For example, as
If the determined display tool of 1408 is not the default display tool, then in 1412, the default display tool may be replaced with the determined display tool, and the first signal displayed in the determined display tool, as indicated in 1414. In other words, if the determined data type is not compatible with the default data type, a replacement display tool operable to display signals of the determined data type may be determined, the default display tool replaced with the determined (replacement) display tool, and the first signal displayed in the determined (replacement) display tool. In one embodiment, determining the replacement display tool may include creating the replacement display tool. In other words, the type of display tool may be determined based on the analysis of 1406 (e.g., by table lookup), and the display tool programmatically created, e.g., based on a pre-defined specification for that display tool type.
As noted above, in a preferred embodiment, the first signal comprises signal data. Thus, depending upon the type of the signal data, the determined display tool may vary. For example, in an embodiment where the signal data comprise signal plot data, the display tool preferably includes a graph. Note that depending upon the data, the graph may be a 2D graph, a 3D graph, or any other type of graph suitable for displaying the data. In an embodiment where the signal data comprise tabular data, the display tool preferably comprises a table. In cases where the signal data comprises neither plot data or tabular data, the determined display tool may include an indicator operable to display the signal data. For example, if the signal data is a Boolean, a simple Boolean indicator, such as an “LED” type indicator, may be used to present the data (or datum). In cases where the data type of the signal is a user-defined type, user-defined or user-specified display tools may be provided and used as needed.
As noted above, in a preferred embodiment, the method of
In some cases, when the user requests display of the signal, there may already be a display tool displayed in the GUI, where the display tool displays one or more prior signals. For example, the method may include displaying a first display tool prior to receiving the first user input (of 1402), where the first display tool displays a prior signal of a first data type. In one embodiment, programmatically determining the display tool may include: if the determined data type is compatible with the first data type, determining that the first display tool comprises the display tool, and if the determined data type is not compatible with the default data type, determining a second display tool operable to display signals of the determined data type. Thus, displaying the first signal in the display tool may include: if the determined data type is compatible with the first data type, displaying the first signal in the first display tool with the prior signal, and if the determined data type is not compatible with the first data type, displaying the second display tool, and displaying the first signal in the second display tool.
As indicated above, in one embodiment, receiving the first user input requesting display of the first signal may include the user dragging and dropping a signal icon corresponding to the first signal onto the first display tool. As also indicated above, in one embodiment, determining the second display tool may include creating the second display tool.
The above situation may be extended to multiple prior signal displays, where for example, in one embodiment, a plurality of display tools may be displayed prior to receiving the first user input, where the plurality of display tools correspond respectively to a plurality of data types, and where each display tool displays one or more respective signals of a respective data type of the plurality of data types. Programmatically determining the display tool may thus include programmatically determining if the plurality of display tools comprises a matching display tool operable to display signals of a data type compatible with the determined data type, and if the plurality of display tools comprises a matching display tool, determining that the matching display tool comprises the display tool, and if the plurality of display tools does not include a matching display tool, determining a second display tool operable to display signals of the determined data type, wherein the second display tool comprises the display tool.
Similarly, displaying the first signal in the display tool may include: if the plurality of display tools comprises a matching display tool, displaying the first signal in the matching display tool, and if the plurality of display tools does not comprise a matching display tool, displaying the second display tool, and displaying the first signal in the second display tool.
Thus, in one embodiment, the method described above with reference to
Since a new display tool is not automatically determined (or optionally created) unless a type conflict is generated by a user requesting display of a signal on an incompatible display tool, a manual way of adding a display tool within the application may be provided.
In one embodiment, the user may manually request a display tool. For example, in one embodiment, once the first signal is displayed (in 1410 or 1414), second user input requesting display of a new display tool may be received. A default display tool may be displayed in response to the second user input, where the default display tool is operable to display signal data of a default data type, as described above.
Third user input requesting display of a second signal may then be received, e.g., by dragging and dropping a signal icon onto the default display tool. The second signal may be programmatically analyzed in response to the third user input to determine a data type of the second signal, and if the determined data type of the second signal is compatible with the default data type, the second signal may be displayed in the default display tool (as described above). If, on the other hand, the determined data type is not compatible with the default data type, the default display tool may be replaced with a replacement display tool operable to display the second signal (as also described above) and the second signal displayed in the replacement display tool.
Thus, in the event that the default display tool (or any prior display tool) is already displaying signals of a different type than currently requested, no replacement may take place, but an additional display tool may be displayed (and optionally created) of the appropriate type, and the requested signal displayed therein. Said another way, upon requesting a new display tool, a new instance of the default display tool may be determined and provided (and optionally created). If the user requests display of an incompatible signal, e.g., places an incompatible data type on the new unused default display tool instance, the application may automatically replace it with the appropriate display tool instance. It is important to note that multiple signals may be viewed on the same graph, as long as the types of the signals are compatible.
Thus, various embodiments of the system and method described above may facilitate automatic presentation of signal data in an appropriate display tool, e.g., a graph, table, indicator, or other type of display tool, based on the signal data, e.g., based on the data type of the signal.
FIGS. 16A-17G—Soft Front Panel
In one embodiment, the GUI may include a soft front panel (SFP), where the soft front panel provides or includes an interface for a respective hardware device, e.g., a hardware board, and where the soft front panel emulates a front panel for the device. For example, if the device or board is a Digital Multi-Meter (DMM), the soft front panel preferably emulates the front panel (i.e., a physical front panel) of the DMM. In one embodiment, a soft front panel may be provided for each of a plurality of interactive virtual instrument (IVI) classes, e.g., for DAQ boards, DMMs, oscilloscopes, etc. Thus, the GUI may present an interface to the user that substantially replicates the functionality and appearance of a hardware front panel, where the user may select or invoke various operations, e.g., signal analysis operations, via controls presented on the soft front panel, where information specifying the selected or invoked operations may be stored, as described above.
Architecture
As
In the embodiment shown, the driver software may couple to or communicate with instrumentation hardware, such driver functionality being well known in the art. For example, a driver for a soft scope may communicate with a scope hardware board coupled to or included in the host computer system 82 to control or operate the scope.
Thus, in one embodiment, at the core of each virtual interactive instrument, a dynamic link library may encapsulate the functionality of the target IVI instrument class, where additional modular software components, e.g., layered over the DLL software, may provide common generic functionality. In one embodiment, the DLL may be accessed and utilized by various different related systems and products.
For example, in one embodiment, the VII DLL may be called from an executable through an exported “VIIADisplaySPF” method (or equivalent), which may in turn display the SFP to the user. The user may then interact via the SFP to drive the corresponding instrument.
In another embodiment, the VII DLL may be encapsulated or wrapped in a graphical program node, such as an Express VI block, as provided in the LabVIEW graphical program development environment, where functionality of the DLL may be invoked or executed via the node, e.g., by including and executing the node in a graphical program. For further information regarding Express blocks, please see U.S. patent application Ser. No. 09/886,496, titled “System and Method for Programmatically Creating Graphical Program Code in a Graphical Program”, filed Jun. 20, 2001, which was incorporated by reference above.
In yet another embodiment, the VII DLL may be invoked from (or included in) another tool, such as, for example, National Instruments' TestStand product, where the VII DLL may be implemented within a Step Type. In this example, under step edit conditions, the SFP may be displayed for interactive instrument configuration. Then, when the step executes under a TestStand execution, a “VIIAExecution” method (or equivalent) may be called, passing in previously defined data contained within the step from the instrument's SFP.
Note that these are but exemplary embodiments, and are not intended to limit the implementation, invocation, or use of the VII DLL (or equivalent) to any particular system or approach.
Exported Methods
In one embodiment, the VII DLL may export various methods for use by external systems or processes. For example, in one embodiment, the VII DLL may export a “DisplaySFP” method and an “Execution” method, e.g., “VIIA-<class instrument name>-DisplaySFP” and “VIIA-<class instrument name>-Execution”, where the <class instrument name> refers to the name of the particular virtual interactive instrument being used. Note that “VIIA” refers to Virtual Interactive Instrument Architecture.
For example, the DisplaySFP method may be called by an external application, where the method may display the SFP for the relevant instrument class, and set the SFP controls/labels to values contained within the method's parameter list. The user may then interactively configure the instrument and execute the settings, e.g., by clicking on a “RUN” command (or equivalent), which may in turn call the Execution method, passing in any required information.
In one embodiment, the parameter list for the method may include software pointers to structures for each functional component of the VII architecture. In one embodiment, the pointers/structures may be defined or designated as specific data types, e.g., via a typedef mechanism, as is well known in the art of programming. In one embodiment, the typedef may be a “strict typedef”, where not only the data type of generated structures of the respective “strict” data type are the same, but all aspects of the structures are the same, e.g., appearance, etc. Such a parameter list may facilitate passing configuration settings from the SFP to the calling application.
Examples of parameter structure headings may include, for example, IVI attributes to support configuration of the corresponding instrument, switch executive attributes, maths (analysis) attributes, and limits/masks attributes, among others.
In one embodiment, the Execution method may be called by an external application. Internally, the method may interrogate data contained within the structures in the parameter list and execute methods of internal components in a predefined manner.
Below the primary display of the SFP is shown a plurality of tabbed configuration panels for configuration and display of various parameters of or for the DMM, where in this example, the configuration panels include a base class panel labeled “DMM”, an Extensions panel, an Extra Settings panel, a Maths or Analysis panel, and a Limit panel. Directly above these panels are ring controls for selecting a device (labeled “Device”) and for setting data resolution (labeled “Resolution”). To the right of the tabbed configuration panels is a tabbed set of operational panels, including a DMM Execution panel with RUN, Abort, and Sw Trigger buttons, and a Switching panel (described below with reference to
In this example, the IVI base class configuration panel may allow the user to select the measurement resolution, function, range and the IVI compliant DMM from the Device ring control and click the “RUN” Button contained with the DMM Execution panel, thereby instigating the configured operation (e.g., measurement) utilizing the underling Virtual Interactive Instrument Execution method, described above. The returned (measurement) data may then be displayed within the digital display of the SFP.
Thus, in one embodiment, the GUI for the signal analysis function development environment may include one or more SFPs for user interaction with corresponding instruments or devices. For example, in an alternative embodiment of the method of
In one embodiment, one or more of the operations of the signal analysis function may be associated with a respective control in the GUI, where the one or more operations are invocable via user input to the respective control. In other words, one or more signal operations may be grouped together, associated with a GUI control, and then invoked (as a group) via user selection or activation of the GUI control. Thus, in one embodiment, receiving user input specifying an operation may include receiving user input to the respective control for the operation, thereby invoking the one or more operations.
In one embodiment, an interface may be implemented for an instrument, e.g., for signal analysis in the following manner:
A soft front panel may be displayed, where, as noted above, the soft front panel comprises an interface for a respective hardware device, e.g., a hardware board, where the soft front panel emulates a front panel for the hardware device, and where the soft front panel comprises a first plurality of controls for invoking respective signal operations, and where the first plurality of controls substantially corresponds to a respective plurality of physical controls for the hardware device.
User input to one of the first plurality of controls may be received specifying an operation, where the operation implements at least a portion of a signal analysis function. Information specifying the operation may be stored, and the operation performed utilizing the instrument, thereby generating resultant data. In one embodiment, the resultant data may then be displayed in the soft front panel.
In one embodiment, displaying the soft front panel may include displaying a Graphical User Interface (GUI), wherein the GUI includes the soft front panel. The GUI may also include a second plurality of controls, where each of the second plurality of controls is operable to be associated with a respective one or more operations, and where the respective one or more operations are invocable via the associated one of the second plurality of controls.
In one embodiment, user input indicating a pre-defined graphical program may be received, wherein the pre-defined graphical program implements a first operation. The pre-defined graphical program may be associated with a first control of the second plurality of controls in the GUI, wherein the first operation is invocable via user input to the first control. In a preferred embodiment, said associating is performed in response to user input indicating an association between the pre-defined graphical program and the first control. In one embodiment, the pre-defined graphical program may be displayed in the GUI.
In another embodiment, the one or more operations of the signal analysis function may be associated with a first respective control of the second plurality of controls, where the one or more operations are invocable via user input to the first respective control.
Thus, various embodiments of the system and method may provide an interface for one or more instruments where the interface substantially replicates the front panel of a hardware instrument.
Although the embodiments above have been described in considerable detail, numerous variations and modifications will become apparent to those skilled in the art once the above disclosure is fully appreciated. It is intended that the following claims be interpreted to embrace all such variations and modifications.
This application claims benefit of priority of U.S. provisional application Ser. No. 60/495,478, titled “Mixed Signal Workbench”, filed Aug. 15, 2003, and whose inventors were Michael L. Santori, J. Clinton Fletcher, Alain G. Moriat, Philippe G. Joffrain, Christophe A. Restat, Christopher G. Cifra, John A. Pasquarette, and Richard Keene. This application also claims benefit of priority of U.S. provisional application Ser. No. 60/496,318, titled “A Mixed Signal Analysis System and Method of Use”, filed Aug. 19, 2003, and whose inventors were Michael L. Santori, J. Clinton Fletcher, Alain G. Moriat, Philippe G. Joffrain, Christophe A. Restat, Christopher G. Cifra, John A. Pasquarette, and Richard Keene.
Number | Name | Date | Kind |
---|---|---|---|
4570217 | Allen et al. | Feb 1986 | A |
4831580 | Yamada | May 1989 | A |
4849880 | Bhaskar et al. | Jul 1989 | A |
5005119 | Rumbaugh et al. | Apr 1991 | A |
5309556 | Sismilich | May 1994 | A |
5371851 | Pieper et al. | Dec 1994 | A |
5479643 | Bhaskar et al. | Dec 1995 | A |
5481712 | Silver et al. | Jan 1996 | A |
5657221 | Warman et al. | Aug 1997 | A |
5911070 | Solton et al. | Jun 1999 | A |
5940296 | Meyer | Aug 1999 | A |
6061602 | Meyer | May 2000 | A |
6064409 | Thomsen et al. | May 2000 | A |
6167562 | Kaneko | Dec 2000 | A |
6226783 | Limondin et al. | May 2001 | B1 |
6288474 | Ono et al. | Sep 2001 | B1 |
6298474 | Blowers et al. | Oct 2001 | B1 |
6408429 | Marrion, Jr. et al. | Jun 2002 | B1 |
6637022 | Weeren et al. | Oct 2003 | B1 |
6763515 | Vazquez et al. | Jul 2004 | B1 |
6839727 | Kechriotis | Jan 2005 | B2 |
7000190 | Kudukoli et al. | Feb 2006 | B2 |
20020126151 | Chandhoke et al. | Sep 2002 | A1 |
20020129333 | Chandhoke et al. | Sep 2002 | A1 |
20020186245 | Chandhoke et al. | Dec 2002 | A1 |
20020191023 | Chandhoke et al. | Dec 2002 | A1 |
20030043175 | Vazquez et al. | Mar 2003 | A1 |
20030227483 | Schultz et al. | Dec 2003 | A1 |
20040221238 | Cifra et al. | Nov 2004 | A1 |
Number | Date | Country |
---|---|---|
0474752 | Dec 2000 | EP |
Number | Date | Country | |
---|---|---|---|
20050039160 A1 | Feb 2005 | US |
Number | Date | Country | |
---|---|---|---|
60495478 | Aug 2003 | US | |
60496318 | Aug 2003 | US |