diff options
author | Sumanto Kar | 2022-01-31 16:33:59 +0530 |
---|---|---|
committer | GitHub | 2022-01-31 16:33:59 +0530 |
commit | cec2833a020cc843e843c454b83c10fc0abc7c34 (patch) | |
tree | e68a11048a8278db387e55c5fb5c4c5aa77c159f /src/ngspiceSimulation | |
parent | 1d044a719c68488dd90cef2faf5b1101c005ab4c (diff) | |
download | eSim-cec2833a020cc843e843c454b83c10fc0abc7c34.tar.gz eSim-cec2833a020cc843e843c454b83c10fc0abc7c34.tar.bz2 eSim-cec2833a020cc843e843c454b83c10fc0abc7c34.zip |
Added commands for GTK Analog Wave Viewer
Added commands for GTK Analog Wave(GAW) Viewer. If GAW is installed, then eSim will run GAW commands.
Diffstat (limited to 'src/ngspiceSimulation')
-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..52f6b87d 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.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]) |