You are here

Parallel Programming

26 July, 2019 - 09:47
Available under Creative Commons-ShareAlike 4.0 International License. Download for free at http://cnx.org/contents/5b6e61df-b830-48cb-9764-94696cb47c80@1.3

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
Figure 1.91 Select Diagram for Parallel Programming  

From the menu select Edit » Copy.

media/image94.png
Figure 1.92 Copy Selected Diagram 

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
Figure 1.93 Paste Diagram  

Go the Front Panel window and organize the input and output controls as shown in the figure below.

media/image96.png
Figure 1.94 Parallel G Program 

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
Figure 1.95 Parallel Interactive G Program