Setting Options
Setting PSpice Application Theme
-
From the Tools menu, select Options.
The Probe Settings dialog box opens. - Select the Color Settings tab.
-
Select
Dark
orLight
from the Application Theme drop-down list. - Click OK.
Setting Probe window options
Use the Probe Settings dialog box to specify how PSpice displays Probe window items such as scroll bars, symbols, and trace colors. You can also specify the auto-update interval, number of histogram divisions, and how large data files should be loaded onto PSpice.
For more Probe window options, see Probe windows settings for simulation profiles.
- From the Tools menu, select Options to display the General tab of the Probe Settings dialog box.
- In the Use Symbols frame, choose one of the following options:
- In the Trace Color Scheme frame, choose one of the following options:
- In the Use ScrollBars frame, choose one of the following options:
- In the Auto-Update Interval frame, choose one of the following options:
- In the Number of Histogram Divisions text box, enter the number of histogram divisions used when PSpice displays Performance Analysis of a Monte Carlo run.
- In the Number of Cursor Digits text box, enter the number of digits PSpice displays when the cursor position is shown.
- Select any or all of the following options:
- Click OK to close the Probe Settings dialog box.
Setting large data file options
- From the Tools menu, select Options to display the Probe Settings dialog box.
- Select the Large Data tab.
-
Select one of the Options to be used as the default setting for loading a large data file.
- Select Use fewer data points to display a complete trace, when you want that full trace, which may not be accurate, to be loaded and displayed on the Probe window. In this case the trace is not accurate because it is created using a subset of data points picked randomly from the data file.
- Select Use all data points to display trace in parts, when you want the trace to be accurate but only a small part of the trace is displayed at one time. In this case, the complete trace is divided into multiple parts and each part can be viewed separately.
- Select Always ask, when you want the Large Data File dialog box to be displayed every time a large data file is opened in PSpice. By default, this option is selected.
- Select Ignore this Warning, when you do not want to be notified whether the data file being loaded is a large data file or not. Therefore, the Large Data File dialog box never appears. In this case, either the Out of memory error appears, or if the system memory is sufficient the data file will be loaded successfully.
-
In the Data points in one part text box, specify the threshold limit for the number of data points in a large data file. By default this value is set to 1 million (1000000).
For example, if you want that any data file that has more than 2 million data points per trace should be categorized at a large data file than enter 2000000 in the Data points in one part text box. - Click OK to save the settings and to close the Probe Setting dialog box.
Selecting a Printer
You can specify a different printer and settings for PSpice to use to print your plots. (If you do not change the settings, PSpice uses the default Windows printer settings.)
- From the File menu, select Printer Setup.
- In the Printer frame, select the printer you want to use. Click Properties to change its settings.
- In the Paper frame, select the type of paper you want to use.
- In the Orientation frame, choose which page orientation you want to use.
- When you have finished selecting the printer, click OK.
Using Print Preview
You can use Print Preview to view pages before you print them.
- From the File menu, select Print Preview to preview all plots, using the current settings. Each plot is displayed as a separate page, unless you have set it differently in Page Setup.
- In the Preview screen, click Print to print the page, or click Close to return to the Probe window.
Setting up the Page
You can set up the page in PSpice to establish the way the printed plots appear when you print.
- From the File menu, select Page Setup.
-
In the Page Setup dialog box, enter the following options:
- In the Margins frame, type the margin spacing.
- In the Plots Per Page frame, enter the number of plots to be printed on each page, from 1 to 9 per page.
- In the Orientation frame, choose Landscape or Portrait.
- Select the Draw Border check box to put a border on the page.
- Select the Draw Plot Title box to put the plot title on the page.
- In the Cursor Information area, choose where you want the cursor information to be displayed on the page.
-
To add a header or a footer, click the Header button or the Footer button.
- The Left Side, Center, and Right Side boxes display the header or footer content that is left-aligned, centered, and right-aligned, respectively. Type information into the appropriate box. You can use codes for certain kinds of information.
- Press Ctrl+Enter to start a new line.
- Click OK to exit this dialog box and save the new settings.
- Click OK to close the Page Setup dialog box and save the new settings.
Printing in PSpice
- On the toolbar, click the Print button to print one copy of the current Probe window, using the current settings.
- From the File menu, select Print.
-
Set up the following options:
- Under Printer, select which printer to use. Click Properties to set the printer’s properties.
- In the Copies box, enter how many copies to print.
- Click Page Setup to change the page settings.
- Under Plots to Print, select which plots to print. Each plot is printed as a separate page, unless you have set it differently in Page Setup.
- Under Automatic Grid Spacing, choose either Based on Print Area or Same as Display.
- Click OK to print using these settings, or click Cancel to exit this dialog box without printing anything.
Setting the Width of Printed Plot Lines
You can set the width of the printed plot lines by using an ASCII text editor, such as Notepad, to edit the PSpice.INI file.
- Using a text editor, open the file PSpice.INI.
-
In the [Probe] section of the file, add or modify the following entry. The format is:
PRINTERLINEWIDTH = <value>
If the above entry is not present in the .INI file, the default line width is 0.
The line width of a printed plot is scaled automatically, so you do not need to set custom values for the PRINTERLINEWIDTH command in the PSpice.INI file. This makes the printout more legible for most printer configurations using the default value in the .INI file.
You can select all the traces in a plot to change their properties collectively. To do this, use the Select All command from the Edit menu, then edit the properties as needed. The new trace properties will then be reflected on the screen, in Print Preview, and on the printout.
Changing the Screen Colors
You can change the colors PSpice uses to display plots on the screen by using an ASCII text editor, like Notepad, to edit the PSpice.INI file.
- Using a text editor, open the file PSpice.INI.
-
In the [Probe Display Colors] or the [Probe Pointer Colors] section of the file, add or modify a color entry. The format is:
<item name>=<color>
For example,background=red
draws the background in red.
Valid item names are:
Colors the traces with specified color when they appear on the Probe window. You can specify up to 12 colors.
Valid color names
Specify varying degrees of color by using the R, G, B value of the color. The range is from 0-255. For example, <attribute>=255 0 0 is the same as <attribute>=red. -
Set the trace colors using the following form:
trace_x=colorname
wheretrace_x
is trace_1 through trace_12 andcolorname
is a valid color name. - If needed, set numtrace colors to N, where N is between 1 and 12. The numbers 1 through 12 represent the number of trace colors displayed on the screen or printed before the color order repeats.
- Save the file as ASCII text and close it when you have finished. The settings take effect the next time you start PSpice.
Header and footer codes
These codes can be inserted into any of the boxes as an abbreviated method to include certain information.
prints specified parameter or other value changing between data file sections |
Customizing toolbars
Toolbar settings can be saved in settings schemes.
To change the display of toolbars
To add menu option or button as a new menu or in the toolbar
To remove buttons from toolbars
To reset toolbars to their default settings
To change the display of toolbars
- From the Tools menu, choose Customize.
- Click the Toolbars tab.
-
In the Toolbars list, select the toolbars to be displayed.
The selected toolbar appears. - Click Close to close the dialog box.
To add menu option or button as a new menu or in the toolbar
- From the Tools menu, choose Customize.
- Click the Commands tab.
- In the Categories list, click a category to display related toolbar buttons or menu options in the Commands frame.
- To add the selected button or option to a toolbar or menu bar, drag it from the Customize dialog box to any toolbar or menu bar displayed in the program window.
- Click Close to close the dialog box.
To remove buttons from toolbars
To reset toolbars to their default settings
- From the Tools menu, choose Customize.
- Click the Toolbars tab.
- Do one of the following:
- Click Close to close the dialog box.
Customizing Commands
- Choose Tools – Customize.
-
In the Commands tab, select a menu name from the Categories list.
The buttons for the selected menu are displayed in the Commands frame. - Drag a button or menu option and place it in the toolbar.
Generating a Report
Using the Generate Report option, you can generate an HTML report based on transient analysis data. The HTML report displays the transient analysis data in the following template:
The template above can be customized by modifying the TCL (orPspReport.tcl) file located at the following path: <Installation Directory>\tools\pspice\tclscripts.
- The maximum size limit of the HTML file is 800 MB.
- To generate report, the simulation data file must have transient analysis data of analog devices.
Return to top