NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Container layout changed with adapter.

Solved!
Go to solution

Why does TestStand container layout changes based on the adapter selection?

When using NumericLimitTest type with a none adapter the "Units" is visible.

But when using NumericLimitTest type with CVI adapter "Units" variable is not visible in Result container? Why?

 

Is it not correct that NumericLimitTest type Result container will always contain:

1. TS

2. Error

3. Status

4. Numeric

5. ReportText

6. Common

7. Units

8. Limits

9. Comp

 

Although TS container may change position.

*************************************************
CLD
*************************************************
0 Kudos
Message 1 of 3
(2,794 Views)

************

When using NumericLimitTest type with a none adapter the "Units" is visible.

But when using NumericLimitTest type with CVI adapter "Units" variable is not visible in Result container?

************

Does anyone know if there is a way to identify for a specific test if Units will be present in container or not? This is when traversing through a single result container in modelsupport.dll (c_report.c file). 

*************************************************
CLD
*************************************************
0 Kudos
Message 2 of 3
(2,785 Views)
Solution
Accepted by topic author lvrat

Hi lvrat,

 

You can use the TS_PropertyExists function to programmatically check if the "Units" property exists at a specified location using a lookup string.  This function is called several times in the program already, so you should be able to reference those calls for examples on how to call the function.

Justin D
Applications Engineer
National Instruments
http://www.ni.com/support/
0 Kudos
Message 3 of 3
(2,765 Views)