forked from zietzm/Helmholtz_Test_Bench
Changed csv plots to show instantaneous field changes
This commit is contained in:
+3
-3
@@ -30,7 +30,7 @@ SMALL_BUTTON_FONT = ("Arial", 9)
|
||||
|
||||
|
||||
class HelmholtzGUI(Tk):
|
||||
# main application window, almost everything else here es called from this class
|
||||
# main application window, almost everything else here is called from this class
|
||||
# Inherited base class: Tk(), main application window class
|
||||
def __init__(self):
|
||||
Tk.__init__(self)
|
||||
@@ -84,7 +84,7 @@ class TopMenu:
|
||||
window.config(menu=menu) # put menu at the top of the window
|
||||
|
||||
ModeSelector = Menu(menu) # create a submenu object
|
||||
menu.add_cascade(label="Mode", menu=ModeSelector) # add a dropdown with the submenu object
|
||||
menu.add_cascade(label="Menu", menu=ModeSelector) # add a dropdown with the submenu object
|
||||
# create the different options in the dropdown:
|
||||
ModeSelector.add_command(label="Static Manual Input", command=lambda: self.manual_mode(window))
|
||||
ModeSelector.add_command(label="Execute CSV Sequence", command=lambda: self.execute_csv_mode(window))
|
||||
@@ -451,7 +451,7 @@ class ExecuteCSVMode(Frame):
|
||||
self.stop_button["state"] = "normal"
|
||||
self.reinit_button["state"] = "disabled"
|
||||
|
||||
# setup thread for running the sequence:
|
||||
# setup thread for running the sequence
|
||||
# More info: https://www.tutorialspoint.com/python/python_multithreading.htm
|
||||
g.threadLock = threading.Lock() # create thread locking object, used to ensure all devices switch at once later
|
||||
# create thread object:
|
||||
|
||||
Reference in New Issue
Block a user