forked from zietzm/Helmholtz_Test_Bench
Status display work, Error handling for not connected devices
This commit is contained in:
1 parent
9620bcdfdd
commit
59606f050f
5 files changed
+141
-37
No files matched your search
@@ -1,10 +1,22 @@
|
||||
import numpy as np
|
||||
import settings as g
|
||||
from tkinter import *
|
||||
from Arduino import Arduino
|
||||
|
||||
import cage_func as func
|
||||
import User_Interface as ui
|
||||
import cage_func as func
|
||||
import settings as g
|
||||
|
||||
|
||||
print("Connecting to PSUs...")
|
||||
func.setup_axes() # initiate communication, set handles
|
||||
|
||||
print("Connecting to Arduino...")
|
||||
#print("Arduino found, configuring pins...")
|
||||
func.setup_arduino()
|
||||
|
||||
print("Opening User Interface...")
|
||||
'''g.TestValuesX = ui.TestValues()
|
||||
g.TestValuesY = ui.TestValues()
|
||||
#g.TestValuesZ = ui.TestValues()
|
||||
g.TestValues = [g.TestValuesX, g.TestValuesY]#, g.TestValuesZ]'''
|
||||
|
||||
application = ui.HelmholtzGUI()
|
||||
application.mainloop()
|
||||
|
||||
# func.shut_down_all()
|
||||
Reference in new issue
Block a user