National Instruments BridgeVIEW 用户手册

下载
页码 455
Chapter 12
Case and Sequence Structures and the Formula Node
© National Instruments Corporation
12-9
Frame 0 in the previous illustration contains a small box with an arrow 
in it. That box is a sequence local variable which passes data between 
frames of a Sequence structure. You can create sequence locals on the 
border of a frame. Then, the data wired to a frame sequence local is 
available in subsequent frames. However, you cannot access the data 
in frames preceding the frame in which you created the sequence local.
13. Create the sequence local by popping up on the bottom border of 
Frame 0 and choosing Add Sequence Local.
The sequence local appears as an empty square. The arrow inside 
the square appears automatically when you wire a function to the 
sequence local.
14. Finish the block diagram as shown in the opening illustration of the 
 section in this activity.
Tick Count (ms) function (Functions»Time & Dialog)—Returns the 
number of milliseconds that have elapsed since power on. For this 
activity, you need two Tick Count functions.
Random Number (0–1) function (Functions»Numeric)—Returns a 
random number between 0 and 1.
Multiply function (Functions»Numeric)—In this activity, the 
function multiplies the random number by 100.
Numeric Constant function (Functions»Numeric)—In this activity, 
the numeric constant represents the maximum number that can be 
multiplied.