diff options
author | Rahul P | 2022-02-02 14:11:53 +0530 |
---|---|---|
committer | GitHub | 2022-02-02 14:11:53 +0530 |
commit | 253b978cbdb5dd74df9a46488b05da3da8c50d48 (patch) | |
tree | 6af5e7ef57255f402f035a3bf92a75458a359529 /src | |
parent | 17fda9de4d1f011778b1c82e9cdfe1423b4ba775 (diff) | |
parent | a4c84ad5858d64054d7b810a913fe7ccfdbf92c0 (diff) | |
download | eSim-253b978cbdb5dd74df9a46488b05da3da8c50d48.tar.gz eSim-253b978cbdb5dd74df9a46488b05da3da8c50d48.tar.bz2 eSim-253b978cbdb5dd74df9a46488b05da3da8c50d48.zip |
Merge pull request #180 from Eyantra698Sumanto/master
Added GTK analog wave viewer for linux
Diffstat (limited to 'src')
-rw-r--r-- | src/ngspiceSimulation/NgspiceWidget.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py index 8114f56d..c068d0de 100644 --- a/src/ngspiceSimulation/NgspiceWidget.py +++ b/src/ngspiceSimulation/NgspiceWidget.py @@ -51,3 +51,9 @@ class NgspiceWidget(QtWidgets.QWidget): [self.obj_appconfig.current_project['ProjectName']].append( self.process.pid()) ) + self.process = QtCore.QProcess(self) + self.command = "ngspice -b -r " + \ + command.replace(".cir.out", ".raw") + " -o " \ + + command.replace(".cir.out", ".out") + " " + command + \ + "; gaw " + command.replace(".cir.out", ".raw") + self.process.start('sh', ['-c', self.command]) |