LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need to change from a True/False to a O or 1 output.

Solved!
Go to solution

Need to change from a True/False to a O or 1 output. I have a grahical switch which is giving me a True/false output. I need a 0 or 1 output.


Thanks,
Ed

 

0 Kudos
Message 1 of 8
(6,535 Views)
Have you tried the Help? Or you can also search the functions palette. Boolean to 0,1.
0 Kudos
Message 2 of 8
(6,532 Views)
Solution
Accepted by topic author Edis Here
Take a peek inside the Boolean palette on the block diagram.
0 Kudos
Message 3 of 8
(6,530 Views)

On the boolean palette you will find the Boolean to 0,1 function:

 

BooleanToNum.jpg

 

     Rob

0 Kudos
Message 4 of 8
(6,526 Views)

I'm amused over the fact that Darin simply gave him a hint, while I explicitly gave a link saying which function to use, but Darin got the solution.

 

I suspect he didn't like the fact that I chided him for not using the tools available to him, like the Help and search.  Smiley Very Happy

0 Kudos
Message 5 of 8
(6,520 Views)

Or the fact that Darin just types faster than we do?

 

Getting a solution is what matters anyway and we were all in agreement on the solution.

 

     Rob

0 Kudos
Message 6 of 8
(6,518 Views)
He could have thanked us for the help and then marked that message as the solution.  Smiley Tongue
0 Kudos
Message 7 of 8
(6,506 Views)

Robert Cole wrote:

Or the fact that Darin just types faster than we do?


Actually, if you'll note, mine was posted one minute before Darin's.  Smiley Wink

 


Getting a solution is what matters anyway and we were all in agreement on the solution.

Quite true.

 

0 Kudos
Message 8 of 8
(6,481 Views)