LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do u convert string to boolean?

Hi ,
Please find attached part of as vi. Global string is a global variable of string type. I would like to know how to connect it to the  rest of the block diagram. The case structure shown is of boolean type.The global string must display the color indicated in the case structure which  is red .
 
Thanks
SR
0 Kudos
Message 1 of 4
(4,267 Views)
What you've got doesn't make any sense. The global you call 'Global String' is not of string type. It is a Boolean type. You also don't have any case structure. You've got a Select function, and none of the values wired to the property node make any sense. Why are you wiring a color constant to the justify property for example?
0 Kudos
Message 2 of 4
(4,259 Views)
Hi,
   I want to be able to make the contents of global string to be displayed in a single color that is set by the property node(red color). How do i achieve this ?
Thanks
SR

0 Kudos
Message 3 of 4
(4,256 Views)

If you do something like the attached picture, it will set the value of a string indicator and color the text either red or green. You are making things way too complicated and the code you've tried to implement isn't even close to what you want to accomplish and the Boolean to String isn't what was suggested in your other post on the subject.

Message Edited by Dennis Knutson on 07-18-2006 12:22 PM

0 Kudos
Message 4 of 4
(4,250 Views)