Discussion in 'Programmer's Corner' started by alitex, Mar 12, 2007.
when i make semulate in pspice ,the program say "the v1 dc is undefined"
You probably forgot to set the voltage value of v1. If it is not that, then post your netlist so we can have a good look.
i put the statement (v1 1 0 dc 36)
you know v<name> v+ v- [dc] if and <value of the source>
i put all parameters of statements nevertheless i have that problem
Post your netlist then.
sorry,but what do you mean of netlist?
The text file that has all the circuit elements in it. Like...
V1 1 0 DC +5
R1 1 2 270
C1 2 0 1u
many thankx n9352527
but still the problem and this message that appear (ERROR -- DC device v1 is undefined)
this is my program
v1 1 0 dc +36
r1 1 2 3
r2 2 0 6
r3 2 3 8
r4 3 0 2
.dc 36 36 1
.print dc v(1) v(2) v(3)
is there any mistake?
The only possible error I could spot was the DC analysis statement. It should specify the source to be swept.
.dc V1 36 36 1
so what can i make now?
do u think there is problem in my PSPICE ?
Have you left first line blank as it is tittle line and will not be executed.