NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically change number of test item of Multi numeric limit test possible?

Hi All,

 

Did you ever do programmatically change the number of test item of the Multi-numeric limit test? I would like to runtime change the number of test items of the test sequence.

 

I use the SetDimensions method to change the dimension of "Step.Result.Measurement", however, after the step, "Step.Result.Measurement" still remain original size/dimension. The SetDimensions method did not report an error, however, when i add a message popup to show the size of the array "Step.Result.Measurement", it still remains old value. Please help. 

 

New Bitmap Image.JPG

 

 

**bleep**

0 Kudos
Message 1 of 2
(3,053 Views)

My guess is that you are not setting Step.ExpectedNumMeas as well.  That number must match the number of elements in Step.Result.Measurement.

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