Back to Forums
4 posts / 0 new
Last post
#1 Jun 25, 2021
rum
Offline
Last seen: 2 years 6 months ago
Joined: 2021-06-25 04:43

user macro or goal function file

Hi,

where do I specify in orcad user macro or goal function file to be loaded at each startup of pspice? In manual is described only option when pspice is executed from command line.

This macro file could be global or relative to certain project.

thanks

Wed, 2021-06-30 09:57
ayush
ayush's picture
Offline
Last seen: 1 year 8 months ago
Joined: 2020-06-15 06:52

Macros can contain constraints, functions or expressions of any or all of these. Macros
are used when specifying a trace to add.

Macros are stored in a .PRB file.

The global .PRB file is loaded when a data file is opened. The global .PRB file is specified in the [PROBE] section of the pspice.ini file by the line:
PRBFILE=filename
The local .PRB file is loaded after the global .PRB file. The local .PRB file has the same name as the data file that is being opened. For example, if the data file is named PROJECT.DAT, the local file is named PROJECT.PRB.

You can load a specific .PRB file after the global and local files are loaded by using the command line option -p. For example:

PSpice .EXE -P MYFILE.PRB

Sun, 2023-02-19 21:00
deefo01
Offline
Last seen: 5 months 3 weeks ago
Joined: 2022-10-18 06:47

If you like playing cooking game, you will love papa's pizzeria. It's one of best game this month. 

Wed, 2023-08-09 04:00
andree23
Offline
Last seen: 2 weeks 3 days ago
Joined: 2023-04-17 05:46

The "pspice.ini" file contains shell shockers settings and configurations for PSpice, including user-defined macros and goal function files.

Download PSpice and try it for free! Download Free Trial
Cadence