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: 

String Arrays

How do you create a constant string array in LabView 6 suitable for input to
the Match First String function?

Thanks...Ed
0 Kudos
Message 1 of 4
(3,033 Views)
If in doubt, rt-click on the terminal and select create Control or Constant.
I've attached a quick-example that should point you along. Basically the input is an array with strings as the elements.
0 Kudos
Message 2 of 4
(3,033 Views)
This vi is mostly incorrect, and I added a corrected one (8/5).
0 Kudos
Message 4 of 4
(3,033 Views)
Ed, This is a correction to my answer of 8/4. (don't know what I was thinking yesterday...).
This corrected example shows how to create the constant array you ask about. Its done on the block diagram with strings, then through a build array, then input to terminal of said VI. I put some test data in the attached with another explanation to show.
Doug
0 Kudos
Message 3 of 4
(3,033 Views)