The .bashrc file is the same as that on H1HWSMSR with the following modifications:
Copied the old .bashrc to .bashrc.old.20150312
Changed the environment variable name OPTIC_0 to ETMY_HWS
Commented out OPTIC_1=ITMY_HWS environment variable
Commented out PREFIX1=$IFO:TCS-$OPTIC1 environment variable
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
Commented out Run_HWS_ITMY and Run_HWS_ITMX aliases
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:
Copied the old .bashrc to .bashrc.old.20150312
Changed the environment variable name OPTIC_0 to ETMX_HWS
Commented out OPTIC_1=ITMY_HWS environment variable
Commented out PREFIX1=$IFO:TCS-$OPTIC1 environment variable
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)
Commented out Run_HWS_ITMY and Run_HWS_ITMX aliases
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:
Some specifics:
H1HWSEY
The .bashrc file is the same as that on H1HWSMSR with the following modifications:
.bashrc
to.bashrc.old.20150312
OPTIC_0
toETMY_HWS
OPTIC_1=ITMY_HWS
environment variablePREFIX1=$IFO:TCS-$OPTIC1
environment variablestream_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 cardRun_HWS_ITMY
andRun_HWS_ITMX
aliasesRun_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:
.bashrc
to.bashrc.old.20150312
OPTIC_0
toETMX_HWS
OPTIC_1=ITMY_HWS
environment variablePREFIX1=$IFO:TCS-$OPTIC1
environment variablestream_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)Run_HWS_ITMY
andRun_HWS_ITMX
aliasesRun_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:
/home/controls/archived_images
/opt/HWS -> /opt/Hartmann_Sensor_SVN/release/HWS_v1.1.8/
/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:
/data/ITM/h1hwsmsr/ITMX/
/data/ITM/h1hwsmsr/ITMY/
/data/ETM/h1hwsex/ETMX/
/data/ETM/h1hwsey/ETMY/