Build A Vi Front Panel And Block Diagram

The first step is to create the front panel and block diagram of a VI as shown in Figure 3.4. Consider a VI slope (m).vi to find the slope m given the coordinates y1, y2, x1, x2 of a line. The slope m = (y2 – y1)/(x2 – x1).?
modular programming in labview

Enhance your IT skills and proficiency by taking up the LabVIEW Training.

 I Icon And Connector Pane

Subscribe to our youtube channel to get new updates..!

After you build a VI, build the icon and the connector pane so that you can use the VI as a subVI. The icon and connector pane correspond to the function prototype in text-based programming languages. Every VI displays an icon in the upper-right corner of the front panel and block diagram windows. An icon is a graphical representation of a VI. If you use a VI as a subVI, then the icon identifies the subVI on the block diagram of the VI.

Frequently Asked LabVIEW Interview Questions & Answers

The default icon can be changed to a custom icon which contains text, images or a combination of both. Figure 3.5 shows the custom icon and connector pane created for the VI to find the slope of a given line. The icon for the slope VI contains text and images while the connector has four inputs (y1, y2, x1, x2) and one output (m). To create a subVI, you need to build an icon and a connector pane.
Icon & connector panel created for the slope VI

Explore LabVIEW Sample Resumes! Download & Edit, Get Noticed by Top Employers!Download Now!