Error in PSoc 5LP aligned GUI

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
shuvra1
Level 5
Level 5
100 sign-ins 10 likes given 100 replies posted

PS C:\Users\Avinash\OneDrive - hyderabad.bits-pilani.ac.in\Documents\Python Scripts> python Potentiostat_GUI.py
-------------------------------------------------
Measurement frequency: 500.02083420142503 Hz
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\Avinash\AppData\Local\Programs\Python\Python310\lib\tkinter\__init__.py", line 1921, in __call__
return self.func(*args)
File "C:\Users\Avinash\OneDrive - hyderabad.bits-pilani.ac.in\Documents\Python Scripts\Potentiostat_GUI.py", line 228, in Send_CV_Settings
self.user.set_Scan_rate(_scan_rate)
File "C:\Users\Avinash\OneDrive - hyderabad.bits-pilani.ac.in\Documents\Python Scripts\Potentiostat_userinput.py", line 46, in set_Scan_rate
self.comm.usb_write(scan_rate_formatted) # Send command
File "C:\Users\Avinash\OneDrive - hyderabad.bits-pilani.ac.in\Documents\Python Scripts\Potentiostat_communication.py", line 76, in usb_write
self.ep_out.write(message)
AttributeError: 'NoneType' object has no attribute 'write'
-------------------------------------------------
Plot title is stored.
-------------------------------------------------
Plot legend is stored.
-------------------------------------------------
Cyclic Voltammetry initialization has started.
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\Avinash\AppData\Local\Programs\Python\Python310\lib\tkinter\__init__.py", line 1921, in __call__
return self.func(*args)
File "C:\Users\Avinash\OneDrive - hyderabad.bits-pilani.ac.in\Documents\Python Scripts\Potentiostat_GUI.py", line 273, in Start_CV_scan
self.user.run_CyclicVoltammetry()
File "C:\Users\Avinash\OneDrive - hyderabad.bits-pilani.ac.in\Documents\Python Scripts\Potentiostat_userinput.py", line 113, in run_CyclicVoltammetry
self.comm.usb_write("R")
File "C:\Users\Avinash\OneDrive - hyderabad.bits-pilani.ac.in\Documents\Python Scripts\Potentiostat_communication.py", line 76, in usb_write
self.ep_out.write(message)
AttributeError: 'NoneType' object has no attribute 'write'

0 Likes
1 Solution
ncbs
Moderator
Moderator
Moderator
500 replies posted 50 likes received 250 sign-ins

Hi @shuvra1 ,

I see that this is related to https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0201353. We recommend you to get in touch with the author(s) of the dissertation for the dissertation specific implementation/details. The GUI was not developed by Infineon Technologies and the errors are with respect to the GUI developed by the authors. So I highly recommend you to contact the authors for the same.

Regards,
Nikhil

View solution in original post

0 Likes
1 Reply
ncbs
Moderator
Moderator
Moderator
500 replies posted 50 likes received 250 sign-ins

Hi @shuvra1 ,

I see that this is related to https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0201353. We recommend you to get in touch with the author(s) of the dissertation for the dissertation specific implementation/details. The GUI was not developed by Infineon Technologies and the errors are with respect to the GUI developed by the authors. So I highly recommend you to contact the authors for the same.

Regards,
Nikhil

0 Likes