forked from zietzm/Helmholtz_Test_Bench
23 lines
547 B
Python
23 lines
547 B
Python
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()
|