Patent ID: 8185835

Claim:
A computer-implemented method comprising: displaying a block diagram including a plurality of interconnected nodes which visually indicate functionality of a graphical program, wherein the plurality of interconnected nodes includes a first node configured to perform a first numerical function during execution of the graphical program; in response to user input, configuring the first node to receive data values; in response to user input, configuring the first node with criteria information indicating that the first numerical function is to be performed on a subset, but not all, of the data values received by the first node; executing the graphical program, wherein said executing the graphical program comprises executing the first node, wherein the first node executes to: at each respective time of a plurality of different times, receive a respective data value and maintain state information to keep track of the respective data value; at a particular time subsequent to the plurality of times, receive an additional data value; and in response to receiving the additional data value at the particular time, perform the first numerical function on a particular subset, but not all, of the data values received by the first node, wherein the particular subset includes the additional data value received at the particular time and one or more of the previously received data values specified by the state information, wherein the particular subset is selected depending upon the criteria information.