US7701869B2 - Generating a data flow diagram - Google Patents
Generating a data flow diagram Download PDFInfo
- Publication number
- US7701869B2 US7701869B2 US11/780,533 US78053307A US7701869B2 US 7701869 B2 US7701869 B2 US 7701869B2 US 78053307 A US78053307 A US 78053307A US 7701869 B2 US7701869 B2 US 7701869B2
- Authority
- US
- United States
- Prior art keywords
- data flow
- input bound
- bound data
- diagram
- input
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active, expires
Links
- 238000010586 diagram Methods 0.000 title claims abstract description 634
- 238000000034 method Methods 0.000 claims abstract description 94
- 238000000638 solvent extraction Methods 0.000 claims abstract description 47
- 238000005192 partition Methods 0.000 claims description 29
- 230000004044 response Effects 0.000 claims description 12
- 238000004088 simulation Methods 0.000 description 185
- 238000006243 chemical reaction Methods 0.000 description 29
- 230000006870 function Effects 0.000 description 21
- 230000008569 process Effects 0.000 description 20
- 238000005259 measurement Methods 0.000 description 16
- 238000012360 testing method Methods 0.000 description 14
- 238000012545 processing Methods 0.000 description 13
- 238000004422 calculation algorithm Methods 0.000 description 12
- 230000006399 behavior Effects 0.000 description 10
- 238000004458 analytical method Methods 0.000 description 9
- 230000001419 dependent effect Effects 0.000 description 7
- 238000011161 development Methods 0.000 description 7
- 230000001360 synchronised effect Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- 238000013507 mapping Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000007792 addition Methods 0.000 description 4
- 238000013459 approach Methods 0.000 description 3
- 238000004886 process control Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000003750 conditioning effect Effects 0.000 description 2
- 238000000354 decomposition reaction Methods 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 238000013515 script Methods 0.000 description 2
- 241001289717 Hypolimnas Species 0.000 description 1
- 102000055788 SPARC family Human genes 0.000 description 1
- 108700015859 SPARC family Proteins 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010304 firing Methods 0.000 description 1
- 238000010348 incorporation Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3698—Environments for analysis, debugging or testing of software
Definitions
- the present invention relates to the field of graphical programming and more particularly to the generation of input bound data flow diagrams from non-input bound data flow diagrams.
- 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.
- 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.
- 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.
- 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.
- graphical programming has become a powerful tool available to programmers.
- Graphical programming environments such as National Instruments Corporation's LabVIEWTM product have become very popular.
- Tools such as LabVIEW, which embodies the G graphical programming language, have greatly increased the productivity of programmers, and increasing numbers of programmers are using graphical programming environments to develop their software applications.
- 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.
- MMI man machine interface
- SCADA supervisory control and data acquisition
- Different graphical programming systems may use different models of computation, e.g., different semantics, to specify or represent the functionality of the graphical programs.
- Examples of graphical program semantics include homogenous data flow, heterogeneous data flow, synchronous data flow, timed synchronous data flow, state machine, cyclostatic data flow, dynamic data flow, input bound data flow, and various combinations, among others.
- a graphical programming system that facilitates the development of graphical programs and data flow diagrams with different models of computation or type of data flow semantics have been described in U.S. application Ser. No. 10/869,572 titled “Graphical Data Flow Programming Environment With First Model Of Computation That Includes A Structure Supporting Second Model Of Computation” filed Jun. 16, 2004, whose inventors were Gregory O. Morrow, John C. Limroth, Jeffrey L. Kodosky, Steven W. Rogers, Kevin Hogan, and Hugo A. Andrade, which is hereby incorporated by reference.
- a simulation computation generally involves computing the values of state variables according to a simulation model.
- the state of the simulation model is computed at a sequence of time steps, i.e. t 0 , t 1 , t 2 , . . . t n whereby the state of the model at time t n+1 depends on the state of the model at time t n .
- the computation similarly involves a formula to compute the value for the state at a new time step given its previous value.
- Computational algorithms and analytical methods for developing simulation models and state variables are well-known in the art.
- subsystems representative nodes in the graphical program that may support a different model of computation
- a simulation diagram in LabVIEW which is implemented in the G graphical data flow programming language, simply referred to herein as the G language.
- Some graphical programming languages, such as G operate according to a data flow semantic (or model of computation) in which a node may not execute or provide output unless all input data to the node are present.
- this type of data flow is referred to as input bound data flow (IBDF).
- a simulation diagram may be a type of data flow diagram, but may not adhere strictly to the input bound data flow model of computation normally applied in the G language. For example, there may be nodes that execute or provide output whether or not all their inputs are present, which is behavior inconsistent with the input bound data flow semantics of the G language. This type of data flow is referred to herein as non-input bound data flow (NIBDF).
- NNBDF non-input bound data flow
- IBDF diagram A data flow diagram that only includes IBDF nodes is referred to as an IBDF diagram.
- each NIBDF node in the diagram may be replaced with two or more IBDF nodes that are operable to provide the functionality of the original NIBDF node.
- a generic integration block or node of a simulation subsystem (representing the basic function for determining state variables in a simulation model) may be equivalently described by two separate, asynchronous G-language functions: a get state function (for returning the current value of X(t)) and a set state function (for determining the current value of dX/dt).
- NIBDF independent G-language
- subsystem nodes may represent other diagrams, e.g., sub-diagrams, which may each include a plurality of interconnected nodes.
- Some of these subsystem nodes may be NIBDF nodes, and thus may not operate according to IBDF semantics.
- an NIBDF subsystem node may include one or more NIBDF nodes in its sub-diagram, or the sub-diagram may operate according to NIBDF semantics even if it includes no NIBDF nodes.
- one known method is to inline all the subsystem nodes of the data flow diagram, i.e., expand all subsystem nodes into their sub-diagrams in the NIBDF diagram, and convert any NIBDF nodes into IBDF nodes.
- inlining refers to collapsing all the hierarchies in the data flow diagram into a collection of data flow nodes or operations on a single top-level diagram.
- a data flow diagram may be provided.
- the data flow diagram may be received from an external system, e.g., over a network, retrieved from memory, or developed by the user.
- the data flow diagram may include one or more non-input bound data flow nodes, each with a respective functionality. At least one non-input bound data flow node in the data flow diagram is a subsystem node representing a non-input bound data flow sub-diagram that includes a plurality of interconnected nodes.
- the non-input bound data flow sub-diagram may be a non-input bound data flow entity because it includes at least one non-input bound data flow node, or the sub-diagram may only include input bound data flow nodes, but still be a non-input bound data flow entity because of its structure, i.e., its topology.
- All non-input bound data flow nodes in the data flow diagram may be converted into input bound data flow nodes to generate an input bound data flow diagram, i.e., a data flow diagram that includes no non-input bound data flow nodes.
- the conversion may include processing each non-input bound data flow node in the data flow diagram.
- the non-input bound data flow node may be analyzed to determine two or more input bound data flow nodes executable to perform the functionality of the non-input bound data flow, where each of the two or more input bound data flow nodes is independently callable, i.e., two or more input bound data flow nodes are independent.
- the analyzing may include partitioning the non-input bound data flow sub-diagram into a plurality of input bound data flow sub-diagrams, where each of the input bound data flow sub-diagrams operates according to input bound data flow semantics without changing data dependencies of the non-input bound data flow sub-diagram, and where the determining the two or more input bound data flow nodes includes determining two or more input bound data flow nodes respectively representing the plurality of input bound data flow sub-diagrams.
- input bound data flow nodes may be determined that correspond to the non-input bound data flow node.
- the determining of the two or more input bound data flow nodes may include: if any of the two or more input bound data flow nodes have not already been created, the method may include creating the input bound data flow nodes that have not already been created based on the functionality of the non-input bound data flow node, and storing the created input bound data flow nodes, and if any of the two or more input bound data flow nodes have already been created, the already created input bound data flow nodes may be retrieved.
- creating the two or more input bound data flow nodes may be performed automatically, while in other embodiments, creating the two or more input bound data flow nodes may be performed manually, e.g., by a user specifying or creating the node in a graphical programming development environment.
- the two or more input bound data flow nodes may be included in the input bound data flow diagram in lieu of the non-input bound data flow node.
- the generated the input bound data flow diagram may be stored, e.g., in a memory medium.
- the input bound data flow diagram is characterized by an input bound data flow model of computation, since no non-input bound data flow nodes remain in the converted/generated diagram. It is still possible, however, that some subsets of the diagram may have non-input bound data flow behavior, but such behavior is due to the architecture or arrangement of the nodes, not due to the nodes themselves.
- the partitioning and determining of nodes representing the input bound data flow sub-diagrams i.e., representing the partitions above, the number of (input bound data flow) nodes in the generated diagram is less than would be the case were the input bound data flow sub-diagrams left as is.
- the partitioning and substituting of input bound data flow nodes for the input bound data flow sub-diagrams serves to ameliorate this increase in total number of nodes.
- the conversion may be automatic.
- the analyzing and including may be performed automatically, e.g., via execution of program instructions.
- at least some user input may be required to perform some of the method elements described.
- the non-input bound data flow sub-diagram may initially include at least one non-input bound data flow node, in which case analyzing the non-input bound data flow node may further include performing the analyzing and including for each non-input bound data flow node in the non-input bound data flow sub-diagram.
- these nodes in the sub-diagrams may also be converted in the same manner, prior to the partitioning of the sub-diagram.
- the data flow diagram may be hierarchical, with sub-diagrams at any of various levels.
- the partitioning may be performed based on input and output data dependencies of the interconnected nodes of the non-input bound data flow sub-diagram.
- nodes may be grouped into portions or partitions of the sub-diagram, according to their dataflow dependencies. For example, nodes have a dataflow dependence on the input to a subsystem (sub-diagram) if there is a direct dataflow path between the input to the subsystem and an input to the node.
- An output of the subsystem has a dataflow dependency on a node if there is a direct dataflow path between an output of the node and the original output of the subsystem.
- nodes that depend on the same set of subsystem inputs may be grouped together.
- nodes on which the same set of subsystem outputs depend may be grouped together.
- both strategies for grouping nodes into clumps may be used, and the strategy which results in the fewest partitions chosen.
- the partitioning may include computing a feed-through map for the non-input bound data flow sub-diagram indicating dependencies of each output of the non-input bound data flow sub-diagram upon inputs of the non-input bound data flow sub-diagram, and analyzing the feed-through map to determine at least two of the input bound data flow sub-diagrams that, if merged, would not produce any new data dependencies of the outputs of the non-input bound data flow sub-diagram upon inputs of the non-input bound data flow sub-diagram. The at least two of the input bound data flow sub-diagrams may then be merged.
- the potential number of partitions may be reduced by reducing the number of inputs or outputs to the subsystem. This may be achieved by treating subsystem inputs or outputs which have the same dataflow dependencies as equivalent. That is, subsystem inputs with equivalent sets of dependent subsystem outputs can be treated as the same input for the purposes of the partitioning algorithm. Similarly, subsystem outputs which are dependent on equivalent sets of subsystem inputs may be treated as the same output.
- the conversion of non-input data flow nodes to input bound data flow nodes may include performing the partitioning and including for each non-input bound data flow subsystem node in the data flow diagram in a recursive manner.
- this recursion may be performed in a depth-first manner, or, alternatively, in a breadth-first manner, such techniques being well-known in the art of graph theory.
- the recursion is performed depth-first, starting at the bottom (the deepest nodes in the hierarchy, i.e., leaf nodes).
- each non-input bound data flow node e.g., indirect API block
- each non-input bound data flow node may be decomposed or expanded into its corresponding functional nodes, e.g., G-language input bound data flow equivalent functions.
- direct API blocks i.e., input bound primitive or atomic data flow nodes
- the operations may convert a leaf-node simulation subsystem into executable graphical program code, e.g., G-language code, i.e., a block diagram of a virtual instrument.
- an input bound data flow diagram i.e., a data flow diagram whose nodes are all input bound data flow nodes
- a non-input bound data flow diagram i.e., a data flow diagram whose nodes may include non-input bound data flow nodes
- FIG. 1A illustrates a computer system operable to execute a graphical program according to an embodiment
- FIG. 1B illustrates a network system comprising two or more computer systems that may implement an embodiment
- FIG. 2A illustrates an instrumentation control system according to one embodiment
- FIG. 2B illustrates an industrial automation system according to one embodiment
- FIG. 3A is a high level block diagram of an exemplary system which may execute or utilize graphical programs
- FIG. 3B illustrates an exemplary system which may perform control and/or simulation functions utilizing graphical programs
- FIG. 4 is an exemplary block diagram of the computer systems of FIGS. 1A , 1 B, 2 A and 2 B and 3 B;
- FIG. 5 is a flowchart diagram illustrating one embodiment of a method for generating a homogeneous input bound data flow diagram from a non-input bound data flow diagram, according to one embodiment
- FIGS. 6A-6E are exemplary screenshots illustrating partitioning of a subsystem diagram of a non-input bound data flow node, according to one embodiment
- FIGS. 7A-7C illustrate use of a feedthrough map to perform partitioning of a sub-diagram, according to one embodiment
- FIG. 8 is a flowchart diagram illustrating one embodiment of a method for including a case structure in a data flow diagram, according to one embodiment
- FIGS. 9A and 9B are exemplary screenshots illustrating a case structure in a data flow diagram.
- FIG. 10 is an exemplary screenshot of conditional structures replacing the case structure of FIGS. 9A and 9B , according to one embodiment.
- 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.
- 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.
- FPDs field-programmable devices
- FPDs field-programmable devices
- FPGAs Field Programmable Gate Arrays
- PLDs Programmable Logic Devices
- SPLDs Simple PLDs
- CPLDs Complex PLDs
- 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 is intended to have the full breadth of its ordinary meaning.
- 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 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 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, VisSim from Visual Solutions, ObjectBench by SES (Scientific and Engineering Software), and VisiDAQ from Advantech, among others.
- 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, VisSim, 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.
- sources such as from a device, unit under test, a process being measured or controlled, another computer program, a database, or from a file.
- 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.
- the plurality of interconnected nodes are often referred to as the block diagram portion of the graphical program.
- a graphical program that has a “homogenous model of computation” is a graphical program which is “single rate”, i.e., where the semantics may specify a single rate execution of graphical program elements.
- each of the graphical program elements in the graphical program preferably has the same rate of execution, e.g., each element may execute the same number of times per execution of the graphical program, e.g., each element may produce and consume the same number of tokens per execution.
- 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.
- no node may execute or produce an output until all inputs are present, whereas a non-input bound data flow diagram may allow nodes to execute or produce output without all inputs being present.
- Model of Computation a formal description that includes a syntax and rules for computing behavior (semantics) described by the syntax; used to specify the semantics of computation and concurrency.
- models of computation include, data flow, control flow, state machine (e.g., finite state machine), actor, parallel random access machine, continuous time, spatial/temporal, synchronous/reactive, discrete event, cycle driven, synchronous message passing, asynchronous message passing, rendezvous, Turing machine, tagged signal, Petri nets, homogenous, heterogeneous, single rate, multi-rate, and combinations thereof, among others.
- Examples of different data flow models of computation include homogenous data flow, heterogeneous data flow, synchronous data flow, timed synchronous data flow, cyclostatic data flow, dynamic data flow, input bound data flow, and non-input bound data flow, among others.
- Some data flow models of computation may support explicit feedback loops, where, for example, output from a graphical program element may be provide as input to the same element, either directly, or via one or more other elements.
- the “G” graphical programming language used in the LabVIEWTM graphical program development environment provided by National Instruments Corporation, supports a homogeneous (i.e., single rate) data flow model of computation that does not include explicit feedback loops.
- SimulinkTM provided by The MathWorks, Inc.
- “G” generally operates according to input bound data flow semantics, where no node executes until all its inputs are present, whereas some other graphical programming languages, e.g., those directed to simulation, may allow a node to produce an output without all inputs being present.
- GUI Graphical User Interface
- 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.
- various mechanisms may be used to connect GUI Elements in the GUI with nodes in the graphical program.
- corresponding nodes e.g., terminals
- 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.
- 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.
- the front panel can be analogized to the front panel of an instrument.
- the front panel can be analogized to the MMI (Man Machine Interface) of a device.
- MMI Man Machine Interface
- 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.
- PC personal computer system
- mainframe computer system workstation
- network appliance Internet appliance
- PDA personal digital assistant
- television system grid computing system, or other device or combinations of devices.
- 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.
- data flow diagram is a superset of “graphical data flow program”.
- an executable data flow diagram may be considered a graphical data flow diagram. It should be noted, however, that in some embodiments, a data flow diagram may not be executable, but merely illustrative.
- graphical program refers to a graphical data flow program, which is an executable (or interpretable) data flow diagram.
- an executable data flow diagram may be run by interpreting the diagram at runtime, may be compiled to generate machine executable code, and/or may be converted to some other programming language, e.g., C or C++, then compiled and executed, as desired.
- FIG. 1 Computer System
- FIG. 1A illustrates a computer system 82 operable to perform embodiments of the methods disclosed herein, e.g., to efficiently convert a non-input bound data flow (NIBDF) diagram to an input bound data flow (IBDF) diagram.
- the method may operate to receive a graphical program (a type of data flow diagram) configured to accommodate or support multiple models of computation, e.g., multiple data flow semantics, such as a program with a mixture of NIBDF and INDF nodes, and convert the NIBDF program or diagram to a homogeneous INDF program or diagram, i.e., where all the nodes are INDF nodes.
- a graphical program a type of data flow diagram
- multiple data flow semantics such as a program with a mixture of NIBDF and INDF nodes
- the computer system 82 may include a display device operable to display the data flow diagram as the data flow diagram is created and/or executed.
- the display device may also be operable to display a graphical user interface or front panel of the data flow diagram during execution of the data flow diagram.
- the graphical user interface may comprise any type of graphical user interface, e.g., depending on the computing platform.
- the computer system 82 may include a memory medium(s) on which one or more computer programs or software components, according to one embodiment, may be stored.
- the memory medium may store one or more graphical programs (or other types of programs) which are executable to perform the methods described herein.
- the memory medium may store a graphical programming development environment application used to create and/or execute such graphical programs and/or data flow diagrams.
- 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 illustrates a system including a first computer system 82 that is coupled to a second computer system 90 .
- the computer system 82 may be connected through a network 84 (or a computer bus) to the second computer system 90 .
- the computer systems 82 and 90 may each be any of various types, as desired.
- the network 84 can also be any of various types, including a LAN (local area network), WAN (wide area network), the Internet, or an Intranet, among others.
- the computer systems 82 and 90 may execute a graphical program or data flow diagram in a distributed fashion.
- computer 82 may execute a first portion of the block diagram of a graphical program or data flow diagram and computer system 90 may execute a second portion of the block diagram of the graphical program or data flow diagram.
- computer 82 may display the graphical user interface of a graphical program or data flow diagram and computer system 90 may execute the block diagram of the graphical program or data flow diagram.
- 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.
- the graphical program may be downloaded and executed on the device 190 .
- 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.
- the methods described herein may involve 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 the data flow diagram (e.g., graphical program) may be used include hardware-in-the-loop testing and rapid control prototyping, among others.
- non-input bound data flow model of computation e.g., non-input bound data flow nodes
- input bound data flow nodes input bound data flow nodes
- models of computation may involve measurement and control of external signals and instrumentation interfaces.
- FIG. 2A illustrates an exemplary instrumentation control system 100 in one embodiment.
- the system 100 comprises a host computer 82 which connects to one or more instruments.
- the host computer 82 may comprise a CPU, a display screen, memory, and one or more input devices such as a mouse or keyboard as shown.
- the computer 82 may operate with the one or more instruments to analyze, measure or control a unit under test (UUT) or process 150 .
- UUT unit under test
- 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.
- UUT unit under test
- process 150 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 application, or a hardware-in-the-loop validation application, among others.
- FIG. 2B illustrates an exemplary industrial automation system 160 in one embodiment.
- the industrial automation system 160 is similar to the instrumentation or test and measurement system 100 shown in FIG. 2A . Elements which are similar or identical to elements in FIG. 2A have the same reference numerals for convenience.
- the system 160 may comprise a computer 82 which connects to one or more devices or instruments.
- the computer 82 may comprise a CPU, a display screen, memory, and one or more input devices such as a mouse or keyboard as shown.
- the computer 82 may operate with the one or more devices to a process or device 150 to perform an automation function, such as MMI (Man Machine Interface), SCADA (Supervisory Control and Data Acquisition), portable or distributed data acquisition, process control, advanced analysis, or other control, among others.
- MMI Man Machine Interface
- SCADA Supervisory Control and Data Acquisition
- 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.
- 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
- FIG. 3A is a high level block diagram of an exemplary system which may execute or utilize graphical programs.
- FIG. 3A illustrates a general high-level block diagram of a generic control and/or simulation system which comprises a controller 92 and a plant 94 .
- the controller 92 represents a control system/algorithm the user may be trying to develop.
- the plant 94 represents the system the user may be trying to control.
- a user may create a graphical program that specifies or implements the functionality of one or both of the controller 92 and the plant 94 .
- a control engineer may use a modeling and simulation tool to create a model (graphical program) of the plant 94 and/or to create the algorithm (graphical program) for the controller 92 .
- FIG. 3B illustrates an exemplary system which may perform control and/or simulation functions.
- the controller 92 may be implemented by a computer system 82 or other device (e.g., including a processor and memory medium and/or including a programmable hardware element) that executes or implements a data flow diagram, e.g., a graphical program.
- the plant 94 may be implemented by a computer system or other device 144 (e.g., including a processor and memory medium and/or including a programmable hardware element) that executes or implements a data flow diagram, e.g., a graphical program, or may be implemented in or as a real physical system, e.g., a car engine.
- one or more data flow diagrams may be created which are used in performing rapid control prototyping.
- Rapid Control Prototyping 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.
- RTOS real time operating system
- one or more data flow diagrams may be created which are used in performing Hardware in the Loop (HIL) simulation.
- Hardware in the Loop refers to the execution of the plant model 94 in real time to test operation of a real controller 92 .
- 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.
- one or more of the various devices may couple to each other over a network, such as the Internet.
- the user operates to select a target device from a plurality of possible target devices for programming or configuration using a data flow diagram.
- the user may create a data flow diagram on a computer and use (execute) the data flow diagram on that computer or deploy the data flow diagram to a target device (for remote execution on the target device) that is remotely located from the computer and coupled to the computer through a network.
- 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 FIGS. 2A and 2B may be referred to as virtual instruments.
- FIG. 4 is a block diagram representing one embodiment of the computer system 82 and/or 90 illustrated in FIGS. 1A and 1B , or computer system 82 shown in FIG. 2A or 2 B. It is noted that any type of computer system configuration or architecture can be used as desired, and FIG. 4 illustrates a representative PC embodiment. It is also noted that the computer system may be a general purpose computer system, a computer implemented on a card installed in a chassis, or other types of embodiments. Elements of a computer not necessary to understand the present description have been omitted for simplicity.
- 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 the data flow diagram, e.g., that may include multiple data flow semantics, or that may not be a homogeneous input bound data flow diagram.
- 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 .
- 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 data flow diagram, e.g., a graphical program, to the device 190 for execution of the graphical program on the device 190 .
- the deployed data flow diagram may take the form of graphical program instructions or data structures that directly represents the data flow diagram.
- the deployed data flow diagram may take the form of text code (e.g., C code) generated from the data flow diagram.
- the deployed data flow diagram may take the form of compiled code generated from either the data flow diagram or from text code that in turn was generated from the data flow diagram.
- Simulations are an important application for graphical programming, which as noted above, are used increasingly in test, design, and control applications. Simulations may require non-homogenous models of computation or data flow semantics for execution.
- data flow diagram elements often represent respective components and/or sub-processes of a system or process.
- the data flow diagram elements also referred to as nodes, in a simulation may require or at least substantially benefit from features or behaviors not supported by some graphical programming systems.
- a simulation diagram may refer to a data flow diagram that can include at least one node or sub-diagram that is non-input bound.
- the standard LabVIEW development environment (including the G graphical programming language) operates according to an input bound data flow model of computation or semantics.
- different components or processes may behave in such a way that the nodes representing these components or processes may need to operate according to a non-input bound data flow model of computation or semantics.
- the techniques presented are applicable to other diagrams, nodes, and subsystems, as well, simulations being but an exemplary application of one embodiment of the invention.
- both models of computation may be needed, such as, for example, in a control application that includes a simulation of the process or system being controlled.
- an input bound data flow model of computation (or input bound data flow semantics, such as with G graphical program code) may be used to implement control functionality, while a non-input bound data flow model of computation (such as with simulation nodes) may be used to implement the simulation portion of the application.
- a first plurality of nodes e.g., graphical program or data flow diagram elements, may comprise a simulation diagram, where at least a subset of the first plurality of graphical program elements includes non-input bound data flow nodes, and where the simulation diagram implements a simulation model, as described above.
- the simulation diagram may utilize a set of semantics and execution properties that differ from an ordinary LabVIEW data flow diagram. Some differences between simulation diagrams and LabVIEW diagrams may include one or more of the following:
- Feed-through information A node in a simulation diagram (e.g., a simulation sub-diagram) may require only a subset of its inputs in order to compute any given output.
- the set of inputs required to compute a given output are said to feed that output directly, or to have “direct feed-through” to the output.
- Inputs not required to compute that output have “indirect feed-through”.
- direct feed-through refers to a property of a graphical program element where all of the inputs to the graphical program element must be present or valid for the graphical program element to fire or execute, whether or not each of the outputs for the graphical program element requires all of the inputs, as is the case, for example, with LabVIEW diagram nodes, which are input bound data flow nodes.
- indirect feed-through refers to a property where the graphical program element generates an output as soon as the inputs needed for that output are present, for example simulation diagram nodes.
- indirect feed-through nodes are non-input bound data flow nodes.
- the semantics for the simulation diagram may specify that a node may fire any given output as soon as it has received the inputs that have direct feed-through to the output. (Note that this is a key difference from the LabVIEW (IBDF) diagram, which specifies that all inputs must be received before any output may be fired.) Thus, it may be necessary for the simulation diagram to have access to feed-through information for each node.
- IBDF LabVIEW
- existing node types in LabVIEW may retain their existing behavior when placed in a simulation diagram (i.e. that all inputs have direct feed-through to all outputs)
- the simulation diagram may preferably recognize various simulation primitives and simulation subsystems that may have indirect feed-through from inputs to outputs.
- the simulation nodes may support direct feed-through and indirect feed-through for inputs and outputs of the simulation nodes.
- at least one of the simulation nodes may comprise a plurality of inputs and a plurality of outputs, where a first output of the plurality of outputs requires only a subset of the plurality of inputs, and where the least one of the simulation nodes is operable to fire upon reception of the subset of the plurality of inputs to generate the first output.
- a feed-through mapping of inputs to outputs for the simulation nodes may be computed and stored.
- the computed feed-through mapping may be useful in converting graphical code with one data flow semantics, e.g., non-input bound data flow semantics, to graphical code with another data flow semantics, e.g., input bound data flow semantics, as described in detail below.
- At least one of the simulation nodes may support a feedback cycle between an output of the simulation node and an input of the simulation node, e.g., an explicit feedback loop.
- at least one simulation node of the simulation nodes may support a feedback cycle between an output of the simulation node and an input of the simulation node if the input of the simulation node has indirect feed-through to the output of the simulation node, and/or if the input of the simulation node corresponds to a different iteration than the output of the simulation node.
- an explicit feedback loop from the output to the input of the node may be supported as long as the input is not directly required by the output, and/or as long as the input and the output are not for the same iteration. Note that cycles are not permitted in the G-language syntax used for LabVIEW diagrams.
- simulation diagrams may exist only as a root-level diagram of a simulation loop or a simulation subsystem (both described below).
- one or more simulation parameters for the simulation diagram may be configured and stored, where the configured one or more simulation parameters specify operation of the simulation diagram.
- the one or more simulation parameters may determine the behavior of the simulation diagram subject to constraints imposed by the input bound data flow semantics.
- one or more of the simulation nodes may comprise simulation primitives, i.e., simulation nodes that do not represent a sub-simulation diagram.
- Simulation primitives may preferably only be placed in a simulation diagram, and may have indirect feed-through properties as mentioned above. Key differences between simulation primitives and standard LabVIEW primitives may include:
- Simulation primitives may only be placed in a simulation diagram, while LabVIEW primitives may be used in standard LabVIEW block diagrams, and in some cases may be used in a simulation diagram.
- a simulation primitive node may execute and outputs can fire before all inputs are received.
- Cycles may be allowed between non-direct feed-through terminals on a simulation primitive.
- the types of nodes in a block diagram that includes a simulation diagram may include functional nodes (G-language nodes); direct simulation primitives (also referred to as direct API blocks); and indirect simulation primitives (also referred to as indirect API blocks).
- the direct simulation primitives are functional primitives which behave the same as their G-language counterparts, e.g., unary simulation functions.
- Indirect simulation primitives represent functions which may exhibit indirect feed-through, as described above. Note that the direct and indirect API block designation refers to the specific application programming interface that was developed for simulation diagrams.
- a node may be a primitive node, i.e., an API block, may be a subsystem node, which, being a non-input bound node, represents a non-input bound sub-diagram, or a subVI, which, being an input bound node, represents an input bound sub-diagram.
- the graphical program elements or nodes may be referred to as “blocks”.
- the simulation primitives may comprise a diverse control block diagram blockset, and may incorporate a number of features that are beyond the capabilities of standard LabVIEW subVIs.
- some simulation blocks e.g., an integrator block
- blocks include integrators, transfer functions, look-up tables, and gain blocks, among others.
- Some of the extended abilities that may be supported by simulation primitives may include one or more of configuration pages, dynamic icons, growing icons, N-ary operations, numeric polymorphism (e.g., both in terms of data type and/or dimensionality), custom pop-up menu commands, reversed block orientation, and terminal feed-through mappings, among others.
- simulation primitives are generally “atomic”, in that they do not represent a sub-simulation diagram, also referred to as a simulation subsystem
- objects that access hidden simulation data may also be considered fundamental objects, and may be treated specially.
- these objects may appear to the user as “primitives”, and users may not be able to view the implementation directly from the simulation diagram. (In some embodiments, the generated code behind the objects may be made viewable, however.)
- At least one of the simulation nodes represents a sub-simulation diagram, referred to as a simulation subsystem, where the sub-simulation diagram may comprise two or more additional simulation nodes.
- a simulation node may represent a plurality of additional simulation nodes, and thus may encapsulate a sub-simulation diagram.
- simulation subsystems implement sub-models, i.e. to hierarchically package portions of a simulation diagram in a modular form, e.g., as a node within a simulation diagram.
- the graphical implementation may be considered analogous to a subVI node in LabVIEW.
- a simulation subsystem may appear as a node whose root diagram is a simulation diagram, and may be placed (in LabVIEW subVI fashion) in a simulation diagram. When placed in a simulation diagram, these subsystems execute as if inlined in the simulation diagram and may execute elements of their diagram as inputs become available, with indirect feedthrough.
- simulation subsystems may provide a graphical shorthand, i.e., a way to group code elements together into a single icon and reduce the complexity of simulation diagram code.
- Some differences between simulation subsystems and LabVIEW subVIs may include one or more of the following:
- Simulation subsystems may only be used in a simulation diagram, while LabVIEW primitives may be used in standard LabVIEW block diagrams, and in some cases may be used in a simulation diagram.
- the simulation subsystem may execute its diagram as if it were contained within a simulation loop, thereby allowing the user to test and debug the diagram in isolation, e.g., without having to be enclosed in a simulation loop.
- simulation subsystems may execute as if inlined, i.e. elements in the diagrams may execute as individual inputs become available.
- the simulation subsystems may compute and store a feed-through mapping of inputs to outputs, e.g., for the additional simulation nodes comprised in the sub-simulation diagram.
- Simulation Parameters Store default simulation parameters for their respective simulation diagrams for use when they are run as free-standing systems. However, when embedded in another simulation diagram (a parent diagram), the subsystems may inherit parameter values from the parent diagram.
- one or more simulation parameters for the sub-simulation diagram may be configured and stored, where the configured one or more simulation parameters specify operation of the sub-simulation diagram.
- the two or more additional simulation nodes in the sub-simulation diagram) are operable to execute in the simulation diagram in an inlined manner.
- the simulation subsystem may utilize the feed-through mapping for simulation nodes comprised in the simulation subsystem's sub-simulation diagram to execute the simulation nodes appropriately, e.g., with indirect feed-through, as described above.
- a simulation diagram In order to execute the code defined by a simulation diagram (or other data flow diagram), some form of executable code must be generated, e.g., via an interpreter at runtime, or a compiler.
- a simulation diagram may be converted into a LabVIEW data flow diagram, which may then be compiled (or interpreted) into a form that may be executed by a microprocessor.
- a companion data flow diagram may be coupled to or associated with the simulation diagram, where the companion data flow diagram executes in lieu of, or in conjunction with, the simulation diagram.
- the companion diagram, its automatic generation, (optional) compilation, and storage are all kept hidden from the user of the simulation diagram, such that the companion diagram actually represents the executable code for the algorithm defined by the simulation.
- a simulation diagram representing code with a first data flow semantic may be converted into LabVIEW code with a second data flow semantic (or more generally, a second model of computation).
- a simulation diagram representing a non-input bound data flow model of computation may be converted or reduced to a collection of elements in a LabVIEW diagram, which executes according to an input bound data flow model of computation.
- the functionality of the executed code is equivalent to the non-input bound data flow specified in the simulation diagram; the conversion process creates all necessary elements and structures required for a correct conversion that executes the desired simulation functionality.
- the companion diagram is automatically generated and compiled when the simulation diagram is executed or saved.
- the term pre-conversion may refer to the state of a simulation diagram which has not been converted, i.e. the companion diagram has not been generated for it yet.
- the term post-conversion may refer to the state of a simulation diagram when the companion diagram has been generated, and optionally compiled.
- the term “dirty” may refer to the state of a companion diagram which has either not been converted at all or a state in which is it not consistent with what is represented on the simulation diagram; for example, after conversion, if functional changes (i.e., additions, amendments, deletions) are made to the simulation diagram, then the companion diagram may be set to the ‘dirty’ state.
- the “dirty” state indicates that the companion diagram is not up to date with respect to the simulation diagram.
- the companion diagram when up to date, is an input bound data flow diagram, where all nodes are input bound data flow nodes.
- simulation diagrams described above are exemplary versions of non-input bound data flow diagrams, and the methods and techniques described herein are broadly applicable to diagrams with non-input bound elements are architectures, and are not limited to simulation diagrams.
- FIG. 5 Method for Generating a Data Flow Diagram
- FIG. 5 is a high-level flowchart of a method for generating a data flow diagram, according to one embodiment.
- one or more of the method elements described may be performed concurrently, in a different order than shown, or may be omitted. Additional steps may also be performed as desired.
- the method shown in FIG. 5 may be used in conjunction with any of the computer systems or devices shown in the above figures, among other devices. As shown, this method may operate as follows.
- a data flow diagram may be provided.
- the data flow diagram may be received from an external system, e.g., over a network, retrieved from memory, or developed by the user.
- the data flow diagram may include one or more non-input bound data flow nodes, each with a respective functionality. At least one non-input bound data flow node in the data flow diagram is a subsystem node representing a non-input bound data flow sub-diagram that includes a plurality of interconnected nodes.
- the non-input bound data flow sub-diagram may be a non-input bound data flow entity because it includes at least one non-input bound data flow node, or the sub-diagram may only include input bound data flow nodes, but still be a non-input bound data flow entity because of its structure, i.e., its topology.
- all non-input bound data flow nodes in the data flow diagram may be converted into input bound data flow nodes to generate an input bound data flow diagram, i.e., a data flow diagram that includes no non-input bound data flow nodes.
- the conversion may include processing each non-input bound data flow node in the data flow diagram, as described below with reference to 508 - 510 .
- the non-input bound data flow node may be analyzed to determine two or more input bound data flow nodes executable to perform the functionality of the non-input bound data flow, where each of the two or more input bound data flow nodes is independently callable, i.e., two or more input bound data flow nodes are independent.
- the analyzing may include partitioning the non-input bound data flow sub-diagram into a plurality of input bound data flow sub-diagrams, where each of the input bound data flow sub-diagrams operates according to input bound data flow semantics without changing data dependencies of the non-input bound data flow sub-diagram, and where the determining the two or more input bound data flow nodes includes determining two or more input bound data flow nodes respectively representing the plurality of input bound data flow sub-diagrams.
- input bound data flow nodes may be determined that correspond to the non-input bound data flow node.
- the determining of the two or more input bound data flow nodes may include: if any of the two or more input bound data flow nodes have not already been created, the method may include creating the input bound data flow nodes that have not already been created based on the functionality of the non-input bound data flow node, and storing the created input bound data flow nodes, and if any of the two or more input bound data flow nodes have already been created, the already created input bound data flow nodes may be retrieved.
- creating the two or more input bound data flow nodes may be performed automatically, while in other embodiments, creating the two or more input bound data flow nodes may be performed manually, e.g., by a user specifying or creating the node in a graphical programming development environment.
- the two or more input bound data flow nodes may be included in the input bound data flow diagram in lieu of the non-input bound data flow node.
- the generated the input bound data flow diagram may be stored, e.g., in a memory medium.
- the input bound data flow diagram is characterized by an input bound data flow model of computation, since no non-input bound data flow nodes remain in the converted/generated diagram. It is still possible, however, that some subsets of the diagram may have non-input bound data flow behavior, but such behavior is due to the architecture or arrangement of the nodes, not due to the nodes themselves.
- the partitioning and determining of nodes representing the input bound data flow sub-diagrams i.e., representing the partitions of 509 above
- the number of (input bound data flow) nodes in the generated diagram is less than would be the case were the input bound data flow sub-diagrams left as is.
- the partitioning and substituting of input bound data flow nodes for the input bound data flow sub-diagrams serves to ameliorate this increase in total number of nodes.
- the conversion of 504 may be automatic.
- the analyzing and including may be performed automatically, e.g., via execution of program instructions.
- at least some user input may be required to perform some of the method elements described.
- the non-input bound data flow sub-diagram of 509 may initially include at least one non-input bound data flow node, in which case analyzing the non-input bound data flow node may further include performing the analyzing and including for each non-input bound data flow node in the non-input bound data flow sub-diagram.
- these nodes in the sub-diagrams may also be converted in the same manner, prior to the partitioning of the sub-diagram.
- the data flow diagram may be hierarchical, with sub-diagrams at any of various levels.
- FIG. 6A is an exemplary screen shot of a subsystem node's sub-diagram, i.e., a subsystem diagram represented by a non-input bound data flow node in a calling diagram one level above the sub-diagram.
- the subsystem diagram has three inputs, labeled “ 1 ”, “ 2 ”, and “ 3 ” (left side of the diagram), and two outputs, labeled “A” and “B” (right side of diagram), as well as three (triangular) arithmetic nodes, including two multiplication nodes, labeled “x”, and an addition node, labeled “+”, and a rectangular non-input bound data flow node, labeled “ 1 /s”.
- the subsystem diagram (sub-diagram) of FIG. 6A is a non-input bound sub-diagram from an expanded non-input bound data flow node from one level up in the hierarchy of the data flow diagram.
- this subsystem diagram itself includes a non-input bound data flow node, which, per the above, may be replaced with two or more input bound data flow nodes.
- FIG. 6B illustrates an exemplary screenshot of the sub-diagram of FIG. 6A , but where the non-input bound data flow node has been “chopped”, or partitioned, into two parts.
- the non-input bound data flow node has simply been shown replaced with two input bound data flow nodes, each of which displays a respective half of the original node's icon, although such breaking out and partitioning may have been performed “behind the scene”.
- the result, as indicated, is that the sub-diagram now includes only input bound data flow nodes.
- the sub-diagram itself may still be non-input bound, e.g., due to the arrangement and connectivity of the nodes.
- the analyzing of 508 may include partitioning the non-input bound data flow sub-diagram into a plurality of input bound data flow sub-diagrams, where each of the input bound data flow sub-diagrams operates according to input bound data flow semantics without changing data dependencies of the non-input bound data flow sub-diagram.
- the partitioning of 509 may be performed based on input and output data dependencies of the interconnected nodes of the non-input bound data flow sub-diagram.
- nodes may be grouped into portions or partitions of the sub-diagram, according to their dataflow dependencies. For example, nodes have a dataflow dependence on the input to a subsystem (sub-diagram) if there is a direct dataflow path between the input to the subsystem and an input to the node.
- An output of the subsystem has a dataflow dependency on a node if there is a direct dataflow path between an output of the node and the original output of the subsystem.
- nodes that depend on the same set of subsystem inputs may be grouped together.
- nodes on which the same set of subsystem outputs depend may be grouped together.
- both strategies for grouping nodes into clumps may be used, and the strategy which results in the fewest partitions chosen.
- FIG. 6C illustrates partitioning based on input dependencies of the nodes, according to one embodiment, where for each node a determination may be made as to what inputs must be present for the node to fire. Since each node is input bound, each input to the node acts like a gate for the other inputs, because none are used until all are present. Thus, as may be seen, the sub-diagram has been partitioned into partitions or “clumps” with distinct input dependencies.
- partition p 1 depends only on input 1
- p 2 has no inputs and so has no input dependency
- p 3 (comprising the top multiply node) depends on input 2
- p 4 (comprising the bottom multiply node and the addition node) depends on inputs 1 , 2 , and 3 . Note that these dependencies are also reflected in the I/O dependencies of the overall sub-diagram.
- each input 1 , 2 , and 3
- the outputs (A and/or B) that is ultimately dependent on that input, i.e., which outputs that input contributes to
- beside each output (A and B) is displayed the inputs ultimately contributing to that output, i.e., what inputs contribute to that output.
- input 1 contributes to output B
- input two contributes to outputs A and B
- input 3 contributes to output B
- output A depends on input 2
- output B depends on inputs 1 , 2 , and 3 .
- FIG. 6D illustrates partitioning based on such output dependencies of the nodes, according to one embodiment, where for each node a determination may be made as to what outputs depend on the node firing. Similar to above, since each node is input bound, no output is produced until all contributing nodes have fired, and so each contributing node's output is effectively gated by the other contributing nodes. Thus, as may be seen, the sub-diagram has again been partitioned into partitions or “clumps”, but this time based on distinct output dependencies.
- partition p 3 (comprising the left (input) half of the original non-input bound data flow node) contributes to no outputs
- p 6 (comprising the right (output) half of the original non-input bound data flow node and the top multiply node) contributes to output A
- p 3 (comprising the bottom multiply node and the addition node) contributes to output B.
- these dependencies are also reflected in the I/O dependencies of the overall sub-diagram.
- FIG. 6D since the partitioning based on output dependencies results in three partitions or clumps, rather than the four partitions or clumps of FIG. 6C based on input dependencies, the output dependency based approach may be used.
- the determining the two or more input bound data flow nodes includes determining two or more input bound data flow nodes respectively representing the plurality of input bound data flow sub-diagrams.
- FIG. 6E illustrates an exemplary screenshot of the subsystem diagram of FIGS. 6A-6D , but where the partitions (of FIG. 6D ) have been replaced with respective input bound data flow nodes, labeled 6 , 7 , and 8 , respectively.
- the modified sub-diagram of FIG. 6E may not actually be stored as a separate diagram, but rather may be used in the data flow diagram everywhere instances of the original non-input bound data flow node occurred.
- the partitioning may include computing a feed-through map for the non-input bound data flow sub-diagram indicating dependencies of each output of the non-input bound data flow sub-diagram upon inputs of the non-input bound data flow sub-diagram, and analyzing the feed-through map to determine at least two of the input bound data flow sub-diagrams that, if merged, would not produce any new data dependencies of the outputs of the non-input bound data flow sub-diagram upon inputs of the non-input bound data flow sub-diagram. The at least two of the input bound data flow sub-diagrams may then be merged.
- the potential number of partitions may be reduced by reducing the number of inputs or outputs to the subsystem. This may be achieved by treating subsystem inputs or outputs which have the same dataflow dependencies as equivalent. That is, subsystem inputs with equivalent sets of dependent subsystem outputs can be treated as the same input for the purposes of the partitioning algorithm. Similarly, subsystem outputs which are dependent on equivalent sets of subsystem inputs may be treated as the same output. Such equivalencies may be determined via a feedthrough map.
- FIGS. 7A-7C illustrate use of a feedthrough map to perform partitioning of a sub-diagram, according to one embodiment.
- FIG. 7B illustrates the data flow diagram of FIG. 7A , but with input and output dependencies denoted beside each input and each output.
- input 1 (Numeric 1 ) contributes to outputs 5 , 6 , and 7 ;
- input 2 contributes to outputs 5 , 6 , and 7 ;
- input 3 contributes to outputs 5 , 6 , and 7 ; and
- input 4 contributes to outputs 7 and 8 .
- the dependencies are each feedthrough maps, and may be termed input and output feedthrough maps, respectively. Note that each provides the same information, but in a different, complementary form, and so one, e.g., the input dependencies of the outputs, may be derived from the other, e.g., the output feedthrough of the inputs (which outputs each input contributes to).
- each node in the diagram has been marked with its respective input dependencies, i.e., the inputs received by the node and upon which the node depends to fire or execute.
- Node 1 depends on input 1 , indicated by the label “[ 1 ]”.
- the nodes have been grouped together based on their respective input dependencies, where all nodes with identical input dependencies are grouped together, resulting in 7 partitions or clumps, as indicated by the closed curves enclosing each group. Note that this approach, which treats inputs as distinct, does not use a feedthrough map, and results in a relatively large number of partitions or clumps.
- FIG. 7C illustrates the data flow diagram of FIG. 7A , but where the feedthrough map(s), i.e., the I/O dependencies, have been analyzed to determine dependencies that may be treated as equivalent with respect to the partitioning process. More specifically, in this embodiment, the input feedthrough map has been used to determine equivalent input dependencies, according to which the nodes are then grouped.
- the feedthrough map(s) i.e., the I/O dependencies
- inputs 1 , 2 , and 3 all contribute to the same outputs, specifically, outputs 5 , 6 , and 7 .
- these inputs may be considered to be equivalent with respect to dependencies, in that all are needed to produce each of the outputs 5 , 6 , and 7 .
- feedthrough maps may also be modified in this manner.
- the designations of inputs ⁇ 1 , 2 , 3 ⁇ have been replaced with ⁇ 123 ⁇ .
- designations of outputs 5 and 6 may each be replaced with the concatenated label “ 56 ”, as indicated in the input feedthrough map of FIG. 7C (left side of the diagram).
- the last input, Input 4 which contributes to outputs 7 and 8 , as indicated by the input feedthrough map to the left of the inputs, is singular, in that there are no other inputs that have the same output contribution (outputs 7 and 8 ). Thus, no further inputs may be grouped.
- the nodes may then be grouped by their (modified) input dependencies, i.e., nodes with identical input dependencies may be grouped together, thus partitioning the diagram.
- Nodes 1 - 5 each depending on input 123
- Nodes 6 and 7 each dependent on inputs 123 , and 4
- node 8 dependent on input 4
- the diagram could also be partitioned based on equivalent outputs, which would produce a similar, although possible different partitioning.
- the conversion of non-input data flow nodes to input bound data flow nodes may include performing the partitioning and including for each non-input bound data flow subsystem node in the data flow diagram in a recursive manner.
- this recursion may be performed in a depth-first manner, or, alternatively, in a breadth-first manner, such techniques being well-known in the art of graph theory.
- the recursion is performed depth-first, starting at the bottom (the deepest nodes in the hierarchy, i.e., leaf nodes).
- each non-input bound data flow node e.g., indirect API block
- each non-input bound data flow node may be decomposed or expanded into its corresponding functional nodes, e.g., G-language input bound data flow equivalent functions.
- direct API blocks i.e., input bound primitive or atomic data flow nodes
- the operations may convert a leaf-node simulation subsystem into executable graphical program code, e.g., G-language code, i.e., a block diagram of a virtual instrument.
- the conversion may modify the data flow diagram itself.
- the converting may change the data flow diagram to the input bound data flow diagram.
- the input bound data flow diagram may be a companion diagram (i.e., an underlying diagram) for an original data flow diagram, where the companion diagram executes in lieu of the original diagram, where, for example, the original data flow diagram may be displayed, and where the input bound data flow diagram may not be displayed.
- a companion diagram i.e., an underlying diagram
- the data flow diagram described above may be a copy of an original data flow diagram, where the (unchanged) original data flow diagram is viewable by the user, and the conversion modifies or changes the data flow diagram (the copy) into the input bound data flow diagram, and so the generated input bound data flow diagram may be a companion diagram to the original data flow diagram, as discussed above, where the companion diagram may not be viewable to the user (the user may not even be aware of the companion diagram), and may be executed in place of the original diagram.
- the input bound data flow diagram may be generated from scratch as the data flow diagram is processed.
- each input bound data flow node may be copied to the (new) input bound data flow diagram, and for each non-input bound data flow node in the data flow diagram, the respective two or more input bound data flow nodes determined in 508 may be included in the input bound data flow diagram, which may be a companion diagram with respect to the data flow diagram.
- the processing may be performed per sub-diagram.
- the original data flow diagram may be traversed, e.g., depth-first, bottom up, where sub-diagrams (diagrams in the (hierarchical) data flow diagram) are copied to the (initially empty) input bound data flow diagram and converted as described above.
- the conversion or modification may be performed on sub-diagrams copied from the original data flow diagram, where after the conversion process is complete, all the converted copies of sub-diagrams compose the input bound data flow diagram.
- the conversion process described above may generate the input bound data flow diagram without destroying the original data flow diagram, and may be considered a companion diagram that is associated with the original diagram, as discussed above.
- the original data flow diagram may be modified, and so the input bound data flow diagram will be “out of sync” with the original diagram.
- the above method could simply be repeated with respect to the modified data flow diagram to generate a corresponding input bound data flow diagram; however, this is an inefficient approach, since those portions of the diagram that were not changed would still be processed.
- the method in response to functional changes in the data flow diagram, may include updating the input bound data flow diagram by performing the above-described analyzing and including only with respect to changed portions of the data flow diagram.
- both processing and storage may be saved by avoiding redundancies in the creation and storage of the input bound data flow nodes.
- input bound data flow nodes representing respective partitions (“clumps”) may be stored, and retrieved for use anywhere those partitions (sub-diagram portions) occur in the diagram.
- the created nodes may also be pre-compiled, which may provide further efficiencies, since executing the input bound data flow diagram would necessitate linking in these precompiled nodes, as opposed to having to compile all the nodes from scratch.
- all the input bound data flow nodes may be pre-compiled and stored for later retrieval.
- the compiling and/or linking of pre-compiled code may be performed recursively, possibly as part of the above conversion process. Said another way, in some embodiments, the conversion process may be performed as part of a compilation process, where pre-compiled code is used as desired (and as available or possible).
- FIG. 8 Non-Input Bound Cases in a Case Structure
- FIG. 8 is a high-level flowchart of a method for generating a data flow diagram, according to one embodiment.
- one or more of the method elements described may be performed concurrently, in a different order than shown, or omitted. Additional steps may also be performed as desired.
- the method shown in FIG. 8 may be used in conjunction with any of the computer systems or devices shown in the above figures, among other devices. As shown, this method may operate as follows.
- input specifying a first case structure in a data flow diagram may be received.
- the input may be received as user input to the data flow diagram using a development environment.
- the first case structure may be created automatically in response to input specifying desired functionality, or in response to other stimuli.
- the first case structure may include specification of the cases/frames, the conditions for each case, and/or the graphical code for execution for each case, among others.
- the first case structure includes a case which is a non-input bound data flow entity. Note that, as described above, this case of the first case structure may be a non-input bound data flow entity because it includes at least one non-input bound data flow node, or may only include input bound data flow nodes, but still be a non-input bound data flow entity because of its structure, i.e., its topology.
- a case structure refers to a graphical structure in a diagram which operates to receive input and invoke execution of graphical code based on associated conditions of the case structure.
- the graphical code is contained in an interior portion of the case structure.
- An exemplary case structure is used and described in LabVIEW® provided by National Instruments.
- FIGS. 9A and 9B illustrate an exemplary specified case structure in a data flow diagram. More specifically, FIGS. 9A and 9B illustrate an exemplary data flow diagram with a simulation loop 902 and case structure 904 .
- the exemplary case structure 904 may include a graphical frame (sometimes referred to as a case of the case structure) for each set of conditions. For example, in FIG. 9A , as indicated by the “Case 1 ”, Default label, the case structure 904 is currently displaying code for a first case or frame of the case structure 904 (referred to as 906 ). Each frame may include graphical code which is executed if the conditions for that frame or case is met. As also shown, the exemplary case structure receives inputs and provides outputs.
- each frame may receive and provide the same inputs and outputs.
- the case structure receives numeric 908 and enum 910 as inputs and provides output via numeric 2 912 .
- the code for the first frame when the enum is “Case 1 ”, decrements the received numeric by 1 according to decrementor 914 .
- the numeric is manipulated according to an integrator 915 , which is a non-input bound data flow node.
- FIGS. 9A and 9B illustrate an exemplary specified case structure. Note that this case structure is exemplary only, and other case structures are envisioned.
- each non-input bound data flow node in the first case structure may be converted into a respective plurality of input bound data flow nodes according to the methods described above.
- the plurality of input bound data flow nodes may be mutually independent or independently callable. For example, after conversion, the plurality of input bound data flow nodes may not be directly connected or wired together.
- the first case structure includes any non-input bound data flow nodes (e.g., in one or more of the cases of the first structure), they may be converted to input bound data flow nodes.
- conversion of integrator 915 may result in two non-connected input bound data flow nodes.
- each case of the first case structure may be partitioned into one or more input bound data flow diagram portions.
- at least one of the cases may be partitioned into a plurality of input bound data flow diagram portions. For example, where a case previously included a non-input bound data flow node, two groups of nodes may be easily divided based on the new input bound data flow nodes (or the connectivity thereof). Alternatively, where the case included only input bound data flow nodes, the case may be partitioned based on dependencies.
- each case of the first case structure may be partitioned into one or more input bound data flow diagram portions.
- the first case structure may be replaced with a first conditional structure and one or more second conditional structures.
- the first conditional structure may operate to select or invoke execution (e.g., at runtime) of the data flow diagram portions partitioned in 806 .
- the first conditional structure may itself be a case structure.
- the first conditional structure may include the same conditions associated with the first case structure, and may invoke (or otherwise provide information that results in invocation) the data flow diagram portions of the case associated with the provided condition/trigger (i.e., from the input of the first case structure).
- the first conditional structure may invoke execution of the individual data flow diagram portions according to the cases, conditions, and code specified for the first case structure.
- each first conditional structure may correspond to each case of the case structure. These first conditional structures may thus produce enable signals for invoking execution of the respective data flow diagram portions of their respective case.
- each first conditional structure may correspond to each data flow diagram portion and may invoke execution of the data flow diagram portion according to the condition of the case from which the data flow diagram was originally partitioned.
- each first conditional structure may invoke a single data flow diagram portion (if there is a one-to-one correspondence of the data flow diagram portions) or may produce an enable signal for invoking a plurality of the data flow diagram portions (e.g., according to the conditions of the case which originally contained the data flow diagram portions).
- the first case structure may be replaced by one or more first conditional structures.
- each of the data flow diagram portions may be included in individual conditional structures or case structures in order to invoke conditional execution based on the first conditional structure.
- These case structures may include the data flow diagram portion for the condition of, for example, a TRUE Boolean, and may not include any code when, for example, a FALSE Boolean.
- each of the data flow diagram portions may be conditionally executed based on outputs from the first conditional structure(s). For example, where there is a first conditional structure for each case of the first case structure, the first conditional structure may provide a TRUE or FALSE Boolean which may be provided as input to the conditional structures for each of the data flow diagram portions.
- the first conditional structure(s) may provide input to the conditional structures of each data flow diagram portion in order to invoke execution.
- the one or more second conditional structures may operate to select appropriate output(s) from the data flow diagram portions invoked by the first conditional structure(s). Similar to the first conditional structure, the second conditional structures may include the same conditions associated with the first case structure and may select outputs from the data flow diagram portions of the case associated with the provided condition/trigger. Similar to above, the second conditional structures may be case structures.
- each of the second conditional structures may correspond to an output of the first case structure, e.g., in a one-to-one relationship.
- a conditional structure may be generated which uses the conditions of the first case structure, and the outputs of the data flow diagram portions which correspond to each cases output of the given output.
- Using a conditional structure for each output may allow outputs to fire as soon as possible as opposed to using a single output conditional structure which may require that every input be present even if one of the outputs could already be provided.
- second conditional structures may correspond to each output of the first case structure.
- 808 may be performed in a variety of different methods. For example, replacing the case structure may occur in the data flow diagram in which the case structure was defined. Correspondingly, after the case structure is specified, it may be replaced with the various conditional structures/case structures described above. In other words, the case structure may be removed from the diagram (as displayed to a user) and the new conditional structures/case structures may be automatically included.
- replacing the case structure may occur in a diagram that isn't displayed to the user, e.g., in a companion or underlying diagram.
- the diagram (or a portion or subdiagram) may be copied and the case structure included in the diagram may be replaced according to the methods described above.
- replacing the case structure may occur in a separate diagram without copying the original case structure over.
- a new diagram e.g., a companion diagram or underlying diagram that may be used during execution
- the structures described above may be included in the diagram, e.g., without copying the first case structure.
- Other replacements in the new diagram are envisioned, such as those described above, among others. Where no substitute or change is required, the elements of the original diagram may be simply copied to the new diagram.
- FIG. 10 illustrates an exemplary input bound data flow diagram resulting from one embodiment of the methods described above.
- the exemplary data flow diagram of FIG. 10 corresponds to the automatic replacing of case structure 804 with two first conditional structures, data flow diagram portions with associated case structures, and a second conditional structure.
- FIG. 10 includes case selector wire 1002 (from enum 810 ) which is provided to case structures 1020 and 1040 .
- case structures provide a TRUE or FALSE Boolean to the case structures of each data flow diagram portion ( 1026 , 1046 , and 1048 ).
- the case structure 1020 provides a TRUE Boolean to OR 1024 if the enum provides “Case 1 ” (or any other value than “Case 2 ” since it is default).
- the case structure 1040 provides a TRUE Boolean to OR 1044 if the enum provides “Case 2 ”.
- the case structures 1020 and 1040 correspond to the original conditions of the first case structure.
- FIG. 10 illustrates an exemplary data flow diagram resulting from the conversion of the first case structure to a plurality of case structures. Note that this diagram may or may not be displayed to the user as described above. Note further that this diagram may be used for execution of the original diagram shown in FIGS. 9A and 9B , e.g., at compile or run time.
- the diagram e.g., the original data flow diagram with replacements, or the companion diagram with the conditional structures, may be stored on a memory medium.
- conversions, partitions, and/or structures may be automatically performed and generated. These methods may be especially useful in data flow diagrams such as simulation diagrams where case structures previously could not be implemented. More specifically, the methods described above may allow for the use of case structures in diagrams whose data flow semantics do not allow non-input bound data flow when indirect feedthrough is desired.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
Description
Claims (31)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US11/780,533 US7701869B2 (en) | 2006-07-21 | 2007-07-20 | Generating a data flow diagram |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US82006306P | 2006-07-21 | 2006-07-21 | |
US11/780,533 US7701869B2 (en) | 2006-07-21 | 2007-07-20 | Generating a data flow diagram |
Publications (2)
Publication Number | Publication Date |
---|---|
US20080019378A1 US20080019378A1 (en) | 2008-01-24 |
US7701869B2 true US7701869B2 (en) | 2010-04-20 |
Family
ID=38971391
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/780,533 Active 2028-04-28 US7701869B2 (en) | 2006-07-21 | 2007-07-20 | Generating a data flow diagram |
Country Status (1)
Country | Link |
---|---|
US (1) | US7701869B2 (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110145748A1 (en) * | 2009-12-14 | 2011-06-16 | Ab Initio Technology Llc | Specifying user interface elements |
US8572556B2 (en) | 2010-12-31 | 2013-10-29 | Starlims Corporation | Graphically based method for developing connectivity drivers |
US8694918B2 (en) | 2012-02-06 | 2014-04-08 | International Business Machines Corporation | Conveying hierarchical elements of a user interface |
WO2014126853A1 (en) * | 2013-02-12 | 2014-08-21 | Ab Initio Technology Llc | Building applications for configuring processes |
US20140358506A1 (en) * | 2010-05-27 | 2014-12-04 | The Mathworks, Inc. | Deriving contextual information for an execution constrained model |
US9123002B2 (en) | 2011-05-27 | 2015-09-01 | Abbott Informatics Corporation | Graphically based method for developing rules for managing a laboratory workflow |
US9268619B2 (en) | 2011-12-02 | 2016-02-23 | Abbott Informatics Corporation | System for communicating between a plurality of remote analytical instruments |
US9665956B2 (en) | 2011-05-27 | 2017-05-30 | Abbott Informatics Corporation | Graphically based method for displaying information generated by an instrument |
US9846732B2 (en) | 2009-02-13 | 2017-12-19 | Ab Initio Technology Llc | Communicating with data storage systems |
US10101995B2 (en) | 2016-07-15 | 2018-10-16 | Microsoft Technology Licensing, Llc | Transforming data manipulation code into data workflow |
US10657208B2 (en) | 2010-05-27 | 2020-05-19 | The Mathworks, Inc. | Analyzing model based on design interest |
US10719645B1 (en) | 2010-05-27 | 2020-07-21 | The Mathworks, Inc. | Model structure analysis with integration of transformed slice |
US11423083B2 (en) | 2017-10-27 | 2022-08-23 | Ab Initio Technology Llc | Transforming a specification into a persistent computer program |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9068294B2 (en) | 2009-02-20 | 2015-06-30 | Encore Rail Systems, Inc. | Methods for repair and preventive maintenance of railroad ties using UV curable polymers |
JP2013518733A (en) * | 2010-04-23 | 2013-05-23 | サムスン ヘビー インダストリーズ カンパニー リミテッド | Robot system control method and apparatus |
US8661424B2 (en) * | 2010-09-02 | 2014-02-25 | Honeywell International Inc. | Auto-generation of concurrent code for multi-core applications |
US9134960B2 (en) | 2010-10-29 | 2015-09-15 | International Business Machines Corporation | Numerical graphical flow diagram conversion and comparison |
US9600785B2 (en) * | 2011-01-31 | 2017-03-21 | International Business Machines Corporation | Automatically generated and updated graphical rendering of processes |
EP2587751A1 (en) * | 2011-10-24 | 2013-05-01 | TELEFONAKTIEBOLAGET LM ERICSSON (publ) | Method and arrangement for data clustering |
US9838260B1 (en) | 2014-03-25 | 2017-12-05 | Amazon Technologies, Inc. | Event-based data path detection |
US10467423B1 (en) * | 2014-03-26 | 2019-11-05 | Amazon Technologies, Inc. | Static analysis-based tracking of data in access-controlled systems |
US10728272B1 (en) | 2014-12-17 | 2020-07-28 | Amazon Technologies, Inc. | Risk scoring in a connected graph |
US10567608B2 (en) * | 2016-05-06 | 2020-02-18 | Fuji Xerox Co., Ltd. | Information processing apparatus and non-transitory computer readable medium |
US11853529B2 (en) * | 2016-11-07 | 2023-12-26 | Tableau Software, Inc. | User interface to prepare and curate data for subsequent analysis |
CN113449856A (en) * | 2020-03-27 | 2021-09-28 | 华为技术有限公司 | Control flow graph processing method and related equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5481741A (en) | 1986-04-14 | 1996-01-02 | National Instruments Corporation | Method and apparatus for providing attribute nodes in a graphical data flow environment |
US5732277A (en) | 1986-10-24 | 1998-03-24 | National Instruments Corporation | Graphical system for modelling a process and associated method |
US7076411B2 (en) | 2002-01-15 | 2006-07-11 | National Instruments Corporation | System and method for performing a hardware-in-the-loop simulation using a plurality of graphical programs that share a single graphical user interface |
-
2007
- 2007-07-20 US US11/780,533 patent/US7701869B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5481741A (en) | 1986-04-14 | 1996-01-02 | National Instruments Corporation | Method and apparatus for providing attribute nodes in a graphical data flow environment |
US5732277A (en) | 1986-10-24 | 1998-03-24 | National Instruments Corporation | Graphical system for modelling a process and associated method |
US7076411B2 (en) | 2002-01-15 | 2006-07-11 | National Instruments Corporation | System and method for performing a hardware-in-the-loop simulation using a plurality of graphical programs that share a single graphical user interface |
Non-Patent Citations (1)
Title |
---|
"Writing S Functions," The MathWorks, Version 5, 1998-2003, 564 pages. |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9846732B2 (en) | 2009-02-13 | 2017-12-19 | Ab Initio Technology Llc | Communicating with data storage systems |
US10845962B2 (en) | 2009-12-14 | 2020-11-24 | Ab Initio Technology Llc | Specifying user interface elements |
US20110145748A1 (en) * | 2009-12-14 | 2011-06-16 | Ab Initio Technology Llc | Specifying user interface elements |
US10691578B2 (en) * | 2010-05-27 | 2020-06-23 | The Mathworks, Inc. | Deriving contextual information for an execution constrained model |
US10657029B2 (en) * | 2010-05-27 | 2020-05-19 | The Mathworks, Inc. | Partitioning block diagrams into executable contextual models |
US20140358507A1 (en) * | 2010-05-27 | 2014-12-04 | The Mathworks, Inc. | Partitioning block diagrams into executable contextual models |
US20140358506A1 (en) * | 2010-05-27 | 2014-12-04 | The Mathworks, Inc. | Deriving contextual information for an execution constrained model |
US10719645B1 (en) | 2010-05-27 | 2020-07-21 | The Mathworks, Inc. | Model structure analysis with integration of transformed slice |
US10657208B2 (en) | 2010-05-27 | 2020-05-19 | The Mathworks, Inc. | Analyzing model based on design interest |
US9152391B2 (en) | 2010-12-31 | 2015-10-06 | Abbott Laboratories Inc. | Graphically based method for developing connectivity drivers |
US8572556B2 (en) | 2010-12-31 | 2013-10-29 | Starlims Corporation | Graphically based method for developing connectivity drivers |
US9123002B2 (en) | 2011-05-27 | 2015-09-01 | Abbott Informatics Corporation | Graphically based method for developing rules for managing a laboratory workflow |
US9665956B2 (en) | 2011-05-27 | 2017-05-30 | Abbott Informatics Corporation | Graphically based method for displaying information generated by an instrument |
US9268619B2 (en) | 2011-12-02 | 2016-02-23 | Abbott Informatics Corporation | System for communicating between a plurality of remote analytical instruments |
US8694918B2 (en) | 2012-02-06 | 2014-04-08 | International Business Machines Corporation | Conveying hierarchical elements of a user interface |
WO2014126853A1 (en) * | 2013-02-12 | 2014-08-21 | Ab Initio Technology Llc | Building applications for configuring processes |
US9811233B2 (en) | 2013-02-12 | 2017-11-07 | Ab Initio Technology Llc | Building applications for configuring processes |
US10101995B2 (en) | 2016-07-15 | 2018-10-16 | Microsoft Technology Licensing, Llc | Transforming data manipulation code into data workflow |
US11423083B2 (en) | 2017-10-27 | 2022-08-23 | Ab Initio Technology Llc | Transforming a specification into a persistent computer program |
US12045286B2 (en) | 2017-10-27 | 2024-07-23 | Ab Initio Technology Llc | Transforming a specification into a persistent computer program |
Also Published As
Publication number | Publication date |
---|---|
US20080019378A1 (en) | 2008-01-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7701869B2 (en) | Generating a data flow diagram | |
US8176479B2 (en) | Case structure replacement in a data flow diagram | |
US8146053B2 (en) | Graphical programming environment with first model of computation that includes a structure supporting second model of computation | |
US7530052B2 (en) | Creating and executing a graphical program with first model of computation that includes a structure supporting second model of computation | |
US7954059B2 (en) | Automatic conversion of text-based code having function overloading and dynamic types into a graphical program for compiled execution | |
US7975233B2 (en) | Automatic conversion of a textual language into a graphical program representation | |
US7743362B2 (en) | Automatic generation of application domain specific graphical programs | |
US7836426B2 (en) | Automatic generation of application domain specific graphical programs | |
US8943469B2 (en) | Type generic graphical programming | |
US7000190B2 (en) | System and method for programmatically modifying a graphical program in response to program information | |
US7567890B1 (en) | Conversion of model components into references | |
US7725877B2 (en) | Graphical program which includes an I/O node for hardware abstraction | |
US7840904B2 (en) | Execution target structure node for a graphical program | |
US7216334B2 (en) | Self-determining behavior node for use in creating a graphical program | |
US8448135B2 (en) | Race structure for a graphical program | |
US20110067000A1 (en) | Static Binding of Graphical Programs | |
US20010020291A1 (en) | System and method for programmatically generating a graphical program in response to program information | |
US7606950B2 (en) | Graphical programs with direct memory access FIFO for controller/FPGA communications | |
US20060036799A1 (en) | Multi-platform development and execution of graphical programs | |
US7725874B2 (en) | Combination structure nodes for a graphical program | |
US8423977B2 (en) | Implementing a class oriented data flow program on a programmable hardware element | |
US8375355B2 (en) | Conversion of a class oriented data flow program to a structure oriented data flow program | |
US8356290B2 (en) | Conversion of a class oriented data flow program with inheritance to a structure oriented data flow program | |
US7451436B2 (en) | Aggregate handling of operator overloading | |
US8458682B2 (en) | Conversion of a class oriented data flow program to a structure oriented data flow program with dynamic interpretation of data types |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: NATIONAL INSTRUMENTS CORPORATION, TEXAS Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:HOGAN, KEVIN M.;REEL/FRAME:019582/0753 Effective date: 20070719 Owner name: NATIONAL INSTRUMENTS CORPORATION,TEXAS Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:HOGAN, KEVIN M.;REEL/FRAME:019582/0753 Effective date: 20070719 |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
FPAY | Fee payment |
Year of fee payment: 4 |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552) Year of fee payment: 8 |
|
AS | Assignment |
Owner name: WELLS FARGO BANK, NATIONAL ASSOCIATION, NORTH CAROLINA Free format text: SECURITY INTEREST;ASSIGNORS:NATIONAL INSTRUMENTS CORPORATION;PHASE MATRIX, INC.;REEL/FRAME:052935/0001 Effective date: 20200612 |
|
AS | Assignment |
Owner name: WELLS FARGO BANK, NATIONAL ASSOCIATION, NORTH CAROLINA Free format text: SECURITY INTEREST;ASSIGNOR:NATIONAL INSTRUMENTS CORPORATION;REEL/FRAME:057280/0028 Effective date: 20210618 |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1553); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 12 |
|
AS | Assignment |
Owner name: NATIONAL INSTRUMENTS CORPORATION, TEXAS Free format text: RELEASE OF SECURITY INTEREST IN PATENTS (REEL/FRAME 057280/0028);ASSIGNOR:WELLS FARGO BANK, NATIONAL ASSOCIATION, AS ADMINISTRATIVE AGENT;REEL/FRAME:065231/0466 Effective date: 20231011 Owner name: PHASE MATRIX, INC., CALIFORNIA Free format text: RELEASE OF SECURITY INTEREST IN PATENTS (REEL/FRAME 052935/0001);ASSIGNOR:WELLS FARGO BANK, NATIONAL ASSOCIATION, AS ADMINISTRATIVE AGENT;REEL/FRAME:065653/0463 Effective date: 20231011 Owner name: NATIONAL INSTRUMENTS CORPORATION, TEXAS Free format text: RELEASE OF SECURITY INTEREST IN PATENTS (REEL/FRAME 052935/0001);ASSIGNOR:WELLS FARGO BANK, NATIONAL ASSOCIATION, AS ADMINISTRATIVE AGENT;REEL/FRAME:065653/0463 Effective date: 20231011 |