NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing upperBounds of an Array

Hello,
 
I'm just starting with Teststand (4.0) and I have a question.
 
I've created an empty array named ResultArray (no upperBound defined). In my setup I read the number of values needed for the array out of a inifile. Now I want to use this value to set the upperBounds of my array. I think that I need a Teststand API function but don't know which on or how to implement this.
 
Is there somebody who can help me with this?
 
Thanks
 
 
0 Kudos
Message 1 of 2
(2,816 Views)
Gert,

You will need to use either the SetNumElements (for 1-D arrays) method, or the SetDimensions method (for multi-dimensional arrays). 

Allen P.
NI
0 Kudos
Message 2 of 2
(2,812 Views)