LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to transfer a float number to boolean

Solved!
Go to solution

I want to transfer a float number to a boolean array? How can I achieve?

0 Kudos
Message 1 of 11
(3,565 Views)
Solution
Accepted by topic author YoungHang

Hi,

 

Just refer to the example in this link: http://digital.ni.com/public.nsf/allkb/DD5AFE8E829DC16D86256BDF005E1F95

 

Hope that helps

 

Warmest regards,

Lennard.C

Learning new things everyday...
Message 2 of 11
(3,557 Views)

What will you do with the boolean array?

Certified LabVIEW Developer
0 Kudos
Message 3 of 11
(3,555 Views)

output through NI PCI 6541

0 Kudos
Message 4 of 11
(3,551 Views)

thank you so much!

0 Kudos
Message 5 of 11
(3,545 Views)

another question: how can I thransfer a decimal to a 16bits binary number?

0 Kudos
Message 6 of 11
(3,542 Views)

Hi,

 

I would suggest that you should try it yourself before asking those questions. My suggestion is that you should play around with the example from the link I have sent to you and read the explaination in it as well.

 

Warmest regards,

Lennard.C 

Learning new things everyday...
0 Kudos
Message 7 of 11
(3,531 Views)

'Number to boolean array.'

0 Kudos
Message 8 of 11
(3,525 Views)

but actually "number to boolean array" can only transfer a integer or fixed-point number to boolean array , not float number

0 Kudos
Message 9 of 11
(3,505 Views)

@YoungHang wrote:

but actually "number to boolean array" can only transfer a integer or fixed-point number to boolean array , not float number


Just typecast the DBL to U64 first.

0 Kudos
Message 10 of 11
(3,497 Views)