# US 2006/0041859 A1 · Synchronizing execution of graphical programs executing on different computer systems

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2006/0041859 A1
- Document ID: US20060041859A1
- Status: Published application
- Kind: A1
- Application number: 11/204,779
- Filed: 2005-08-16
- Published: 2006-02-23
- Earliest claimed: 2004-07-16
- Assignees: National Instruments Corporation
- Inventors: Aljosa Vrancic; Jacob Kornerup
- Web page: https://patentgrep.com/patent/US20060041859A1

## CPC

- G06F 11/323: {Visualisation of programs or trace data}
- G06F 8/34: Graphical or visual programming
- G06F 9/451: Execution arrangements for user interfaces
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 2209/544: Remote
- G06F 2209/545: Gui
- H04L 43/00: Arrangements for monitoring or testing data switching networks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A first graphical program executing on a first device may execute a first graphical code portion for a plurality of iteration. Various systems and methods for synchronizing the execution of the iterations of the first graphical code portion with graphical code portions executing iteratively in graphical programs on other devices are described. Various systems and methods for synchronizing the execution of the iterations of the first graphical code portion with operation of measurement devices or other devices are also described.

## Claims

### Claim 1

A system comprising:
a network;
a first device coupled to the network, wherein the first device executes a first graphical program, wherein the first graphical program comprises a plurality of interconnected nodes that visually indicate functionality of the first graphical program;
a second device coupled to the network;
wherein the first graphical program is operable to execute a first graphical code portion for a plurality of iterations, wherein the iterations of the first graphical code portion are timed based on at least one of:
a clock of the second device; and/or
events originating from the second device.

### Claim 2 (depends on 1)

The system of claim 1,
wherein the first graphical code portion comprises one or more nodes of the graphical program.

### Claim 3 (depends on 1)

The system of claim 1,
wherein the first graphical program includes a timed loop, wherein the timed loop is operable to perform said executing the first graphical code portion for the plurality of iterations, wherein the timed loop is timed based on the at least one of:
a clock of the second device; and/or
events originating from the second device.

### Claim 4 (depends on 1)

The system of claim 1, further comprising:
a third device coupled to the network, wherein the third device executes a second graphical program;
wherein the second graphical program is operable to execute a second graphical code portion for a plurality of iterations, wherein the iterations of the second graphical code portion are timed based on the clock of the second device;
wherein the iterations of the first graphical code portion are timed based on the clock of the second device;
wherein the clock of the second device provides a common timing source for synchronizing the iterations of the first graphical code portion in the first graphical program executing on the first device with the iterations of the second graphical code portion in the second graphical program executing on the third device.

### Claim 5 (depends on 4)

The system of claim 4, further comprising:
a third device coupled to the network, wherein the third device comprises a measurement device;
wherein a clock of the measurement device is synchronized with the clock of the second device;
wherein the iterations of the first graphical code portion are timed based on the clock of the second device;
wherein the clock of the second device provides a common timing source for synchronizing the iterations of the first graphical code portion in the first graphical program with operation of the measurement device.

### Claim 6 (depends on 1)

The system of claim 1, further comprising:
a third device coupled to the first device, wherein the third device comprises a measurement device;
wherein a clock of the measurement device is synchronized with the clock of the second device;
wherein the iterations of the first graphical code portion are timed based on the clock of the second device;
wherein the clock of the second device provides a common timing source for synchronizing the iterations of the first graphical code portion in the first graphical gram with operation of the measurement device.

### Claim 7 (depends on 1)

The system of claim 1,
wherein the second device executes a second graphical program;
wherein the second graphical program is operable to execute a second graphical de portion for a plurality of iterations, wherein the iterations of the second graphical de portion are timed based on the clock of the second device;
wherein the iterations of the first graphical code portion are timed based on the lock of the second device;
wherein the clock of the second device provides a common timing source for synchronizing the iterations of the first graphical code portion in the first graphical program executing on the first device with the iterations of the second graphical code portion in the second graphical program executing on the second device.

### Claim 8 (depends on 1)

The system of claim 1,
wherein the iterations of the first graphical code portion are timed based on events originating from the second device;
wherein the second device executes a second graphical program, wherein the second graphical program is operable to execute a second graphical code portion for a plurality of iterations;
wherein each iteration of the second graphical code portion in the second graphical program results in an event that causes an iteration of the first graphical code portion in the first graphical program to occur.

### Claim 9 (depends on 8)

The system of claim 8,
wherein each iteration of the second graphical code portion in the second graphical program is operable to send data to the first graphical program, wherein said sending data to the first graphical program results in the event that causes the iteration of the first graphical code portion in the first graphical program to occur.

### Claim 10 (depends on 1)

The system of claim 1,
wherein the iterations of the first graphical code portion are timed based on events originating from a second graphical program executing on the second device;
wherein each event is generated in response to the first graphical program executing on the first device receiving a data value from the second graphical program executing on the second device.

### Claim 11 (depends on 1)

The system of claim 1,
wherein the second device executes a second graphical program;
wherein the iterations of the first graphical code portion are timed based on events originating from the second graphical program executing on the second device;
wherein each event originating from the second graphical program executing on the second device indicates that the first graphical program has received a data value from the second graphical program executing on the second device.

### Claim 12 (depends on 1)

The system of claim 1,
wherein the second device comprises a measurement device;
wherein the iterations of the first graphical code portion are timed based on at least one of:
a clock of the measurement device; and/or
events originating from the measurement device.

### Claim 13

A system comprising:
a network;
a first device coupled to the network, wherein the first device executes a first graphical program, wherein the first graphical program comprises a plurality of interconnected nodes that visually indicate functionality of the first graphical program;
a second device coupled to the network;
wherein the first graphical program is operable to execute a first graphical code portion, wherein the execution of the first graphical code portion is timed based on at least one of:
a clock of the second device; and/or
events originating from the second device.

