To download NI software, including the products shown below, visit ni.com/downloads.
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
Steps to Implement or Execute Code
Additional Information or References
VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.