Yin,
In your database, you should have a column for each high and low limit and comparison for each multiple numeric limit test step. For example, if I have 2 measurements in my multiple numeric limit test step, I will have the following columns: StepName, Result_Measurement_0_Comp, Result_Measurement_0_Limits_High, Result_Measurement_0_Limits_Low,
Result_Measurement_1_Comp, Result_Measurement_1_Limits_High, Result_Measurement_1_Limits_Low.
After your database is set up, you would use the property loader step to read the values in during run-time. If you insert a property loader step and configure the Data Location to be a database, you can configure which database and table you want to read from. Then near the bottom of the property loader dialog, there are two fields. One is for Property Name and the other is for Column Name/Number. You use these fields to assign a certain column to a certain property. So for this case, we would choose one of the limit properties that we want to load from the database and assign that to a certain column. For example, the Property Name would be Result.Measurement[0].Comp and its corresponding Column Name/Number would be the database column Result_Measurement_0_Comp. The next Property Name would be Result.Measurement[0].Limits.High and its corresponding Column Name/Number would be the database column Result_Measurement_0_Limits_High. You would continue to assign a particular column to each property that you want to read in.
In using the Property Loader step type, it is immensely helpful to use the Import/Export Properties tool to create the database, Excel file, or text file because the tool will create these files with the correct format. You would then know exactly how many columns and their names because TestStand created them for you. Even if you plan to use a pre-existing source file, just creating the default source file will give you a better idea of how you will need to tailor your pre-existing database or excel or text file.
If you have other questions, let us know.
Regards,
Shannon R.
Applications Engineer
National Instruments