08-13-2014 08:48 AM
Hi,
I'm setting up a database where I will store my teststand results. I've seen that the default "multiple numeric limit test" stores as first result an entry with type_name = "Array of NI_Measurement[0..n]" (n being the number of values returned by this step).
What's the goal of storing this in the database ? Is it only used to know how many results have been returned by the step ?
Regards,
Alex
08-14-2014 05:27 AM
Dear Alex,
where exactly do you see that the default "multiple numeric limit test" stores the first result an entry with type_name = "Array of NI_Measurement[0..n]" ?
Could you add a screen shot and specify your question a little bit.
Kind Regards,
SG3 | Applications Engineering | National Instruments | NIG |
08-14-2014 07:52 AM
Dear SG3,
I've a written a simple TestStand sequence which executes a single "Multiple Numeric Limit Test" returning 2 random values :
The results are stored in my database using the default "MySQL Insert (NI)" schema. When I look for what has been written to the database, there are 2 steps results in the "STEP_RESULT" table. The first one is the MainSequence Callback. The second one is my "Multiple Numeric Limit Test" step.
If I then display the corresponding results of this step that are in the "PROP_RESULT" table, here is what I get :
There are 3 entries in this table. The first one is named "Measurement" from type "Array of NI_LimitMeasurement[0..1]". The two other entries are my generated random numbers.
What is the purpose of the first entry ?
Regards,
Alex
08-18-2014 06:15 AM
Dear Alex,
The Array of NI_LimitMeasurement[0..1] is the Container for the both results Measurement.[Random A] & Measurement.[Random B].
In this Screenshot you can see that this is caused by the structure how the Results are stored.
Kind Regards,
SG3 | Applications Engineering | National Instruments | NIG |