From 2b2c5b56054d1175967fa0b40e0a78ec491063e6 Mon Sep 17 00:00:00 2001 From: Fahim Date: Thu, 3 Dec 2015 17:58:34 +0530 Subject: Subject: Changes of Pspice converter for Windows 32bit Description: Changes of Pspice converter for Windows 32bit --- src/pspicetoKicad/ImportPspice.py | 6 +++--- src/pspicetoKicad/libConverter32.exe | Bin 0 -> 482613 bytes src/pspicetoKicad/schConverter32.exe | Bin 0 -> 528123 bytes 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 src/pspicetoKicad/libConverter32.exe create mode 100644 src/pspicetoKicad/schConverter32.exe diff --git a/src/pspicetoKicad/ImportPspice.py b/src/pspicetoKicad/ImportPspice.py index 807726ee..6709b343 100644 --- a/src/pspicetoKicad/ImportPspice.py +++ b/src/pspicetoKicad/ImportPspice.py @@ -34,7 +34,7 @@ class ImportPspiceLibrary(QtGui.QWidget): else: self.cmd = "../pspicetoKicad/libConverter32 "+self.arg elif platform.system() == 'Windows': - self.cmd = os.path.join(os.path.split(os.path.realpath(__file__))[0],'libConverter.exe') + self.cmd = os.path.join(os.path.split(os.path.realpath(__file__))[0],'libConverter32.exe') self.status = os.system(str(self.cmd)) @@ -144,7 +144,7 @@ class ConvertPspiceKicad(QtGui.QWidget): self.cmd = "../pspicetoKicad/schConverter32 "+self.arg1+" "+self.arg2 elif platform.system() == 'Windows': print "Needs to include for Windows" - self.cmd = os.path.join(os.path.split(os.path.realpath(__file__))[0],'converter.exe')+" "+self.arg1+" "+self.arg2 + self.cmd = os.path.join(os.path.split(os.path.realpath(__file__))[0],'schConverter32.exe')+" "+self.arg1+" "+self.arg2 #Running command self.status = os.system(str(self.cmd)) @@ -170,4 +170,4 @@ class ConvertPspiceKicad(QtGui.QWidget): self.msg = QtGui.QErrorMessage(None) self.msg.showMessage('Error while removing existing project.
Please check whether directory is Read only.') self.obj_Appconfig.print_error('Error while removing existing project') - self.msg.setWindowTitle("Error Message") \ No newline at end of file + self.msg.setWindowTitle("Error Message") diff --git a/src/pspicetoKicad/libConverter32.exe b/src/pspicetoKicad/libConverter32.exe new file mode 100644 index 00000000..06b2da79 Binary files /dev/null and b/src/pspicetoKicad/libConverter32.exe differ diff --git a/src/pspicetoKicad/schConverter32.exe b/src/pspicetoKicad/schConverter32.exe new file mode 100644 index 00000000..dd531d77 Binary files /dev/null and b/src/pspicetoKicad/schConverter32.exe differ -- cgit