nicer output of server state

- more outstanding output of frappy server state
- frappy() does now alse an update if needed
- frappy.show() to show state only
This commit is contained in:
2024-05-13 08:41:03 +02:00
parent ead54b14a5
commit e213186295
3 changed files with 165 additions and 134 deletions

View File

@ -51,15 +51,17 @@ devices = dict(
)
startupcode = '''
printinfo("=======================================================================================")
printinfo("Welcome to the NICOS frappy secnode setup!")
printinfo(" ___________________________________________________________________________________________")
printinfo(" ")
printinfo("Usage:")
printinfo(" frappy('<main cfg>') # change main SE configuration (e.g. cryostat)")
printinfo(" frappy('<main cfg>', '<stick cfg>') # change main and stick cfg")
printinfo(" frappy(stick='') # remove stick")
printinfo(" frappy('') # remove main SE apparatus")
printinfo(" frappy() # show the current SE configuration")
printinfo("=======================================================================================")
printinfo(" Welcome to the NICOS frappy secnode setup!")
printinfo(" ")
printinfo(" Usage:")
printinfo(" frappy('<main cfg>') # change main SE configuration (e.g. cryostat)")
printinfo(" frappy('<main cfg>', '<stick cfg>') # change main and stick cfg")
printinfo(" frappy(stick='') # remove stick")
printinfo(" frappy('') # remove main SE apparatus")
printinfo(" frappy.read() # show the current SE configuration")
printinfo(" frappy() # show and update SE configuration form server state")
printinfo(" ___________________________________________________________________________________________")
set_se_list()
'''