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: 

write and read boolean data

Hi,

i have wrriten a simple program, which compares two numeric values. when we run the program , it compares the valurs , anf if they are equal than the boolean indicator goes to green, and visaversa. I want to read the boolean out put that is on/off  to message. hoe can i convert the boolean value to text?

 

Thanks

0 Kudos
Message 1 of 7
(4,004 Views)
use the boolean to (0,1) it is under numeric and than conversion on the block diagram:)
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Message 2 of 7
(4,001 Views)
simple example:
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Message 3 of 7
(4,000 Views)
this one goes to text:)
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Message 4 of 7
(3,999 Views)

here is a better example:

 

hope this helps

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Message 5 of 7
(3,964 Views)

If you simply want to pick between two strings depending on the boolean, you can do one of the following:

 

Message Edited by altenbach on 05-15-2009 12:43 AM
Message 6 of 7
(3,956 Views)
Since he's using an "LED", if the Boolean Text is on, this is a very easy way to do it.
Richard






Message 7 of 7
(3,937 Views)