Execution order block for graphical programming
First Claim
1. An apparatus for specifying an execution order of subtrees in a graphical block diagram, comprising:
- one or more processors; and
one or more non-transitory computer-readable media including one or more sequences of instructions which, when executed by the one or more processors, causes the one or more processors to perform operations comprising;
receiving data indicating a set of graphical blocks, the set of graphical blocks comprising;
an execution order block including a plurality of input pins, anda plurality of additional graphical blocks,wherein each input pin of the plurality of input pins is attached to respective graphical block of the plurality of additional graphical blocks, andwherein the execution order block defines an execution order of the graphical blocks attached to the plurality of input pins; and
responsive to user input, generating, using a graphical processor, the graphical block diagram for display on an output screen, the graphical block diagram comprising at least some of the graphical blocks of the set of graphical blocks arranged in parallel subtrees of a root graphical block, the root graphical block being selected from among the set of graphical blocks, the parallel subtrees including at least a first subtree and a second subtree, and the graphical block diagram including the execution order block, the plurality of input pins comprising at least a first input pin and a second input pin, the first subtree connected to the first input pin and the second subtree connected to the second input pin; and
interpreting, using a graphical block diagram parser, the graphical block diagram such that, when the graphical block diagram is executed, the first subtree and the second subtree are executed according to the execution order defined by the execution order block.
3 Assignments
0 Petitions
Accused Products
Abstract
A graphical block diagram can use an execution order block to enforce an execution order for parallel subtrees. A graphical data flow block diagram is generated that includes parallel subtrees. The parallel subtrees can be connected to input pins of the execution order block in the execution order. The parallel subtrees are processed in the execution order before other blocks connected to the parallel subtrees are processed according to the normal execution order of the graphical program. The execution order of the execution order block is not affected by the other blocks, and the normal execution order of the other blocks according to the graphical program is not affected by the execution order of the execution order block. The techniques described herein improve a model-based development platform.
-
Citations
19 Claims
-
1. An apparatus for specifying an execution order of subtrees in a graphical block diagram, comprising:
-
one or more processors; and one or more non-transitory computer-readable media including one or more sequences of instructions which, when executed by the one or more processors, causes the one or more processors to perform operations comprising; receiving data indicating a set of graphical blocks, the set of graphical blocks comprising; an execution order block including a plurality of input pins, and a plurality of additional graphical blocks, wherein each input pin of the plurality of input pins is attached to respective graphical block of the plurality of additional graphical blocks, and wherein the execution order block defines an execution order of the graphical blocks attached to the plurality of input pins; and responsive to user input, generating, using a graphical processor, the graphical block diagram for display on an output screen, the graphical block diagram comprising at least some of the graphical blocks of the set of graphical blocks arranged in parallel subtrees of a root graphical block, the root graphical block being selected from among the set of graphical blocks, the parallel subtrees including at least a first subtree and a second subtree, and the graphical block diagram including the execution order block, the plurality of input pins comprising at least a first input pin and a second input pin, the first subtree connected to the first input pin and the second subtree connected to the second input pin; and interpreting, using a graphical block diagram parser, the graphical block diagram such that, when the graphical block diagram is executed, the first subtree and the second subtree are executed according to the execution order defined by the execution order block. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A method for processing a graphical block diagram, comprising:
-
receiving, at a computing device, the graphical block diagram comprising a set of graphical blocks, at least some of the graphical blocks of the set of graphical blocks arranged in parallel subtrees of a root graphical block of the set of graphical block, the parallel subtrees including at least a first subtree and a second subtree, and the graphical block diagram including an execution order block of the set of graphical blocks having at least a first input and a second input, the first subtree connected to the first input and the second subtree connected to the second input; interpreting the graphical block diagram such that, when the graphical block diagram is executed, the first subtree and the second subtree are executed according to an execution order of the execution order block before other graphical blocks of the set of graphical blocks connected to the root graphical block without affecting an execution order of the other graphical blocks, the execution order of the execution order block defined by an ordering of inputs of the execution order block, and the execution order of the other graphical blocks based on a layout of the graphical block diagram. - View Dependent Claims (14, 15, 16, 17)
-
-
18. A method for producing a graphical block diagram, comprising:
-
presenting, for viewing by a user, a set of graphical blocks comprising; an execution order block having a variable number plurality of inputs and no output, a plurality of additional graphical blocks, wherein each input of the plurality of inputs is attached to respective graphical block of the plurality of additional graphical blocks, and wherein the execution order block defines an execution order of the graphical blocks attached to the plurality of inputs; generating, responsive to input from the user, the graphical block diagram for display on an output screen, the graphical block diagram comprising at least some of the graphical blocks of the set of graphical blocks arranged in parallel subtrees of a root graphical block, the root graphical block being selected from among the set of graphical blocks, the parallel subtrees including at least a first subtree and a second subtree, and the graphical block diagram including the execution order block, the plurality of inputs comprising at least a first input and a second input, the first subtree connected to the first input and the second subtree connected to the second input; and interpreting the graphical block diagram such that, when the graphical block diagram is executed, the first subtree and the second subtree are executed according to the execution order defined by the execution order block. - View Dependent Claims (19)
-
Specification