public class Maq20DiscreteFreq extends Maq20DiscreteFunc
TIMEBASE_MSECS, TIMEBASE_SECS, TIMEBASE_USECS| 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, saveConfiggetDiscDefault, getDiscDefault, getDiscDefault, readDiscIn, readDiscIn, readDiscIn, readDiscOut, readDiscOut, readDiscOut, saveDiscDefaults, setDiscDefault, setDiscDefault, setDiscDefault, writeDisc, writeDisc, writeDiscpublic 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 © 2021 LSST. All rights reserved.