LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to compare a given string with a string read from the execution

I need to compare a string read output with a existing string . can you advice a way to it.

0 Kudos
Message 1 of 4
(2,180 Views)

Use the equal function to check if the strings are equal Smiley Happy

If that's not what you need you might want to provide some more information about what you want to achieve.

 

0 Kudos
Message 2 of 4
(2,170 Views)

thank you for your reply. I want to see as true or false when the string matches or not matches with the given string. if you provide a Vi with it for this it's very helpful to me.I 'am using Labview 2011 version. so that, that indicator have to be given to case loop selection terminal for executing true and false cases . This is my intention

0 Kudos
Message 3 of 4
(2,160 Views)

Something like that?

StringCompare.png

 

You can also wire the string directly to the case structure selector terminal and use the comparison string as case selectors.

 

 

0 Kudos
Message 4 of 4
(2,157 Views)