Defining Sweep Operation Outputs
You can specify outputs of a sweep operation to track how the parameters you sweep affect other values in the project. For example, if you sweep the frequency of a stimulus signal, you might want to track the RMS voltage level during the sweep operation to see how the RMS level changes in response to the changing frequency. You then can view a graph of the RMS level versus frequency on the Data View tab.
Complete the following steps to define outputs for a sweep operation.
- Configure the Sweep step using the Sweep Configuration page of the Step Setup tab for the step. To define a sweep operation output, you must specify at least one parameter in the Sweepable parameters field.
- Switch to the Sweep Output page of the Step Setup tab for the Sweep step.
- Click the Add button to display the Edit Sweep Output dialog box. The Output (Y-Axis) field displays outputs of steps in the sweep operation. The Input (X-Axis) field displays the sweepable parameters you specified on the Sweep Configuration page.
- Select an output from the Output (Y-Axis) field. When you graph the sweep operation output, this value appears on the Y-axis of the graph. This is the value that you expect to change as a result of the changing value of the parameter you sweep.
- Select a sweepable parameter from the Input (X-Axis) field. When you graph the sweep operation output, this value appears on the X-axis of the graph. This is the parameter that changes value with each iteration of the sweep.
- Click the OK button. The sweep operation output appears as an output of the Sweep step in the Project View.
Note If you specified two scalar values for the Input (X-Axis) and Output (Y-Axis), the output is a single XY waveform. The number of data points in the waveform matches the Number of points you specify on the Sweep Configuration page of the Step Setup tab. If you specified a waveform for the Input (X-Axis) or Output (Y-Axis), the output is an expandable group of waveforms. Each waveform in the group is the value of the waveform during an iteration of the sweep. The total number of waveforms matches the Number of points you specify on the Sweep Configuration page of the Step Setup tab. |
- Drag the sweep operation output to the Data View tab to plot the output on a graph. For groups, you can plot an element of the group or the entire group.
You also can define advanced sweep operation outputs that compare the outputs of steps affected by the sweep operation instead of comparing one step output and one sweepable parameter.