System and method for performing type checking for hardware device nodes in a graphical program
First Claim
1. A method for propagating type information for hardware device nodes in a graphical program, wherein the method operates in a computer including a display screen and a user input device, the method comprising:
- displaying on the screen a first hardware device node in the graphical program in response to user input;
associating the first hardware device node with a hardware device;
displaying on the screen a second hardware device node in the graphical program in response to user input;
connecting the first hardware device node to the second hardware device node in response to user input;
propagating information from the first hardware device node to the second hardware device node, wherein the information specifies the hardware device with which the first hardware device node is associated, wherein said propagating occurs in response to said connecting the first hardware device node to the second hardware device node.
5 Assignments
0 Petitions
Accused Products
Abstract
A system and method for propagating type information for hardware device nodes in a graphical program. A hardware device node may be any of various types of nodes relating to hardware devices and may perform any of various hardware-related functions in the graphical program, e.g., may access registers of a hardware device. After displaying a first hardware device node in the graphical program, the user may associate the first hardware device node with a hardware device. A second hardware device node may also be displayed in the graphical program, and the user may connect the first hardware device node to the second hardware device node. In response to connecting the first hardware device node to the second hardware device node, information may be propagated from the first hardware device node to the second hardware device node, wherein the information specifies the hardware device or device class with which the first hardware device node is associated. The second hardware device node may then be automatically, i.e., programmatically, associated with the same hardware device class with which the first hardware device node is associated. A method for performing type checking for a hardware device node in a graphical program is also described, e.g., to ensure that a method or property which the hardware device node is configured to invoke or access is a valid method or property for the hardware device or device class with which the hardware device node is associated.
110 Citations
40 Claims
-
1. A method for propagating type information for hardware device nodes in a graphical program, wherein the method operates in a computer including a display screen and a user input device, the method comprising:
-
displaying on the screen a first hardware device node in the graphical program in response to user input;
associating the first hardware device node with a hardware device;
displaying on the screen a second hardware device node in the graphical program in response to user input;
connecting the first hardware device node to the second hardware device node in response to user input;
propagating information from the first hardware device node to the second hardware device node, wherein the information specifies the hardware device with which the first hardware device node is associated, wherein said propagating occurs in response to said connecting the first hardware device node to the second hardware device node. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method for performing type checking for a hardware device node in a graphical program, wherein the method operates in a computer including a display screen, the method comprising:
-
displaying on the screen a first hardware device node in the graphical program in response to user input;
associating the first hardware device node with a first hardware device class in response to user input;
selecting a method or property of the first hardware device class for the first hardware device node in response to user input;
changing the first hardware device node to have an association with a second hardware device class in response to user input; and
performing type checking to determine whether the method or property is valid for the second hardware device class, in response to said changing the first hardware device node to have an association with the second hardware device class. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 27, 28, 29, 30, 31)
-
-
18. A memory medium comprising program instructions executable to:
-
display a first hardware device node in a graphical program in response to user input;
associate the first hardware device node with a hardware device;
display on the screen a second hardware device node in the graphical program in response to user input;
connect the first hardware device node to the second hardware device node in response to user input;
propagate information from the first hardware device node to the second hardware device node, wherein the information specifies the hardware device with which the first hardware device node is associated, wherein said propagating occurs in response to said connecting the first hardware device node to the second hardware device node.
-
-
26. A memory medium comprising program instructions executable to:
-
display a first hardware device node in a graphical program in response to user input;
associate the first hardware device node with a first hardware device class in response to user input;
select a method or property of the first hardware device class for the first hardware device node in response to user input;
change the first hardware device node to have an association with a second hardware device class in response to user input; and
perform type checking to determine whether the method or property is valid for the second hardware device class, in response to said changing the first hardware device node to have an association with the second hardware device class.
-
-
32. A system for propagating type information for hardware device nodes in a graphical program, the system comprising:
-
a computer including a processor coupled to a memory;
a display screen coupled to the computer;
a user input device coupled to the computer;
wherein the processor is operable to execute program instructions stored in the memory to;
display on the display screen a first hardware device node in a graphical program in response to user input received from the user input device;
associate the first hardware device node with a hardware device;
display on the screen a second hardware device node in the graphical program in response to user input received from the user input device;
connect the first hardware device node to the second hardware device node in response to user input received from the user input device;
propagate information from the first hardware device node to the second hardware device node, wherein the information specifies the hardware device with which the first hardware device node is associated, wherein said propagating occurs in response to said connecting the first hardware device node to the second hardware device node. - View Dependent Claims (33, 34, 35, 36, 37, 38, 40)
-
-
39. A system for performing type checking for a hardware device node in a graphical program, the system comprising:
-
a computer including a processor coupled to a memory;
a display screen coupled to the computer;
wherein the processor is operable to execute program instructions stored in the memory to;
display on the display screen a first hardware device node in a graphical program in response to user input;
associate the first hardware device node with a first hardware device class in response to user input;
select a method or property of the first hardware device class for the first hardware device node in response to user input;
change the first hardware device node to have an association with a second hardware device class in response to user input; and
perform type checking to determine whether the method or property is valid for the second hardware device class, in response to said changing the first hardware device node to have an association with the second hardware device class.
-
Specification