--- tags: minutes, motion --- # Motion Meeting Minutes | BaPSF | April 19, 2022 ## Agenda 1. ... ## Attendees * Erik * Rishabh * Steve ## Minutes * GUI * Put coordinates on graphical display * allow for different steps sizes for different gird objects * Desired Features * "Go To Out" - pull probe out, motion group config * "Go To Zero" - got to zero location, motion group config * a motion validation before moving to ensure the probe never enters a RED zone * Moving to LV2022 * Steve got loaner license from Chemistry * It's on one computer and need to be on the BaPSF network * Next grant to have LV2022 writtne into * **Write for py36 unitl we have our own LV2022+ license!!** * possible translation layer from Python to LV friendly data ```python= def labview_handler(request, data): _requests = { "configure": lv_handle_configure, "get_integers": lv_handle_get_integers, } return _requests[request] def lv_handle_configure(data): # launch your gui ... # gui closes # take config data dictionary # convert dictionary into LV friendly cluster (i.e. tuple) ... return response_data def lv_handle_get_integers(data): ... return response_data ``` * refactoring of pkg ```bash= +-- src/bapsf_motion/ | +-- gui/ | | +-- controllers/ | | | +-- single_motor.py | | | +-- single_group.py | | | +-- controller.py | | +-- __init__.py | | +-- configuration.py # what's launched w/ the "configure" request | +-- controllers/ | | +-- __init__.py | | +-- motor.py | | +-- drive.py | | +-- motion_group.py (or group.py) | +-- configurators/ | | +-- __init__.py | | +-- motor.py | | +-- drive.py | | +-- motion_group.py (or group.py) | +-- __init__.py | +-- motion_manager.py ```