\section{EPICS Timer}
%
\textit{Module: \bf{epics.mxo}}
\newline

The EPICS scaler record is commonly used to control VME-based Joerger VSC-8
or VSC-16 counter/timer modules.  In this configuration, channel 1 of the
scaler module is used as a timer that is used to gate all of the other
channels in the scaler.  In MX, the \textit{epics\_timer} driver is used to 
control the channel that gates all of the other channels.

\newcommand{\MxFieldEpicsZtimerEpicsZrecordZname}
{The part of the EPICS scaler PV name before the final period `.' character.}
\newcommand{\MxFieldEpicsZtimerScalerZnumber}
{The number of the EPICS scaler channel.}
\ \newline
\MxEpicsZtimerDriverFields
\newline

For example, if the EPICS PV for the timer channel 
is {wml:scaler1.S1}, then the \textit{epics\_record\_name} above is 
``wml:scaler1''.
An example MX database entry for such a timer channel would look like this
\begin{verbatim}
timer1 device timer epics_timer "" "" wml:scaler1
\end{verbatim}

For an 8 channel Joerger VSC-8 scaler module, the database could look
something like this
\begin{verbatim}
timer1   device timer epics_timer "" "" wml:scaler1
scaler2  device scaler epics_scaler "" "" 0 0 1 timer1 wml:scaler1 2
scaler3  device scaler epics_scaler "" "" 0 0 1 timer1 wml:scaler1 3
scaler4  device scaler epics_scaler "" "" 0 0 1 timer1 wml:scaler1 4
scaler5  device scaler epics_scaler "" "" 0 0 1 timer1 wml:scaler1 5
scaler6  device scaler epics_scaler "" "" 0 0 1 timer1 wml:scaler1 6
scaler7  device scaler epics_scaler "" "" 0 0 1 timer1 wml:scaler1 7
scaler8  device scaler epics_scaler "" "" 0 0 1 timer1 wml:scaler1 8
\end{verbatim}
