switch to motorRecord Smaract
This commit is contained in:
29
Readme.md
29
Readme.md
@@ -291,17 +291,44 @@ bt
|
||||
Localize mionitors and callbacks:
|
||||
```
|
||||
|
||||
grep -n 'def cb_update_img(self):' *.py
|
||||
grep -Rn 'add_callback' *.py
|
||||
|
||||
|
||||
swissmx.py:698: self.sigNewCamImg.connect(self.cb_update_img)
|
||||
swissmx.py:745: def cb_update_img(self):
|
||||
epics_widgets/MotorTweak.py:88: m.set_callback('RBV', self.emit_signals, {'source_field': 'RBV'})
|
||||
epics_widgets/SmaractMotorTweak.py:100: self._pv_readback.add_callback(self.update_label)
|
||||
swissmx.py:717: cam.run(self.cb_new_frame_pv)
|
||||
swissmx.py:743: self.sigNewCamImg.emit()
|
||||
swissmx.py:745: def cb_update_img(self):
|
||||
swissmx.py:698: self.sigNewCamImg.connect(self.cb_update_img)
|
||||
camera.py:159: self._pv['pic'] = epics.PV(self._prefix + "FPICTURE", auto_monitor=True, callback=cb)
|
||||
|
||||
|
||||
-> try to turn of the monitors during ascuisition:
|
||||
zamofing_t@ganymede:~/Documents/prj/SwissFEL/epics_ioc_modules/ESB_MX$
|
||||
grep -r set_callback *
|
||||
|
||||
https://pyepics.github.io/pyepics/pv.html#automatic-monitoring-of-a-pv
|
||||
|
||||
|
||||
Try with:
|
||||
pv.clear_auto_monitor() -> pv.reconnect()
|
||||
|
||||
pv.remove_callback(index=None) -> pv.add_callback(callback=None[, index=None [, with_ctrlvars=True[, **kw]])
|
||||
pv.set_callback
|
||||
|
||||
FixTargetFrame -> paint -> _log.debug()
|
||||
|
||||
|
||||
Turn off jungfrau.
|
||||
no motion -> wait 1h
|
||||
constant up-dow motion code -> wait 1h
|
||||
|
||||
|
||||
```
|
||||
|
||||
try: #pv-monitor-func
|
||||
|
||||
----------------------------------- SCRATCH -----------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user