LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using VI Scripting to find value of Array of String Constants

Solved!
Go to solution

How can I find the value of an Array of Sting Constants using VI Scripting? The included code only returns one of the values in the Array. Is there a way to return all the values?

Thanks,

—Ben
Prevent your computer from sleeping programmatically!
Use Power Requests
Download from GitHub

0 Kudos
Message 1 of 3
(2,584 Views)
Solution
Accepted by topic author Ben_Manthey

You don't want a string or string constant, you want to find the array constant, and use the Value Property node on that.

0 Kudos
Message 2 of 3
(2,559 Views)
Solution
Accepted by topic author Ben_Manthey

Here's what the code looks like for RavensFan's suggestion:

1.png

0 Kudos
Message 3 of 3
(2,529 Views)