Configuring a Sweep Range
The Sweep step controls the execution of other steps in a project. You can use the Sweep step to configure a range of values to send to the steps it controls.
For example, you can use the Sweep step to change the frequency value of a signal you create with the Create Analog Signal step. On the Step Setup tab for the Sweep step, add Frequency (Hz) to the Sweepable parameters list. Then use the Configuration options to select the type of sweep you want to perform and define the range of values you want to use for the sweep. You can define the range as a linear range, an exponential range, a list of points, a formula, or by using a file that contains a list of values. When you run the project, the Sweep step uses the Configuration settings you specify to change the frequency value of the Create Analog Signal step with each iteration of the sweep.
When you configure the Sweep step, the Project View updates so that the Sweep step encloses the steps it controls. In the previous example, the Sweep step encloses the Create Analog Signal step. When you run a project with a sweep, the Sweep step generates each value in the sweep range and passes the values to the steps it controls to define new values for each iteration. You also can define the outputs of a sweep operation.
You can use the Sweep step to perform a parallel sweep that sets values on multiple parameters and multiple steps simultaneously. You also can perform a nested sweep by enclosing a Sweep step within another Sweep step.