National Instrument's NI LabVIEW
NI LabVIEW Tutorial
Addition of two numbers : To get the addition of two numbers, do the programming as shown below.
Front panel diagram
To add two numbers, take two numeric controls in front panel of LabVIEW, which will denote two numbers. To see the output, take one more numeric indicator as shown in fig. 1.
Fig. 1 - Front panel of addition of two numbers.
Block diagram connection
Do the graphical programming in block diagram as shown in fig. 2.
Fig. 2 - Block diagram programming
Running the application
To run the application, click on run or continuously run button as shown below. Now change the number 1 and number 2. You will find the addition in X+Y indicator.
Fig. 3 - Running LabVIEW program
In the same way multiplication, division, subtraction etc. can be done using LabVIEW.
........Continued in next issue
Read NI LabVIEW tutorials previous article
Next issue topics:
Signals and Graphs