40m
QIL
Cryo_Lab
CTN
SUS_Lab
CAML
OMC_Lab
CRIME_Lab
FEA
ENG_Labs
OptContFac
Mariner
WBEEShop
|
40m Log |
Not logged in |
 |
|
Message ID: 970
Entry time: Fri Sep 19 01:55:41 2008
|
Author: |
rana |
Type: |
Summary |
Category: |
SUS |
Subject: |
SUS Drift Screen Updated |
|
|
I wrote 2 matlab scripts to update the SUS DRIFT screen:
- setsval.m uses mDV to get the minute trend from some specified start time
and duration in the past. It then writes that 'good' value to the
.SVAL field of the SUSPOS, SUSPIT, and SUSYAW records for all the
optics
- setHILO.m reads the .SVAL field and then sets the alarm levels and severity
for the same records given a "sigma" as an argument. i.e. 1 sigma = HIGH,
2 sigma = HIHI.
Attached is the new screen. WE can now use this to judge when the optics have moved alot.
If someone will edit the BURT .req file to have these subfields
(.HIHI .HIGH .LOW .LOLO .HHSV .HSV .LSV .LLSV) then they will come back after a reboot as well.
Below I'm also attaching the matlab code for people at the observatories who don't have
access to the SVN here. |
|
|
function varargout = setsvals(varargin)
% SETSVALS
% sets the SVAL records for the SUS
debug = 0;
if nargin < 2
error('Needs 2 arguments.')
elseif nargin > 2
... 56 more lines ...
|
|
function setHILO(varargin)
% SETHILO
% Ex. setHILO(1000);
% this sets the SUS alarm levels to be 1000 counts
% from the nominal
% 1 for debugging
debug_flag = 0;
if nargin == 1
... 62 more lines ...
|