LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i make a condotion using a string?

can I use the string as a condition?


Thenk You
0 Kudos
Message 1 of 3
(2,703 Views)
yes you can as an input to a case structure or as inputs into the conditional functions such as an equals function. These functions are polymorphic and will allow you to connect various data types and compare them.
BJD1613

Lead Test Tools Development Engineer

Philips Respironics

Certified LV Architect / Instructor
0 Kudos
Message 2 of 3
(2,703 Views)
> can I use the string as a condition?
>

If you mean for a case structure, then the answer is yes as of something
like LV5.1 or LV6. You enter in the strings with quotes and comma
separated. I suspect there is an example of this. If this isn't
powerful enough because you want wildcarding and such, use Match Pattern
or other code in front of the case and output an integer or enum.

Greg McKaskle
0 Kudos
Message 3 of 3
(2,703 Views)