Overview
This VI shows how to use case structures to calculate BMI.
Description
This code taks in a patient's height and weight, then, using case structures, outputs the patient's status. Depending on the BMI, the patient is either underweight, normal, or overweight.
Requirements
- LabVIEW 2012 (or compatible)
Steps to Implement or Execute Code
- Enter the patient's weight into "Patient's Weight."
- Enter the patient's height into "Patient's Height."
- The Status and the BMI for the patient will be output in the "Output Information" section.
- The program will run continuously and patient values can be entered until the stop button is pressed.
Additional Information or References
VI Snippet

**This document has been updated to meet the current required format for the NI Code Exchange.**