public class Maq20DiscreteFreq extends Maq20DiscreteFunc
TIMEBASE_MSECS, TIMEBASE_SECS, TIMEBASE_USECS| Constructor and Description |
|---|
Maq20DiscreteFreq(Maq20 maq,
int modId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
enable(int chan)
Enables the frequency generator.
|
int |
getFrequency(int chan)
Gets the frequency.
|
boolean |
isEnabled(int chan)
Gets whether the frequency generator is enabled.
|
void |
setFrequency(int chan,
int freq)
Sets the frequency.
|
armFunction, disarmFunction, isFunctionArmed, saveConfigreadDiscIn, readDiscIn, readDiscIn, readDiscOut, readDiscOut, readDiscOut, writeDisc, writeDisc, writeDiscpublic Maq20DiscreteFreq(Maq20 maq, int modId) throws org.lsst.ccs.drivers.commons.DriverException
maq - The underlying Maq20 objectmodId - The module registration IDorg.lsst.ccs.drivers.commons.DriverExceptionpublic void enable(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The function channel (0 or 1)org.lsst.ccs.drivers.commons.DriverExceptionpublic boolean isEnabled(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The function channel (0 or 1)org.lsst.ccs.drivers.commons.DriverExceptionpublic void setFrequency(int chan,
int freq)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The function channel (0 or 1)freq - The frequencyorg.lsst.ccs.drivers.commons.DriverExceptionpublic int getFrequency(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The function channel (0 or 1)org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2018 LSST. All rights reserved.