There's a type of test I've done a few times over the years and I'm researching what are some standard ways to handle the data in TestStand. The test type is sweeping multiple parameters in a nested loop. For example, sweep Vcc from 5.1V to 5.5V in .1V steps, at each voltage sweep Q DC Bias from 1.9 to 2.3 in steps of .2, and at each Q DC Bias sweep LO Drive Level from -5 to -20 dBm in steps of .5 dBm. For each input combination record IM3 Suppression. This example produces 310 data records.
If I did all this inside a single code module I could pass it back to TestStand as four arrays, one for each input param and one for the data. Done. I'd still need to log it.
What if I want to do the looping in TestStand? Here's how I could collect data.
1. Record the three params and one data into the ResultList as single points with Numeric Limit steps and sort it out in some datalogger callback.
2. Collect four arrays or a 2D array in Locals and then copy the arrays into the ResultList as four arrays (or 1 2D), not as scalars in #1 above. Log it in some datalogger callback.
3. Collect four arrays or a 2D array in Locals and just use a code module in the client sequence to save the data.
4. Any others?
Thanks