Displaying report 1-1 of 1.
Reports until 10:48, Thursday 12 March 2015
H1 TCS (TCS)
aidan.brooks@LIGO.ORG - posted 10:48, Thursday 12 March 2015 - last comment - 11:31, Thursday 12 March 2015(17219)
ETM HWS computers need updated .bashrc files

The ETM HWS computers currently have outdated .bashrc files that specify aliases and paths. I'm updating these.

 

Comments related to this report
aidan.brooks@LIGO.ORG - 11:31, Thursday 12 March 2015 (17220)

Some specifics:

H1HWSEY

The .bashrc file is the same as that on H1HWSMSR with the following modifications:

  1. Copied the old .bashrc to .bashrc.old.20150312
  2. Changed the environment variable name OPTIC_0 to ETMY_HWS
  3. Commented out OPTIC_1=ITMY_HWS environment variable
  4. Commented out PREFIX1=$IFO:TCS-$OPTIC1 environment variable
  5. Added 'stream_image_EY' alias: '/opt/Hartmann_Sensor_SVN/release/bin/stream_image_Y/distrib/stream_image_Y' (this file is called 'stream_image_Y' but that's just a name, the important thing is that it points to the first port on the capture card
  6. Commented out Run_HWS_ITMY and Run_HWS_ITMX aliases
  7. Added an alias: Run_HWS_H1ETMY='/opt/HWS/Run_HWS_Y/distrib/Run_HWS_Y'

The libraries for the MATLAB Runtime Environment are now properly identified in the path. I confirmed that stream_image_EY runs and displays the image from the camera. See the second attached image.

 

H1HWSEX

The .bashrc file is the same as that on H1HWSMSR with the following modifications:

  1. Copied the old .bashrc to .bashrc.old.20150312
  2. Changed the environment variable name OPTIC_0 to ETMX_HWS
  3. Commented out OPTIC_1=ITMY_HWS environment variable
  4. Commented out PREFIX1=$IFO:TCS-$OPTIC1 environment variable
  5. Added 'stream_image_EX' alias: '/opt/Hartmann_Sensor_SVN/release/bin/stream_image_Y/distrib/stream_image_Y' (this file is called 'stream_image_Y' but that's just a name, the important thing is that it points to the first port on the capture card)
  6. Commented out Run_HWS_ITMY and Run_HWS_ITMX aliases
  7. Added an alias: Run_HWS_H1ETMX='/opt/HWS/Run_HWS_Y/distrib/Run_HWS_Y' (this is not a mistake - the Run_HWS_Y code points to the first port on the capture card)

The libraries for the MATLAB Runtime Environment are now properly identified in the path. I confirmed that stream_image_EX runs and displays the image from the camera. See the first attached image.

Additionally on both:

  • I added the directory /home/controls/archived_images
  • I added the symbolic link to the latest version of the HWS code: /opt/HWS -> /opt/Hartmann_Sensor_SVN/release/HWS_v1.1.8/
  • I added the symbolic link to the framearchive directory: /home/controls/framearchive/ -> /data/ETM/

Note that when the HWS code stores data, it does so in the environment variable named FRAME_ARCHIVE_DIR which is defined by: export FRAME_ARCHIVE_DIR=/home/controls/framearchive/$HOSTNAME 

So, the files will be stored, ultimately in the following way:

HWS Data Directory
ITMX /data/ITM/h1hwsmsr/ITMX/
ITMY /data/ITM/h1hwsmsr/ITMY/
ETMX /data/ETM/h1hwsex/ETMX/
ETMY /data/ETM/h1hwsey/ETMY/
Images attached to this comment
Displaying report 1-1 of 1.