Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Downtime 2023, Dec 18:

  • New SD card installed, code is still working:

Image Added

Old Notes

Code

  • Available via git

Start the camera server

  1. ssh onto the pi: ssh e320@e320pi
  2. (optional/advanced): start a 'screen' session with 'screen'.
    Then you can detach from the server via CTRL+A, CTRL+D (the server remains alive even after you close the ssh connection)
    run 'screen -r' to reattach
  3. run the server code as root

Troubleshooting
    • If the pi is not reacting: toggle powerstrip to reboot it (takes 30-60 seconds)

Start the viewer on a facet control computer (e.g., trailer)

You are already logged onto the control computer, but you need to establish a port forwarding (or use x-forwarding):

  1. ssh back to mcclogin: ssh smeuren@mcclogin -Y
  2. make sure you have bash (on mcclogin): bash
  3. source /afs/slac/g/lcls/package/anaconda/envs/python3.8env/bin/activate
  4. git clone /afs/slac/g/cd/swe/git/repos/slac/FACET/facet-E320.git/
  5. cd facet-E320/tunnelpi/cameraserver
  6. python3 camviewer.py

Start the viewer: on mcclogin

...