Example Code

Decimal to Any Base

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

This VI converts a Decimal number to any Base.

 

Description

We have to indicate the decimal number that we want to convert as well as the base we want to obtain.


Requirements

  • LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code

 

  1. Input decimal number to convert and the base we want..
  2. Run the VI and the converted result will show on front panel.

 

 

Additional Information or References 

VI Snippet

1.png

 

 

**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.