NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

loading multi numeric

I'm having a problem loading properties from an access database for a multi-numeric type test. The loading works fine for single numerics and strings but I can't seem to figure out how to configure the database and the multinumeric test to play together.
I have a multi numeric test step named T1.01 which accesses sequence local variables for their results. There are three tests (within the step) to load properties for(ie High Limit, Low Limit, Units ...). The property loader uses the step name (T1.01) to load properties.
Should the database have multiple entries called T1.01?
How should the limits embedded in the step itself be configured?
As I said, I have no problems witn NON-MultiNumeric types.
Thanks for the help.
0 Kudos
Message 1 of 4
(3,619 Views)
Hi Maz,

I understand the problem you are having. TestStand uses Step.Limits.High(or Low) to store the limits of a numeric limit test, but uses Step.Result.Measurement[i].Limits.High(or Low) to store the limits in a multiple numeric limit test. The i is the index of each measurements in your step.

You don't need to have more that one record in your database for a multiple numberic limit test, instead, you need to have more columns in your table so that you can store the limits for every measurement in your test. I know it doesn't sound like the best design, but that's the way it is. Your table needs to have columns called for example Result_1_Limits_High_N, Result_2_Limits_Low_N, etc.

Now, how do you confgure this in Teststand? When you select th
e properties you want to import in your property loader, make sure you include Step.Result.Measurement[i].Limits.High(and Low) and map the property to the columns in your table.

Something you can do, is use the property loader from the tools menu in teststand. Select your database, make the SQL statement something like: "SELECT Table1.* FROM Table1". Make sure the properties are selected and click on create columns. This will create columns in your database table.

I hope this helps, good luck.

Marcela.
Message 2 of 4
(3,617 Views)
Is there any way to Load the Measurement Name also from the property file for a Mulitple Numeric Test just like High, Low Limits, Comp and units?
0 Kudos
Message 3 of 4
(3,591 Views)
Abdulla -
The measurement name is stored on the step as the name of the Step.Measurement array element. The property loader component does not have a way to import to the name of the array element.
Scott Richardson
https://testeract.com
0 Kudos
Message 4 of 4
(3,573 Views)