Example Code

Unit Conversion - Meters to Feet

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview

Conversion from meters to feet and inches.

 

Description

This code obtains values in meters and generates the conversion to feet and inches. Not only it displays the feet and inches calculations separately, but it will also prompt a string with the used conversion.

 

Requirements

LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code
1. Insert the values in meters that you would like to convert.
2. Select the Run button.

 

Additional Information or References

Snnipet.png

Regards,
Dan King

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.