NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Index array

Solved!
Go to solution

Hi,

I have an array and I want to point to a certain element in the array using its index. Basically I need to use the labview equivalent of "Array Index" in teststand. If im not wrong, GetNthSubProperty does the same thing? But I am looking for an example to use it. I keep getting errors when I try to use it. Here is my example: 

MyArray : [0..5] 

I am trying to point to index [4] of the array.

 

0 Kudos
Message 1 of 3
(4,894 Views)
Solution
Accepted by topic author A2saSandel

Locals.MyArray[4]  should work.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 3
(4,878 Views)

Thank you so much!

0 Kudos
Message 3 of 3
(4,844 Views)