![](https://www.opentextbooks.org.hk/sites/opentextbooks/files/book_profile/cc_icon/by-sa.png)
Save a copy of Interactivity.vi as Parallel Programming.vi. Select the while loop as shown in Select Diagram for Parallel Programming.
![media/image93.png](http://www.opentextbooks.org.hk/system/files/resource/8/8091/8105/media/image93.png)
From the menu select Edit » Copy.
![media/image94.png](http://www.opentextbooks.org.hk/system/files/resource/8/8091/8105/media/image94.png)
Create a copy of the while loop and its contents by selecting Edit » Paste. Organize the diagram as shown in the figure below.
![media/image95.png](http://www.opentextbooks.org.hk/system/files/resource/8/8091/8105/media/image95.png)
Go the Front Panel window and organize the input and output controls as shown in the figure below.
![media/image96.png](http://www.opentextbooks.org.hk/system/files/resource/8/8091/8105/media/image96.png)
Congratulations!!! You have just completed your frst parallel interactive program using G. Save the program, run it and interact with it. To end this program click on stop and stop 2.
![media/image97.png](http://www.opentextbooks.org.hk/system/files/resource/8/8091/8105/media/image97.png)
- 1243 reads