To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example calculates the theoretical value of the resistor based on the supplied band colors.
Requirements
LabVIEW Base Development System 2012 or compatible
Description
This VI takes an input of 3 different resistance band colors and calculates the resistance of the corresponding resistor. The VI utilizes case structures for each popssible color, and contains the value for the specific resistance. There is also a boolean indicator that will illuminate if an invalid color is typed in.
Steps to Implement or Execute Code
Additional Information or References
Top-level VI Code Snippet
**The code for this example has been edited to meet the new Community Example Style Guidelines.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.