Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6564

How to reset an array to a default value?

$
0
0

Hello,

i have a 2D array type text that should be set to a special value.

Dimension is [5][50] where the 5 is the MyIndex parameter of the socket in the BatchModel.

Currently i am doing this in a for loop that loops 50 times for each socket and in the loop i set the array to the value.

StationGlobals[MyIndex][Counter] = "value".

 

Is there any faster way to do this?

 

Thx

 


Viewing all articles
Browse latest Browse all 6564

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>