summaryrefslogtreecommitdiff
path: root/src/kicadtoNgspice/KicadtoNgspice.py
diff options
context:
space:
mode:
authorkomalsheth2362015-08-29 12:42:29 +0530
committerkomalsheth2362015-08-29 12:42:29 +0530
commitb811557db8cf6f75fe8633aa5a0b09df032d61d4 (patch)
tree505ebd7772a96e2896600e637695570f1c387c39 /src/kicadtoNgspice/KicadtoNgspice.py
parent5e81c99de1606d01c5d07fbe35005ad5a4298c7f (diff)
downloadeSim-b811557db8cf6f75fe8633aa5a0b09df032d61d4.tar.gz
eSim-b811557db8cf6f75fe8633aa5a0b09df032d61d4.tar.bz2
eSim-b811557db8cf6f75fe8633aa5a0b09df032d61d4.zip
Changes in ac Source Details
Diffstat (limited to 'src/kicadtoNgspice/KicadtoNgspice.py')
-rw-r--r--src/kicadtoNgspice/KicadtoNgspice.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kicadtoNgspice/KicadtoNgspice.py b/src/kicadtoNgspice/KicadtoNgspice.py
index 87616a3d..7351138e 100644
--- a/src/kicadtoNgspice/KicadtoNgspice.py
+++ b/src/kicadtoNgspice/KicadtoNgspice.py
@@ -308,6 +308,8 @@ class MainWindow(QtGui.QWidget):
if words[len(words)-1]=="ac":
#attr_ac=ET.SubElement(attr_var,"ac")
ET.SubElement(attr_var,"field1",name="Amplitude").text=str(obj_source.entry_var[count].text())
+ count=count+1
+ ET.SubElement(attr_var, "field2", name = "Phase").text = str(obj_source.entry_var[count].text())
count=count+2
elif words[len(words)-1]=="dc":
#attr_dc=ET.SubElement(attr_var,"dc")