ni.com is currently experiencing unexpected issues.

Some services may be unavailable at this time.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Need to pass an array element to a VI that expects a single numeric value

I need to run a VI repetively from TestStand 4.1 using a FOR Loop, and I want to pass a parameter to this VI which is expecting a numeric DBL value. I would like to create a Local Numeric Array and use each element of this array indexed by the FOR Loop variable (ex:Opt_num), but when I try to do this, TestStand complains that I can't reference individual elements of an array. Attached is the error message.

 

 

0 Kudos
Message 1 of 2
(2,952 Views)

Hi,

 

Use Parameters.C_kT[Parameters.Opt_num]

 

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 2
(2,939 Views)