### Claim 14 (depends on 13)

The system of claim 13,
wherein the first graphical program is operable to execute the first graphical code portion for a plurality of iterations, wherein the iterations of the first graphical code portion are timed based on the at least one of:
a clock of the second device; and/or
events originating from the second device.

### Claim 15 (depends on 13)

The system of claim 13,
wherein the first graphical code portion comprises a sequence of sub-portions to be executed sequentially, wherein each sub-portion comprises one or more nodes;
wherein said executing the first graphical code portion comprises sequentially executing the sequence of sub-portions, wherein the execution of one or more of the sub-portions is timed based on the at least one of:
a clock of the second device; and/or
events originating from the second device.

### Claim 16

A carrier medium for creating a first graphical program, the carrier medium comprising program instructions executable to:
include a first node in the first graphical program, wherein the first graphical program comprises a plurality of interconnected nodes that visually indicate functionality of the graphical program;
associate one or more function nodes with the first node; and
configure the first node to receive a first network event;
wherein the first node is operable to cause the one or more function nodes to execute in response to receiving the first network event.

### Claim 17 (depends on 16)

The carrier medium of claim 16,
wherein the first node is operable to execute a timed loop for a plurality of iterations, wherein the one or more function nodes are executed in each iteration, wherein the iterations are timed based on the first network event.

### Claim 18 (depends on 17)

The carrier medium of claim 17,
wherein the first node visually indicates that the one or more function nodes are executed for the plurality of iterations.

### Claim 19 (depends on 17)

The carrier medium of claim 17,
wherein the first node comprises an interior portion;
wherein the one or more function nodes are displayed within the interior portion of the first node.

### Claim 20 (depends on 16)

The carrier medium of claim 16,
wherein the first graphical program executes on a first computer system;
wherein the first network event is generated in response to the first computer system receiving one or more messages over a network.

### Claim 21 (depends on 16)

The carrier medium of claim 16,
wherein the first graphical program executes on a first computer system;
wherein the first network event is generated in response to the first computer stem sending one or more messages over a network.

### Claim 22 (depends on 16)

The carrier medium of claim 16,
wherein the first network event indicates that a first type of network communication has occurred.

### Claim 23 (depends on 16)

The carrier medium of claim 16,
wherein the first graphical program includes a first-variable;
wherein the first network event indicates that a value for the first variable has been received over a network.

### Claim 24 (depends on 16)

The carrier medium of claim 16,
wherein the first graphical program includes a first variable;
wherein the first network event indicates that a value for the first variable has been sent over a network.

### Claim 25 (depends on 16)

The carrier medium of claim 16,
wherein the one or more function nodes comprise a plurality of graphical code portions to be executed in a sequential order;
wherein the first node is operable to execute the plurality of graphical code portions in the sequential order in response to receiving the first network event.

### Claim 26 (depends on 16)

The carrier medium of claim 16, wherein the program instructions are further executable to:
display a graphical user interface (GUI) associated with the first node, wherein the first node is configured to receive the first network event in response to user input to the GUI.

### Claim 27

A computer-implemented method for creating and executing a graphical program, the method comprising:
displaying a first node in the graphical program, wherein the graphical program comprises a plurality of interconnected nodes that visually indicate functionality of the graphical program, wherein the first node has an appearance that visually indicates control of timing of execution of nodes associated with the first node;
displaying one or more function nodes associated with the first node;
configuring timing information for the first node based on a first network event, wherein said configuring is performed in response to user input; and
executing the graphical program, wherein said executing comprises:
generating the first network event in response to one or more messages received over a network;
the first node causing the one or more function nodes to execute when the first network event is generated.

### Claim 28

A method for synchronizing execution of a first graphical program and a second graphical program, the method comprising:
configuring the first graphical program to perform a first loop, wherein the first loop is operable to execute a first graphical code portion for a plurality of iterations;
configuring the, second graphical program to perform a second loop, wherein the second loop is operable to execute a second graphical code portion for a plurality of iterations; and
configuring the first loop in the first graphical program and the second loop in the second graphical program to iterate based on a common timing source.

### Claim 29 (depends on 28)

The method of claim 28, further comprising:
executing the first graphical program on a first computer system; and
executing the second graphical program on a second computer system;
wherein the common timing source controls timing of both the first loop in the first graphical program and the second loop in the second graphical program.

### Claim 30 (depends on 28)

The method of claim 28,
wherein said common timing source controlling timing of both the first loop in the first graphical program and the second loop in the second graphical program enables the loops to execute in synchronization with each other.

### Claim 31

A system for controlling execution of a first graphical program, the system comprising:
a network operable to support communication according to a network cycle; and
a first computer system coupled to the network;
wherein the first computer system executes the first graphical program, wherein the first graphical program comprises a plurality of interconnected nodes that visually indicate functionality of the first graphical program;
wherein the first graphical program is operable to execute a first graphical code portion for a plurality of iterations, wherein the iterations of the first graphical code portion are timed based on the network cycle of the network..

### Claim 32 (depends on 31)

The system of claim 31,
wherein timing the iterations of the first graphical code portion based on the network cycle of the network comprises causing each iteration of the first graphical code portion to begin executing at a first time relative to a start time of the network cycle.

### Claim 33 (depends on 31)

The system of claim 31,
wherein the network cycle comprises a plurality of time slots;
wherein timing the iterations of the first graphical code portion based on the network cycle of the network comprises causing each iteration of the first graphical code portion to begin executing at a first time slot in the network cycle.
