Skip to content

Resolve "P.T. question: how to get a list of all existing motors in beamline config (not session) ?"

example of lsconfig():


CYRIL [1]: lsconfig()
MeasurementGroup:
----------------
demo_counters  MG_tomo  MG_sim  MG_gauss  MG_align

MultiplePositions:
-----------------
beamstop  att1

Motor:
-----
wl_mono   u42c      u42b         spec_m3     pzth_enc    pzth    psho    pshg     psf  psb      motor7  motor6  mono
mme       mm_enc    mm9          mm8         mm7         mm6     mm5     mm4      mm3  mm2      mm16    mm15    mm14
mm13      mm12      mm11         mm10        mm1         mech1   mc2     mc1_enc  mc1  mbv4mot  m5      m4      m3
m2        m1        kbvo         kbvg        kbho        kbhg    ice2    ice1     gal  fsh      e_mono  dummy2  dummy1
calc_mot  blade_up  blade_front  blade_down  blade_back  bend_u  bend_d

None:
----
ser0                 out1                 kb1                  hpz_rx  hpz_off_2  hpz_off_1  hppstc2  hppstc1
controller_setting3  controller_setting2  controller_setting1

SimulationCounter:
-----------------
sim_ct_calib_gauss3  sim_ct_calib_gauss2  sim_ct_calib_gauss  sim_ct_5  sim_ct_4  sim_ct_3  sim_ct_2  sim_ct_1
ct1

[...]
Edited by Cyril Guilloud

Merge request reports