\documentclass[11pt]{article}
%\documentstyle[11pt]{article}

\usepackage{lscape}
\usepackage[]{color}
\newcommand{\pgf}[1]{\textcolor{black}{#1}}        % or some other standout color
\newcommand{\hc}[1]{\multicolumn{1}{|c|}{#1}}    % makes xxx.tab easier to read
\def\pgfedit{black}

\topmargin -0.75truein
\oddsidemargin -0.4truein
\textheight 9.25truein
\textwidth 6.7truein
\hbadness=10001
\hfuzz=200pt

\begin{document}
%\input dspace12.tex
%\input pstricks.tex
%\input psfig
\newcommand{\be}{\begin{enumerate}}
\newcommand{\ee}{\end{enumerate}}
\newcommand{\bc}{\begin{center}}
\newcommand{\ec}{\end{center}}
\newcommand{\bi}{\begin{itemize}}
\newcommand{\ei}{\end{itemize}}
\newcommand{\bd}{\begin{description}}
\newcommand{\ed}{\end{description}}
\newcommand{\bt}{\begin{tabbing}}
\newcommand{\et}{\end{tabbing}}
\newcommand{\eg}{{\it e.g.~}}
\newcommand{\ie}{{\it i.e.~}}
\newcommand{\ul}{\underline}
\newcommand{\axaf}{{\em AXAF}}
\def\la{\hbox{\rlap{$<$}\lower0.5ex\hbox{$\sim$}\ }}

\large
%\vspace*{-0.5in}
\centerline {\bf 5.14\_\textcolor{black}{V2.2} DEA and FEP Diagnostic Procedure}
		 
\vspace{0.25in}

\normalsize
\noindent{\it Last Revised: \today} \\
\noindent{\bf Filename: dea\_fep\_diags} \\

\noindent {\bf BRIEF FUNCTIONAL DESCRIPTION:} \\
\normalsize

This procedure obtains diagnostic information from the FEPs and
video boards for use in analysis of the so-called HiLo Anomaly,
\textcolor{\pgfedit}{(}in which one CCD stops reporting events and the overclock
values suggest the bias on 3 \textcolor{\pgfedit}{of its} quads is zero and on the
other is 4095\textcolor{\pgfedit}{), or whenever an anomaly is suspected in an
ACIS FEP or video board while realtime telemetry is being received
and there is sufficient time available to uplink and run this diagnostic
procedure before the end of the science run.}

The FOT should group the ACIS commands into three CLDs.

The first CLD, containing steps 2 and 3, contains commands that are
the same regardles of which FEP/video board combination has experienced
the anomaly.

The second CLD, containing step 4, contains commands that are specific
to the video board that experienced the anomaly. Ten such CLDs will
be generated and the ACIS Ops Scientist must select the appropriate CLD
file in the CAP for the video board to be tested.

The third CLD, containing steps 5 and 6, contains commands that are specific
to the FEP that experienced the anomaly. Six such CLDs will be generated and
the ACIS Ops Scientist must select the appropriate CLD file in the CAP for
the FEP to be tested.

The CLDs should be
loaded into three SCS slots: the first CLD should end by
calling the SCS slot containing the second CLD, and the
second CLD should end by calling the SCS slot that
contains the third CLD.

The sequence of actions will be:
\bi
\item 
Select a short or long delay time based on the degree of telemetry saturation.
\textcolor{\pgfedit}{Unless the realtime telemetry shows that a substantial number
of exposures are being skipped, the short delay time should be chosen.}
\item
Select one CCD and one FEP for diagnostics.
\item
\textcolor{\pgfedit}{Load the three CLDs into three SCS slots.}
\item
\textcolor{\pgfedit}{Start the first CLD. The following actions will occur automatically
so that they will not be affected by a loss-of-contact.}
\item
Suspend the FEPs and wait for the telemetry buffer to empty.
\item
\textcolor{\pgfedit}{Turn off DEA housekeeping}
\item
Prepare for diagnostics by saving the current \textcolor{\pgfedit}{video board
configuration} and powering up all \textcolor{\pgfedit}{video} boards.
\item 
Perform DEA diagnostics for the selected CCD chip. When complete, power off
video boards not needed for the current science run.
\item
Perform FEP diagnostics for the selected FEP.
\item
\textcolor{\pgfedit}{Restart DEA housekeeping and resume FEP processing.}
\item 
Resume \textcolor{\pgfedit}{the science run in process}.
\item If still in comm when the diagnostic ends, ACIS Ops should verify that
all FEPS (except the one being diagnosed) are reporting data as usual.
\ei

Note this SOP halts the DEA sequencer for the video board in question and
does not restart it. Therefore, that CCD/video board combination will produce
no data for the rest of the current science run.

When the video boards are all powered on but not sequencing, the $-15$~v DEA-A
power supply voltage (1DEN1AVO) will read $-16.7$~v. The current yellow limit
is $-16.5$~v.

After FEPS resume processing, ACIS Ops should verify if possible that all but
the problem FEP are reporting events, threshold crossings are nominal, etc.
PMON will show a red error message FEPREC\_RESET, with count=1 and value=fepId
for the dumped FEP.

The Hi-Lo Pixel anomaly is documented in detail in Peter Ford's memo
of Dec 3, 2014, entitled ``The ACIs Hi-Lo-Pixel Anomaly (v1.4)''. Commands
are detailed in a spreadsheet, {\it ``hilo\_diags\_plan~v2.2.xlsx''}, which is available
\textcolor{\pgfedit}{under MIT ACIS CVS control at {\it ``patches/deadump''}}.

% Refer to the ... Peter's memo, Royce's e-mail, Peter's spreadsheet TBR \\

ACIS flight software personnel will review the contents of the various
dumps after the procedure has been run. \\

% \newpage

\normalsize
\noindent {\bf ASSUMED INSTRUMENT STATE:} \\
\normalsize

An anomaly, such as the ACIS HiLo Anomaly, which leaves a science run acti\textcolor{\pgfedit}{v}e,
is observed to be in progress. For testing purposes,
this procedure may be run without an anomaly. \\

%\vspace{0.25in}

\normalsize
\noindent {\bf SPECIAL INITIAL CONDITIONS:} \\
\normalsize

Spacecraft telemetry should be in Format 2\\

%\newpage\vspace{0.25in}

\normalsize
\noindent {\bf OPERATIONAL CONSTRAINTS/CAUTIONS:} \\
\normalsize

If SCS 107 runs during this procedure, there is a chance the FEP being interrogated
will crash. Since science operations stop at that point anyway, and normal
return to science activities will reboot the FEP, no action is required.
The diagnostic dump data may be lost depending on the timing. There is no
health or safety issue.

\vspace{0.15in}
\normalsize
\noindent {\bf NOTES:} \\
\normalsize

The commands in step 4.1a--j, one for each CCD/Video board combination, have
names that follow no clear convention. This is for historical reasons. In order
by ccdid, these are: XB1SLOMOI0, XB1SLOMOI1, XB1SLOMOI2, XB1SLOMOI3,
XB1SLOMO02 (not a typo), XB1SLOMOS1, XB1SLOMOS2, XBS3\_BDCST, XBS4\_BDCST, and
XBS5\_BDCST.

%\vspace{0.15in}
%\normalsize
%\noindent {\bf CONTINGENCY PLANS:} \\
%In case of a problem that may arise during the procedure, the
%following contingencies may be followed:
%\be
%\item
% do we need anything here?
%\item

\newpage

\vspace{0.15in}
\normalsize
\noindent {\bf REFERENCES:} \\
\normalsize
\vspace{-0.15in}
\be
\item
Peter G. Ford memo, Dec 3, 2014, ``The ACIS Hi-Lo Pixel Anomaly (v1.4)'' 
\item
Spreadsheet {\it ``hilo\_diags\_plan v2.2.xlsx''} 
\textcolor{\pgfedit}{under MIT ACIS CVS control at {\it ``patches/deadump''}}.
\ee

\normalsize
\noindent {\bf CHANGE HISTORY:} \\
\normalsize

{\bf V0.1}
\begin{itemize}
\item Initial version, based on memos referenced above.
\end{itemize}

{\bf V0.2}
\begin{itemize}
\item Bug fixes, per Royce's comments
\end{itemize}

{\bf V0.3}
\begin{itemize}
\item \textcolor{\pgfedit}{Bug fixes, per Peter's comments}
\end{itemize}

{\bf V0.4}
\begin{itemize}
\item \textcolor{\pgfedit}{Bug fixes, per Royce's comments}
\end{itemize}

{\bf V1.0}
\begin{itemize}
\item Minor edits, ready for FOT release.
\end{itemize}

{\bf V2.0}
\begin{itemize}
\item  Sent to FOT.
\end{itemize}

{\bf V2.1}
\begin{itemize}
\item  Text revisions, per Paul's comments.
\end{itemize}

{\bf V2.2}
\begin{itemize}
\item  Text revisions, after first execution of procedure.
\item Table revisions, to add expected sizes of dumped data.
\end{itemize}

% \newpage
% \begin{centering}
% This page intentionally left blank
% \end{centering}

\newcommand{\tablecaptiontext}{DEA FEP Diagnostics SOT SOP}

\input{dea_fep_diags.tab}

\end{document}




