From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,306 Views)
Solution
Accepted by 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,281 Views)
Solution
Accepted by Ben_Manthey

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

1.png

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