ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Integer number to binary labview

Solved!
Go to solution

Hi all

Would like to know how to  to convert the output Integer to binary .

Thanks

0 Kudos
Message 1 of 7
(10,060 Views)

There's a Integer to Boolean Array function, is that what you're after?

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 7
(10,056 Views)

there is a standard function called "Number to Boolean Array" in the Numeric -> Conversion palette.

is that what you were looking for?

NOTE: the num to bool array conversion, does not work on arrays, you would need to put that in an autoindexing loop.

 

EDIT:

a1.png


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
0 Kudos
Message 3 of 7
(10,056 Views)

Thanks for your fast response. I don't need Boolean because I will send this binary data to FPGA.

0 Kudos
Message 4 of 7
(10,040 Views)
Solution
Accepted by Sattam

i guess you have to be more transparent what you want to accomplish.

 

your data is binary already, all you see is a representation of that.


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
Message 5 of 7
(10,037 Views)
Solution
Accepted by Sattam

@Sattam wrote:

I don't need Boolean because I will send this binary data to FPGA.


Just pass the integer directly to your FPGA then.  After all, an integer is nothing but a series of bits interpreted in a specific manner.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 6 of 7
(10,016 Views)

Thanks

0 Kudos
Message 7 of 7
(10,006 Views)