Labwew

736 Words2 Pages

LabVIEW and its Capabilities

LabVIEW uses a graphical programming language known as “G.” While using LabVIEW, one can create a graphical block diagram with a number of different functions, all of which are connected through the use of wires. A LabVIEW program, also known as a virtual instrument (VI), is made up of three components, including the block diagram, front panel, and connector panel. The block diagram, also known as the back panel, is where the programmer defines the graphical source code, as the front panel defines the user interface by using controls and indicators. Controls, or inputs, supply information to the program while indicators are considered the outputs, and display the results in a variety of ways in the program. Charts, graphs, and knobs, all of which are fully customizable, are located in the front panel. Controls, indicators, and functions are classified as nodes in LabVIEW and can be connected using wires in the VI. One of the many benefits of LabVIEW is the use of graphical nodes in creating programs. For example, three controls and an indicator can be wired to the multiplication function so that the indicator will display the product of the three controls. This demonstrates the simplicity LabVIEW presents in testing a program. LabVIEW provides all of the tools engineers and scientists need in one place, and its graphical approach reduces the complexity sometimes found in other programming systems. LabVIEW is equipped with a number of libraries with numerous functions for analysis, mathematics, signal generation, etc. and uses, as recently stated, the graphical approach, enabling programmers with minimal experience to write a program.

Procedure in Completing Assignment
Two signals were created and di...

... middle of paper ...

...s A and B are connected to the amplitudes of Signal A and Signal B respectively. The amplitudes of the signals oscillate when the knobs are turned. Signals A and B are both wired to the waveform chart and EX table. This allowed both of the signals to be graphed on the waveform chart as well as their respective values placed in the EX table. Signal B is also connected to a comparison block and an LED. When Signal B has amplitude greater than two units, the LED flashes, as indicated by the comparison block. A time delay block was also added to the virtual instrument, delaying the execution of the program by 0.1 seconds. All of these graphical nodes are placed inside a for-loop, with a maximum of 100 loops. The figures below show the signals graphed on the waveform chart as well as their values listed in the EX table with Knobs A and B and the LED in the front panel.

More about Labwew

Open Document