NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Compare two changin arrays using multiple numeric test

I have an FPGA that is doing a loop test.  The FPGA will TX an array and will store the RX array to a variable.  I'd like to use TestStand to comare the TX array with the RX array.  

 

I know I can step through the elements of an array to compare each element with a Numeric Limit Test and I know I can do it with a multiple numeric limit test but with that I have to manually put in every index and the Array will not always be the same size.  

 

Is there a way in TestStand to say does Array = Array and then print the elements without doing the loop?  

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

Hi,

 

I tried   Locals.y==Locals.x  for the if condition where both x and y are numeric arrays.

It worked fine when all the elements were matching and array size was same.

 

To print any variable use additional result (check help).

 

Hope this helps.

 

Ravi

0 Kudos
Message 2 of 2
(3,541 Views)