NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

teststand get value of number of measurements for each step

In TStand, in each of my multinumeric limit step, some of the step have two numeric limit and others have three or four numeric limits.
On the Main tab, TestStand, lists the VI and the number of measurement x(x=2,3 or 4).
How do I access x programmatically?
ex: locals.ResultList[z].Measurement[x].Limits.high
0 Kudos
Message 1 of 3
(3,508 Views)
In an expression:

GetNumElements(Locals.ResultList[z].Measurement)

Via the api (pseudo code):

PropertyObject p = locals.ResultList[z].Measurement;
int numItems = p.GetNumElements()
Message 2 of 3
(3,508 Views)
Thank James,

I use Labview, and I try the above approach it works great.
0 Kudos
Message 3 of 3
(3,508 Views)