Changes
==User-Defined Parameters==
[[RF.Spice A/D]] allows you to define any number of global [[parameters]] that you can use as values for various parts of your circuit. This is done by selecting "User-Define [[Parameters]]..." from the Edit Menu. At the top of the User-Define [[Parameters]] dialog, there is a list of [[parameters]] showing the Name, Description and Value of each parameter. In order to introduce a new parameter, click the "New Parameter" button on the right. A new parameter with the default name "NewParam" is inserted in the table. Change the name of the new parameter as you desire. Then select its type from the "Data Type" drop-down list. The available type options include Number, Flag (Boolean) and String. Then enter a value for your parameter and optionally write a description of it in the box provide. Once you are done with the editing, make sure to click the "Accept Parameter" button to save the changes and make them effective. You can select any parameter from the table and delete it using the "Delete Parameter" button on the right.
<table><tr><td>[[File:b2MAN_Fig214b2MAN_Fig227.png|thumb|480pxleft|RF.Spice's Sweep Settings Dialog400px|The User-Defined Parameters dialog.]]</td></tr></table>
==Parametric Sweep Tests==
===Choosing the Sweep Variables===
[[File:b2MAN_Fig214.png|thumb|480px|RF.Spice's Sweep Settings Dialog.]]
Most [[B2.Spice A/D]] [[Tests]] come with an option to "Sweep" or incrementally step a parameter over the entire run of the test. In other words, you can vary a particular parameter for each run of the test. For instance, you can step a particular resistor's resistance from 1K to 10K by increments of 2K during a Transient Test. When you run the transient test, the first run will set the resistor's value to 1K. The second run will set the resistor's value to 3K, since the increment was set at 2K. Each step of the resistor's value will result in a transient test. Therefore, the Transient Sweep test will be run 5 times, with resistor's values of 1K, 3K, 5K, 7K, and 9K. The combined results will be displayed in a graph.