NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Condition for Additional Results of Types: Array of Container

Hello everyone, I was unable to find a solution for the following requirement,

 

  • I have a Variable which is of an Array of Container type
    Local.Array_Of_ContainerLocal.Array_Of_Container
  • The container is a custom data type
    Custom Data Type: My_ContainerCustom Data Type: My_Container
  • The container has a Boolean element in it
  • I want to log the entire Container only when the Boolean is either True or False
  • Every Array elements (the container) has to follow the same process

 

But unfortunately I couldn't  do that as simply as shown below,

Additional Result - ConditionAdditional Result - Condition

 

It validates to the below warning,

Condition - Evaluation WarningCondition - Evaluation Warning

 

 

 

But the same expression show in the Value to Log column does not show any error/warning,

Value to LogValue to Log

 

ConditionCondition

 

Please provide a solution or any workarounds for this one.

 

Also attached the Sequence file (Version: TestStand 2019).

0 Kudos
Message 1 of 3
(842 Views)

Can this be resolved by adding a local variable (Locals.i)? I am not sure why the Value to Log column does not show any error/warning.

0 Kudos
Message 2 of 3
(814 Views)

@A_I wrote:

Can this be resolved by adding a local variable (Locals.i)? I am not sure why the Value to Log column does not show any error/warning.


No!

 

That "i" is variable used in the process of iterating through the elements in the Additional Result of Array type.

 

But its scope seems be local to that corresponding Additional Result alone.

0 Kudos
Message 3 of 3
(792 Views)