Spectrum Software has released Micro-Cap 11, the eleventh generation of our
SPICE circuit simulator.
For users of previous Micro-Cap versions, check out the
new features available in the latest version. For those of you who are
new to Micro-Cap, take our
features tour to see what Micro-Cap has to offer.
Questions and Answers
Question: Whenever I try to enter an analysis, I keep getting the error: "Can't find file: Nom.Lib". This prevents me from simulating my circuit. How do I get around this?
Answer: This can occur if the circuit you are attempting to simulate does not reside in the default DATA directory. The problem is that MC5 is looking only in the current directory for the libraries, and if the libraries aren't in this directory, then it will not be able to find them. The way to fix this is to use the environmental variable, MC5DATA, which should have been set when MC5 was installed if your system allowed it. If MC5 can't find the libraries in the current directory, it checks the environmental variable for alternative paths. The procedure for setting the environmental variable is as follows:
For Windows 3.1, Windows 95, and Windows 98
Open up your Autoexec.bat file in a text editor. This file resides on the C: root directory. Add this line inside your Autoexec.bat on a new line:
where C:\MC5\DATA is the directory the libraries are stored in. The default directory that the installation stores the libraries in is the DATA directory so in most cases, the path specified should lead to where the DATA directory was installed. More than one directory may be specified for this variable, with the paths being separated by a semicolon. The system would then need a full reboot.
For Windows NT 4.0
Click on the Start menu. Go to Settings. Click on Control Panel. Double click on the System icon. When the System dialog box appears, click on the Environment tab. At the bottom of the Environment section, there is a list of User Variables. The MC5DATA variable needs to be added to this list. Below the list are two text fields called Variable and Value. In the Variable field, type in:
In the Value field, the path to the DATA directory needs to be specified such as:
Again, multiple paths may be specified by using the semicolon delimiter. Click on the Set command button. Once this is done, the MC5DATA variable and value should appear in the User Variables list. Click OK. If MC5 was loaded during the procedure, it needs to be restarted. Otherwise, loading MC5 should enable the variable.
In MC5, it is possible to see what value the MC5DATA variable has been set to. In the schematic area, hit Alt+Z and a Statistics window will appear. One of the lines in this window will specify the MC5DATA value.
In the new MC6 version, the procedure is the exact same as described above except that the environmental variable is now MC6DATA.