# To use the preview ```python source /opt/conda/etc/profile.d/conda.sh conda activate /mxn/groups/sw/mxsw/jfjoch/envs/cbor-py37-24a ./start_adxv.sh -p 8100 bg python preview.py "tcp://172.16.230.69:2345" # port 2345: testing data # port 5400: jf detector data ``` spot_type.txt can be edited to change spot color and spot size # Attention This can be run using duo_user_name@clu0-fe-1 and duo_user_name@b-micromax-cc-4 Might need to change paths # Credits start_adxv.sh and adxvSocketh5.py are contributed by Jie Nan (Max IV) # To-do - more documentations - more error feedbacks - make the adxv backgorund process automated - make spot_type.txt file path more robust in the preview.py code