LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Design in Labview that will input a decimal number from 0 to 15 and convert it into a 4-bit binary

hey, im new in labview so , how to Design in Labview that will input a decimal number from 0 to 15 and convert it into a 4-bit binary number and the Whole VI should be controlled by a stop button.


If the user given number is out of range then error message should be displayed.


Binary number should be displayed in form of LEDs.

0 Kudos
Message 1 of 2
(477 Views)

Hi nxysi,

 


@nxysi wrote:

hey, im new in labview so , how to Design in Labview that will input a decimal number from 0 to 15 and convert it into a 4-bit binary number and the Whole VI should be controlled by a stop button.


If the user given number is out of range then error message should be displayed.


Binary number should be displayed in form of LEDs.


So you need:

  • a while loop
  • a stop button
  • an integer (!) control (maybe with limited input range!?)
  • a simple function from boolean palette
  • an array (!) of LED indicators

What have you tried so far and where are you stuck?

We generally tend to NOT solve your homework…

  • don't forget the wait function inside the loop (!)
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 2
(454 Views)