diff --git a/Release/Helmholtz Cage Control.exe b/Release/Helmholtz Cage Control.exe index 342ed9e..d61d97d 100644 Binary files a/Release/Helmholtz Cage Control.exe and b/Release/Helmholtz Cage Control.exe differ diff --git a/Release/Helmholtz Control V1.1.zip b/Release/Helmholtz Control V1.1.zip new file mode 100644 index 0000000..fc236fb Binary files /dev/null and b/Release/Helmholtz Control V1.1.zip differ diff --git a/User_Interface.py b/User_Interface.py index a705be0..04b7855 100644 --- a/User_Interface.py +++ b/User_Interface.py @@ -761,12 +761,14 @@ class Configuration(Frame): config.CONFIG_FILE = filename # set global config file to the new file self.write_values() # write current entry field values to the config object config.write_config_to_file(config.CONFIG_OBJECT) # write contents of config object to file + ui_print("\nReinitializing devices...") func.setup_all() # reinitialize devices and program with new values self.update_fields() # update entry fields to show values as they are in the config def save_config(self): # same as save_config_as() but with the current config file self.write_values() # write current entry field values to the config object config.write_config_to_file(config.CONFIG_OBJECT) # write contents of config object to file + ui_print("\nReinitializing devices...") func.setup_all() # reinitialize devices and program with new values self.update_fields() # update entry fields to show values as they are in the config @@ -897,13 +899,13 @@ class ConfigureLogging(Frame): self.checkboxes.append(checkbox) # add created checkbox to list of all checkboxes row += 1 - # self.controller.bind('', self.escape_press) ToDo: implement escape button press event + # self.controller.bind('', self.escape_press) ToDo: implement escape button press event to power down def page_switch(self): # function that is called when switching to this window # every class in the UI needs this, even if it doesn't do anything pass - # def escape_press(self, event): ToDo: implement escape button press event + # def escape_press(self, event): ToDo: implement escape button press event to power down # stop_logging() def start_logging(self): # start logging data (called by button) @@ -1097,7 +1099,6 @@ class StatusDisplay(Frame): self.label_dict["Trgt. Field Raw:"][i].set("%0.3f \u03BCT" % (axis.target_field_comp * 1e6)) self.label_dict["Target Current:"][i].set("%0.3f A" % axis.target_current) self.label_dict["Inverted:"][i].set(axis.polarity_switched) - print(axis.name, axis.polarity_switched) i += 1