Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Destination2Unknown committed Oct 13, 2023
1 parent 632949e commit a85d81f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PythonCLX_PIDSimulator.pyw
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ class PIDSimForCLX(object):
gui_tags[i].set(round(ret_values[i], 3))
else:
self.gui_status.set(ret_states[i])
if not all(ret_values):
raise Exception(ret_states[0])
if not all(x == "Success" for x in ret_states):
raise Exception(ret_states[0] + " " + ret_states[1])
# Store Data when it is read
self.CV = np.append(self.CV, ret_values[0])
self.SP = np.append(self.SP, ret_values[1])
Expand Down

0 comments on commit a85d81f

Please sign in to comment.