© National Instruments Corporation 33 NI RF Signal Generators Getting Started Guide
Figure 16. Enclose niRFSG Check Generation Status VI in the While Loop
17. Right-click the While Loop tunnels and select Replace with Shift
Register.
18. Select the Unbundle by Name primitive on the Functions»
Programming»Cluster & Variant palette. Place the primitive inside
the While Loop.
19. Wire the error out terminal of the niRFSG Check Generation Status
VI to the Unbundle by Name primitive.
20. Wire the output terminal of the status element to the Loop Condition
terminal of the While Loop using a logical Or gate.
21. Right-click the unused input terminal of the Or gate and select
Create»Control to create a STOP button on the VI front panel.
The portion of the block diagram resulting from steps 18 through 21
is shown in Figure 17.
Figure 17. While Loop with STOP Button
Complete steps 22 and 23 to add an error indicator to the VI front panel.