Descriptions of menus
The main PSpice menu bar is shown below. For a detailed description of a particular menu, click the name of that menu.
The File menu
The File menu provides typical file management functions.
Menu command…
|
Function…
|
New
..Simulation ..Profile Text File
|
Creates a new simulation profile.
Creates a new text file.
|
Open
|
Opens an existing file.
|
|
|
Close
|
Closes the current file.
|
Open Simulation
|
Opens an existing simulation file.
|
Close Simulation
|
Closes the current simulation file.
|
Save
|
Saves the current file.
|
Save As
|
This menu is available only if a .DAT file is loaded. Saves the current file under a new name.
|
Export
|
|
Probe Data (.dat file)
|
Exports the selected data into a new data file.
|
Stimulus library (.stl file)
|
Exports the selected data into a new stimulus library file.
|
Text (.txt file)
|
Exports the selected data into a new text file.
|
Import
|
Imports traces stored in .txt or .csv format in PSpice.
|
Page Setup
|
Provides page setup options.
|
Printer Setup
|
Provides printer setup options.
|
Print Preview
|
Previews the current print setup.
|
Print
|
Prints the current file.
|
Log Commands
|
Records the command sequence in a log file (.CMD).
|
Run Commands
|
Runs the commands in a previously saved log file (.CMD).
|
Recent Simulations
|
Lists the most recently used simulation files (.SIM).
|
Recent Files
|
Lists the most recently used data files (.DAT).
|
Change Product
|
Changes the product license, if available.
|
Exit
|
Exits PSpice.
|
The Edit menu
The Edit menu provides standard text editing and navigation functions for use when editing a simulation text file. Most of the commands in the Edit menu are grayed out and unavailable unless you are currently working in a text file.
Menu command…
|
Function…
|
Undo
|
Returns the current file to the state it was in prior to the last executed command (“undoes” the last command).
|
Redo
|
Reinstates the state of the file before the last undo command (“undoes” the undo command).
|
Cut
|
Copies the selected area to the clipboard and removes it from the text file.
|
Copy
|
Copies the selected area to the clipboard.
|
Paste
|
Pastes the contents of the clipboard to the cursor location.
|
Delete
|
Deletes the selected objects.
|
Select All
|
Selects all objects in the text file.
|
Find
|
Provides a means of searching for a particular string of text. See Find dialog box for more information.
|
Find Next
|
Finds the next instance of the defined search string.
|
Replace
|
Provides a means of searching for and replacing a particular string of text with a new string.
|
Goto Line
|
Jumps to the specified line number.
|
Insert File
|
Inserts an existing file into the current file.
|
Toggle Line Number Display
|
Toggles on or off line number display in .cir and .out files.
|
Toggle Bookmark
|
Toggles on or off a bookmark at the selected location.
|
Next Bookmark
|
Jumps to the next bookmark.
|
Previous Bookmark
|
Jumps back to the previous bookmark.
|
Clear Bookmarks
|
Clears all of the defined bookmarks.
|
Modify Object
|
Provides options for modifying objects.
|
The View menu
The View menu provides controls for defining what portion of a Probe window is displayed, for moving around the window, and for defining what toolbars are displayed.
Menu command…
|
Function…
|
Zoom
Fit
In
Out
Area
Previous
Redraw
Pan - New Center
|
Provides the following zoom functions:
fits the entire plot in the current window
magnifies the view at the selected point
expands the view at the selected point
magnifies the view to the selected area
restores the previous view
refreshes the display
pans to the selected center point; maintains the view
|
Measurement Results
|
Displays the measurement results for the current simulation.
|
Circuit File
|
Displays the circuit file for the current simulation.
|
Output File
|
Displays the output file for the current simulation.
|
Simulation Results
|
Displays the results of the current simulation.
|
Simulation Messages
|
Displays the messages for the current simulation.
|
Simulation Queue
|
Provides a listing of the current simulations in the queue.
|
Output Window
|
Toggle for turning on or off the Output Window.
|
Cursor Window
|
Toggle for turning on or off the Cursor Window.
|
Simulation Status Window
|
Toggle for turning on or off the Status Window.
|
PSpice_toolbars
|
Toggle for turning on or off the toolbars.
|
Command Window
|
Toggle for turning on or off the Command Window.
|
Status Bar
|
Toggle for turning on or off the Status toolbar.
|
Workbook Mode
|
Toggle for turning on or off the Workbook Mode.
|
Alternate Display
|
Displays only the Probe window with the plotted waveforms. Additional simulation data provided by PSpice is not displayed. See Toggling between display modes.
|
Large Data File Mode
|
Toggle for switching between two mode for displaying large data files
|
Display fewer points
|
Displays the complete trace constructed using fewer data points from the large data file.
Though the full trace is displayed, it is not very accurate.
|
Display in parts
|
Displays a part of the trace at a time. The complete trace described by the large data file is divided into multiple parts. At given point of time, only one part is loaded for viewing.
|
Load Next Part
|
Loads and displays the next part of the trace. Enabled only when the Display in parts mode is selected for loading and viewing the large data file.
|
The Simulation menu
The Simulation menu provides controls for starting, stopping, and changing a simulation.
Menu command…
|
Function…
|
Run <current simulation>
|
Runs the current (named) simulation.
|
Pause
|
Momentarily interrupts the current simulation.
|
Save
|
Saves the current simulation.
|
Stop
|
Halts the current simulation.
|
Edit Profile
|
Provides access to the simulation profile for editing the simulation setup.
|
Edit Runtime Settings
|
Provides access to runtime simulation settings.
|
The Trace menu
The Trace menu provides controls for displaying traces and cursors, and for setting up specialized analyses such as Fourier, performance analysis and measurement expressions.
Menu command...
|
Function…
|
Add Trace
|
Adds a trace to the display.
|
Delete All Traces
|
Deletes all the traces from the display.
|
Undelete Traces
|
Restores deleted traces.
|
Fourier
|
Toggles on or off the display of the Fourier transform of analog traces.
|
Performance Analysis
|
Toggles on or off performance analysis.
|
Cursor
Display
Freeze
Peak
Trough
Slope
Min
Max
Point
Search Commands
Next Transition
Previous Transition
|
Provides the following cursor controls:
toggles on or off the cursors
locks the cursor at its current position
jumps the cursor to the next peak on the plot
jumps the cursor to the next trough on the plot
jumps the cursor to the next slope on the plot
jumps the cursor to the next minimum value
jumps the cursor to the next maximum value
jumps the cursor to the next data point on the plot
jumps the cursor to a specified point
jumps the cursor to the next digital transition point
jumps the cursor back to the previous digital transition
|
Macros
|
Provides a way to define macros in PSpice.
|
Measurements...
|
Provides options for setting up measurement expressions.
|
Evaluate Measurements...
|
Provides options for evaluating measurement expressions.
|
The Plot menu
The Plot menu provides standard text editing functions for use when editing a simulation text file.
Menu command…
|
Function…
|
Axis Settings
|
Provides options for defining the X and Y axes.
|
Add Y Axis
|
Adds a new Y axis.
|
Delete Y Axis
|
Deletes the second Y axis.
|
Add Plot to Window
|
Adds a new plot to the Probe window.
|
Delete Plot
|
Deletes the currently selected plot.
|
Unsynchronize X Axis
|
Unsynchronizes the X axis.
|
Digital Size
|
|
Label
Text
Line
Poly-line
Arrow
Box
Circle
Ellipse
Mark
|
Provides the following drawing functions:
inserts text
draws a line segment
draws a multi-segment poly-line
inserts an arrow
draws a rectangular box
draws a circle
draws an ellipse
inserts a mark
|
AC
|
If checked, identifies the current simulation as an AC analysis.
|
DC
|
If checked, identifies the current simulation as a DC analysis.
|
Transient
|
If checked, identifies the current simulation as a Transient analysis.
|
The Tools menu
The Tools menu provides ways to customize the work environment for PSpice.
Menu command…
|
Function…
|
Customize
|
Provides customization options for the PSpice environment.
|
Options
|
Provides different options for Probe settings.
|
General tab
|
Provides general option settings for default values.
|
Large Dat tab
|
Provides options settings for opening a large data file in PSpice.
|
Cursors Settings tab
|
Provides options for cursor settings
|
Color Settings tab
|
Provides different options for color settings
|
Font Settings tab
|
Provides different options for font settings
|
FRA
|
Provides option to enable Frequency Response Analysis.
|
Generate Report
|
Provide option to generate report based on transient analysis data
|
PSpice Calculator
..Hysteresis Core Loss
|
provides option to calculate hysteresis core loss
|
Matlab
..Set Matlab Path
..Start Engine
..Export All Traces
..Export Selected Traces
..Co-Simulation
|
provides option the following MATLAB options:
- Sets the MATLAB path
- Starts the MATLAB Engine
- Exports all traces in MATLAB
- Exports the selected traces in MATLAB
- Launches MATLAB for PSpice Simulink Co-Simulation
|
The Window menu
The Window menu provides typical controls for how different Probe windows are displayed.
Menu command…
|
Function…
|
New Window
|
Opens a new window in Probe.
|
Close
|
Closes the current window.
|
Close All
|
Closes all windows.
|
Cascade
|
Cascades the windows.
|
Tile Horizontally
|
Tiles the windows horizontally.
|
Tile Vertically
|
Tiles the windows vertically.
|
Title
|
Changes the title of the Probe window.
|
Display Control
|
Provides a means of saving and restoring the display settings.
|
Copy to Clipboard
|
Copies the contents of the current Probe window to the clipboard.
|
<listing of currently displayed windows in Probe>
|
|
Terms used in File
Export Data
Data displayed on the PSpice window can be exported either into a data file, a stimulus library file or into a text file.
The Export Probe Data dialog box is used for generating a data (.dat) file, the Export Stimulus Library dialog box is used for generating a stimulus file, and using Export Text Data dialog box generates a text file.
Output Variables to Export
|
Lists the variables for which traces will be present in the text file to be generated.
|
File Name
|
Specify the name of the new text file to be generated.
|
Available Output Variables
|
Lists the output variables for which data is available.
|
Analog
|
Select this to list all Analog variables in the Available Output Variables list box.
|
Digital
|
|
Voltages
|
Select this if you want only the voltage output variables to be listed in the Available Output Variables list box.
|
Currents
|
Select this if you want only the current output variables to be listed in the Available Output Variables list box.
|
Power
|
Select this if you want only the power output variables to be listed in the Available Output Variables list box.
|
Noise(V^2/Hz)
|
|
Alias Names
|
Select this to list Alias Names in the Available Output Variables list box.
|
Subcircuit Nodes
|
Select this to list the subcircuit nodes in the Available Output Variables list box.
|
Add
|
Use this add a new trace variable. Clicking this moves the selected variable from the Available Output Variables list box to Output Variables to Export list box.
|
Add All
|
Use this add all the variables listed in the Available Output Variables list box to Output Variables to Export list box.
|
Remove
|
Select this to remove a variable, for which you do not want the reference file.
|
Remove All
|
Select this to remove all the variables form the Output Variables to Export list box.
|
Data Compression
|
Data Compression options are available only for the transient analysis. For AC and DC analysis these options are not enabled.
|
Enable
|
Select this check box to enable data compression. Selecting this check box enables the Tolerance fields. Increasing the tolerance value decreases the number of data files in the reference waveform. As a result the size of the dat file generated is also reduced.
|
Absolute Tolerances
|
Use this to specify the Absolute tolerance to be used while generating the reference data.
|
Relative Tolerances
|
Use this to specify the Relative tolerance to be used while generating the reference data. The number of data points in the reference waveform and size of the dat file generated is inversely proportional to the absolute and the relative tolerance.
|
Reset
|
Select this to Reset the tolerance values to the default values.
|
Find dialog box
The Find dialog box is used to find text in the text window in PSpice.
The options in the Find dialog box are described below:
Match Case
|
Select this to find text that matches the case of the search string
|
Regular expression
|
Select this to find text using regular expressions.
|
Wrap around search
|
If this check box is selected, the search wraps around to the start of the document.
If this check box is not selected, PSpice displays the “string not found” error message if the string is not found between the current cursor position and the end of the file.
|
Mark All
|
Click this button to mark all the lines where the search string exists.
|
Regular expressions
You can use regular expressions to find text using the Find dialog box.
Regular expressions are made up of normal characters and metacharacters. Normal characters include upper and lower case letters and digits. The metacharacters have special meanings and are described in detail below.
Metacharacter
|
Description
|
.
|
The period (.) matches any single character except the newline character ^. For example the regular expression r.t will match the strings rat, rut, r t, but not root.
|
[ ]
|
Use the [ ] brackets to match any one of the characters between the brackets. For example, the regular expression r[aou]t matches rat, rot, and rut, but not ret.
Ranges of characters can specified by using a hyphen. For example, the regular expression [0-9] means match any digit. Multiple ranges can be specified as well. The regular expression [A-Za-z] means match any upper or lower case letter.
To match any character except those in the range, use the caret as the first character after the opening bracket. For example, the expression [^269A-Z] will match any characters except 2, 6, 9, and upper case letters.
|
$
|
The dollar sign ($) matches the end of a line. For example, the regular expression professional$ will match the end of the line "He is a professional" but not the end of the line "They are professionals"
|
^
|
The caret (^) matches the beginning of a line. For example, the regular expression ^When in will match the beginning of the line "When in the course of human events" but will not match the beginning of the line "What and When in the"
|
*
|
The asterisk (*) matches zero or more occurrences of the character immediately preceding. For example, the regular expression .* matches any number of any characters. The regular expression [a-z]* matches zero or more lower-case characters.
|
\
|
A backslash (\) followed by any metacharacter matches the literal character itself. That is, the backslash “escapes” the metacharacter. For example, \$ is used to match the dollar sign $ rather than the end of a line. Similarly, the expression \. is used to match the period character rather than any single character.
|
|
|
Matches two conditions. For example the regular expression him|her matches the line "it belongs to him" and matches the line "it belongs to her" but does not match the line "it belongs to them"
|
?
|
A question mark (?) is an optional element. For example, xy?z matches either xyz or xz.
|
+
|
Matches one or more occurrences of the character or regular expression immediately preceding. For example, the regular expression 9+ matches 9, 99, 999 and so on. The regular expression [a-z]+ matches one or more lower-case characters.
|
The Large Data File dialog box
The Large Data File dialog box appears when you try to open a large data file in PSpice. A large data file is a .dat file in which the number of data points per trace is greater than the limit specified in PSpice. By default, this limit is set to 1 million data points per trace.
Options
|
Used for...
|
Use fewer data points to display the complete trace
|
Select this when you want the complete trace to be displayed. In this case all data points are not used to construct the trace, only a few data points are used to construct the trace.
The number of points used to construct the trace can be specified in the Probe Setting dialog box. The number of data points to be used is specified in the Data points in one part text box in the Large data file tab of the Probe Settings dialog box.
For example, if in the .dat file the complete trace is defined using 4 million data points and the value specified in the Data points in one part text box is 1 million, then the trace displayed on the Probe window will be created using only 1 million data points, which is one-fifth of the total number of data points.
|
Use all data points to display trace in parts
|
Select this when you want to load and display the trace in parts. In this case, all the data points are used to construct the part of the trace.
The size of each part of the trace is decided by the number specified in the Data points in one part text box in the Large data file tab of the Probe Settings dialog box.
For example, if the complete trace from 0 to 5 seconds has 500000 data points and the value specified in the Data points in one part text box is 100000, then the complete trace will be divided into 5 parts, each constructed using 100000 data points.
|
Ignore this warning
|
Select this if you want to load the complete trace in one go using all the data points.
When you select this option the data file may or may not get loaded depending on the system memory. If the memory required for loading the complete data file is not sufficient, an error message stating Out of Memory appears and the file is not loaded.
|
Always use this option
|
Select this check box, if you want that one of the three options selected by you should be set as default.
|
-
Use fewer data points to display the complete trace
-
Use all data points to display trace in parts
Return to top