T
Terry Pinnell
I've been trying to get a bit more familiar with LTSpice, after
several years using CircuitMaker. One aspect I'm playing with is
exporting a Spice netlist from CircuitMaker and then running it in
LTSpice. For example, I drew this trivial circuit in CM (copied from
Rashid's 'Spice for Circuits and Electronics Using PSpice'):
http://www.terrypin.dial.pipex.com/Images/CM1.gif
Using CM's graphical interface, I can display up to 24 Operating Point
results.
Then I exported the netlist from CM, which gave me this file,
Rash2-1.NET:
*Spice netlist for Circuit: C:\My Documents\Electronics\CIRCUIT
DIAGRAMS\My Experiments\LearnSPICE.ckt
Is 0 3 50mA
V2 6 3 DC 0V
V1 4 0 DC 0V
Vs 7 0 20V
R4 0 3 200
R3 4 5 1k
R2 5 6 800
R1 7 5 500
..SAVE V(3) V(4) V(5) V(6) V(7) @is[p] @is[v] @v2[p] v2#branch @v2[z]
@v1[p]
..SAVE v1#branch @v1[z] @vs[p] vs#branch @vs[z] @r4[p] @r4 @r3[p]
@r3
..SAVE @r2[p] @r2 @r1[p] @r1
*BKGND=RGB 0 0 0
*BINARY RAW FILE
* Selected Circuit Analyses :
..OP
..END
As a check, I first ran CM and imported and simulated the netlist
file. As expected, I got the same 24 results offered for optional
display:
GND is1[p] is1_2 r1 r1[p] r2 r2[p] r3 r3[p] r3_2 r4 r4[p]
vs1#branch vs1[p] vs1[z] vs1_1 vx#branch vx[p] vx[z] vx_1 vy#branch
vy[p] vy[z] vy_1
Then I opened the same Spice netlist in LTSpice, and used
Simulate>Run. But only these 8 results were displayed:
V(vy_1) V(is1_2) V(vx_1) V(vs1_1) V(r3_2) I(Vs1) I(Vx) I(Vy)
Could an LTSpice user advise if I can get all 24 nodes, or whatever
subset of interest I select please.
several years using CircuitMaker. One aspect I'm playing with is
exporting a Spice netlist from CircuitMaker and then running it in
LTSpice. For example, I drew this trivial circuit in CM (copied from
Rashid's 'Spice for Circuits and Electronics Using PSpice'):
http://www.terrypin.dial.pipex.com/Images/CM1.gif
Using CM's graphical interface, I can display up to 24 Operating Point
results.
Then I exported the netlist from CM, which gave me this file,
Rash2-1.NET:
*Spice netlist for Circuit: C:\My Documents\Electronics\CIRCUIT
DIAGRAMS\My Experiments\LearnSPICE.ckt
Is 0 3 50mA
V2 6 3 DC 0V
V1 4 0 DC 0V
Vs 7 0 20V
R4 0 3 200
R3 4 5 1k
R2 5 6 800
R1 7 5 500
..SAVE V(3) V(4) V(5) V(6) V(7) @is[p] @is[v] @v2[p] v2#branch @v2[z]
@v1[p]
..SAVE v1#branch @v1[z] @vs[p] vs#branch @vs[z] @r4[p] @r4 @r3[p]
@r3
..SAVE @r2[p] @r2 @r1[p] @r1
*BKGND=RGB 0 0 0
*BINARY RAW FILE
* Selected Circuit Analyses :
..OP
..END
As a check, I first ran CM and imported and simulated the netlist
file. As expected, I got the same 24 results offered for optional
display:
GND is1[p] is1_2 r1 r1[p] r2 r2[p] r3 r3[p] r3_2 r4 r4[p]
vs1#branch vs1[p] vs1[z] vs1_1 vx#branch vx[p] vx[z] vx_1 vy#branch
vy[p] vy[z] vy_1
Then I opened the same Spice netlist in LTSpice, and used
Simulate>Run. But only these 8 results were displayed:
V(vy_1) V(is1_2) V(vx_1) V(vs1_1) V(r3_2) I(Vs1) I(Vx) I(Vy)
Could an LTSpice user advise if I can get all 24 nodes, or whatever
subset of interest I select please.