Llibpath and post process tab

Continuing the discussion from Tutorial: .libpath directive:

Yes it worked for me but post process is ignoring the libpath

Example (see here generated netlist from my schematics):

  • D:\Dropbox\simulations*qspice\freq_meter_preamp.qsch*

.libpath “D:\Dropbox\simulations\qspice-symbols”
.libpath “D:\Dropbox\simulations\qspice-libs”

Q1 N02 N05 0 0 QBF199 NPN
L1 N04 N02 10µ
R3 N03 N04 470
R4 N04 N05 22K
C5 N06 N05 100n
V1 N03 0 5V
Vin N06 0 ac 1
R1 OUT N02 470
R2 OUT 0 10K
#.ac dec 100 100K 100Meg
.lib semi.txt
.op
.lib NPN.txt
.end

I put my semi.lib into qspice-libs. As you mentioned it does not show in Symbol &IP Browser but simulation WORKS ! However … Post process tab shows "Fatal error: could not open file “semi.txt”

using full path does not show error in post process tab
.lib …\qspice-libs\semi.txt

@mrszb ,

If I understand your description, your simulation does work. Ie:

I put my semi.lib into qspice-libs. As you mentioned it does not show in Symbol &IP Browser but simulation WORKS !

The issue is that when not using a .qsym as a reference, you get a "Fatal error: could not open file “semi.txt”.

If you use the .libpath directly and set the absolute path, the error goes away.

If this is true, I believe Mike @Engelhardt should look at this. This might be a corner case where the code throws an error BUT the simulation still runs!!!

Len