Overview
Main_Area.vi runs a GUI from which you can plot the graph of two Polynomial Functions, compute the area of the region between them, and save the generated graph in a .png image file. This example illustrates how to manipulate strings, how to use a Run-Time menu, how to evaluate a function, how to use control reference, and some tips about of GUI design.
The Main_Area.vi is a GUI which uses custom menu options and references to other VIs in the attached zip file to create a smooth interface for plotting polynomial functions and calculating the area between them. You can see the methodology used to implement this by opening the block diagram of the various VIs contained within the attached .zip file. The menu.rtm file also shows how to create a custom menu in a top level GUI VI.
To access the block diagram of Main_Area.vi, open the VI, and before pressing "Aceptar Datos" on the splash screen that opens up, press Ctrl + "." to stop the VI. Once the VI is stopped, press Ctrl + E to access the block diagram.
Requirements
Software
LabVIEW Development Environment 8.2 or later
**This document has been updated to meet the current required format for the NI Code Exchange. For more details visit this discussion thread**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
I present them my gallery of snapshots of applications developed in
LabVIEW.
I thank to some members of LabVIEW-user groups for their contributions with regard to the design of GUIs.
LabVIEW GUI Gallery Link: http://forums.lavag.org/gallery-user8339-album77.html
Your GUIs are so smooth! This really is great code!