Oct-31-2022, 02:45 AM
Good Morning,
I made a potentiostat based on article from https://www.sciencedirect.com/science/ar...0317#t0015. Unfortunately, it does not set the desired potential during calibration. I checked the whole system and everything seems fine from the hardware side. I run the software in PyCharm, which basically works but throws some bugs (for instance: Accessing pyqtgraph.QtWidgets through QtGui is deprecated and will be removed sometime after May 2022. Use QtWidgets.QWidget instead.)
Potentiostat files repository: https://osf.io/mk45u/
I made a potentiostat based on article from https://www.sciencedirect.com/science/ar...0317#t0015. Unfortunately, it does not set the desired potential during calibration. I checked the whole system and everything seems fine from the hardware side. I run the software in PyCharm, which basically works but throws some bugs (for instance: Accessing pyqtgraph.QtWidgets through QtGui is deprecated and will be removed sometime after May 2022. Use QtWidgets.QWidget instead.)
Error:C:\Users\Admin\AppData\Local\Programs\Python\Python310\python.exe "C:/Users/Admin/Desktop/Prace naukowe/Bateryjki/Potencjostat niezmieniony/Archive of OSF Storage/python/python/tdstatv3.py"
C:\Users\Admin\Desktop\Prace naukowe\Bateryjki\Potencjostat niezmieniony\Archive of OSF Storage\python\python\tdstatv3.py:1039: DeprecationWarning: Accessing pyqtgraph.QtWidgets through QtGui is deprecated and will be removed sometime after May 2022. Use QtWidgets.QApplication instead.
app = QtGui.QApplication([])
C:\Users\Admin\Desktop\Prace naukowe\Bateryjki\Potencjostat niezmieniony\Archive of OSF Storage\python\python\tdstatv3.py:1040: DeprecationWarning: Accessing pyqtgraph.QtWidgets through QtGui is deprecated and will be removed sometime after May 2022. Use QtWidgets.QMainWindow instead.
win = QtGui.QMainWindow()
C:\Users\Admin\Desktop\Prace naukowe\Bateryjki\Potencjostat niezmieniony\Archive of OSF Storage\python\python\tdstatv3.py:192: DeprecationWarning: Accessing pyqtgraph.QtWidgets through QtGui is deprecated and will be removed sometime after May 2022. Use QtWidgets.QLabel instead.
label = QtGui.QLabel(text=default_text, alignment=QtCore.Qt.AlignCenter)
C:\Users\Admin\Desktop\Prace naukowe\Bateryjki\Potencjostat niezmieniony\Archive of OSF Storage\python\python\tdstatv3.py:193: DeprecationWarning: Accessing pyqtgraph.QtWidgets through QtGui is deprecated and will be removed sometime after May 2022. Use QtWidgets.QGroupBox instead.
box = QtGui.QGroupBox(title=title_name, flat=False)
C:\Users\Admin\Desktop\Prace naukowe\Bateryjki\Potencjostat niezmieniony\Archive of OSF Storage\python\python\tdstatv3.py:195: DeprecationWarning: Accessing pyqtgraph.QtWidgets through QtGui is deprecated and will be removed sometime after May 2022. Use QtWidgets.QVBoxLayout instead.
layout = QtGui.QVBoxLayout()
C:\Users\Admin\Desktop\Prace naukowe\Bateryjki\Potencjostat niezmieniony\Archive of OSF Storage\python\python\tdstatv3.py:1049: DeprecationWarning: Accessing pyqtgraph.QtWidgets through QtGui is deprecated and will be removed sometime after May 2022. Use QtWidgets.QHBoxLayout instead.
potential_current_display_frame = QtGui.QHBoxLayout()
C:\Users\Admin\Desktop\Prace naukowe\Bateryjki\Potencjostat niezmieniony\Archive of OSF Storage\python\python\tdstatv3.py:1082: DeprecationWarning: Accessing pyqtgraph.QtWidgets through QtGui is deprecated and will be removed sometime after May 2022. Use QtWidgets.QPushButton instead.
preview_cancel_button = QtGui.QPushButton("Back to live graph")
C:\Users\Admin\Desktop\Prace naukowe\Bateryjki\Potencjostat niezmieniony\Archive of OSF Storage\python\python\tdstatv3.py:1087: DeprecationWarning: Accessing pyqtgraph.QtWidgets through QtGui is deprecated and will be removed sometime after May 2022. Use QtWidgets.QTabWidget instead.
tab_frame = QtGui.QTabWidget()
C:\Users\Admin\Desktop\Prace naukowe\Bateryjki\Potencjostat niezmieniony\Archive of OSF Storage\python\python\tdstatv3.py:204: DeprecationWarning: Accessing pyqtgraph.QtWidgets through QtGui is deprecated and will be removed sometime after May 2022. Use QtWidgets.QWidget instead.
widget = QtGui.QWidget()
C:\Users\Admin\Desktop\Prace naukowe\Bateryjki\Potencjostat niezmieniony\Archive of OSF Storage\python\python\tdstatv3.py:224: DeprecationWarning: Accessing pyqtgraph.QtWidgets through QtGui is deprecated and will be removed sometime after May 2022. Use QtWidgets.QLineEdit instead.
entry = QtGui.QLineEdit()
C:\Users\Admin\Desktop\Prace naukowe\Bateryjki\Potencjostat niezmieniony\Archive of OSF Storage\python\python\tdstatv3.py:1201: DeprecationWarning: Accessing pyqtgraph.QtWidgets through QtGui is deprecated and will be removed sometime after May 2022. Use QtWidgets.QComboBox instead.
hardware_manual_control_range_dropdown = QtGui.QComboBox()
C:\Users\Admin\Desktop\Prace naukowe\Bateryjki\Potencjostat niezmieniony\Archive of OSF Storage\python\python\tdstatv3.py:1230: DeprecationWarning: Accessing pyqtgraph.QtWidgets through QtGui is deprecated and will be removed sometime after May 2022. Use QtWidgets.QCheckBox instead.
hardware_log_checkbox = QtGui.QCheckBox("Log")
C:\Users\Admin\Desktop\Prace naukowe\Bateryjki\Potencjostat niezmieniony\Archive of OSF Storage\python\python\tdstatv3.py:1454: DeprecationWarning: Accessing pyqtgraph.QtWidgets through QtGui is deprecated and will be removed sometime after May 2022. Use QtWidgets.QPlainTextEdit instead.
statustext = QtGui.QPlainTextEdit()
I wonder if this could be the cause of the potentiostat malfunction. I'm not a programmer, so any help is appreciated.Potentiostat files repository: https://osf.io/mk45u/