minor fixes
This commit is contained in:
@@ -144,7 +144,9 @@ class AppCfg(QSettings):
|
||||
if AppCfg.DAQ_PV_CH not in keys:
|
||||
dflt.append((AppCfg.DAQ_PV_CH, () )) #list of PVs
|
||||
if AppCfg.DFT_POS_GONIO not in keys:
|
||||
dflt.append((AppCfg.DFT_POS_GONIO, {'mount':(0.,0.,0.,0.),'align':(0.,0.,0.,0.)}))#defout positions
|
||||
dflt.append((AppCfg.DFT_POS_GONIO, {'mount':(0.,0.,0.,0.),'align':(0.,0.,0.,0.)}))#default positions
|
||||
if AppCfg.DFT_POS_BKLGT not in keys:
|
||||
dflt.append((AppCfg.DFT_POS_BKLGT, {'pos_in': -30000.0, 'pos_out': 1000.0, 'pos_diode': -30000.0}))#default positions
|
||||
|
||||
for k,v in dflt:
|
||||
_log.warning(f'{k} not defined. use default')
|
||||
|
||||
@@ -2310,7 +2310,7 @@ Author Thierry Zamofing (thierry.zamofing@psi.ch)
|
||||
sp.trigger(0.5) # send a start trigger (if needed) after given time
|
||||
if not dt._comm is None:
|
||||
dlg.setLabelText("run motion/acquisition")
|
||||
dlg.setMaximum(sp.points.shape[0])
|
||||
dlg.setMaximum(num_pts)
|
||||
while True:
|
||||
p=sp.progress()
|
||||
if p<0:
|
||||
|
||||
Reference in New Issue
Block a user