public class FastAdcs extends BaseSet
BaseSet.VersionRegClient.Impl| Modifier and Type | Field and Description |
|---|---|
static double |
FADC_SCALE |
static int |
NUM_FADC_SAMPS
Public constants
|
static int |
REG_FADC_COUNT
Public constants
|
static int |
REG_FADC_SAMPS
Public constants
|
CLOCK_PERIOD_0, CLOCK_PERIOD_1, FW_VERSION_GREB, FW_VERSION_REB0_0, FW_VERSION_REB0_1, FW_VERSION_REB1_2, FW_VERSION_REB1_3, FW_VERSION_REB1_4, FW_VERSION_REB3, FW_VERSION_REB4, FW_VERSION_UNKNOWN, FW_VERSION_UNSET, FW_VERSION_WREB_1, FW_VERSION_WREB_2, FW_VERSION_WREB_3, OPTN_ASPIC, OPTN_BACK_BIAS, OPTN_BOARD_DACS, OPTN_BOARD_POWER, OPTN_BOARD_TEMP, OPTN_CABAC, OPTN_CCD_TEMP, OPTN_DCDC_SYNC, OPTN_DREB_SN, OPTN_FAST_ADCS, OPTN_REB_SN, OPTN_SEQUENCER, OPTN_SLOW_ADCS, OPTN_STATUS, REB_TYPE_GUIDER, REB_TYPE_SCIENCE, REB_TYPE_UNKNOWN, REB_TYPE_WAVEFRONT, REG_BACK_BIAS, REG_DCDC_SYNC, REG_ID, REG_SCHEMA, REG_SN_DREB_START, REG_SN_DREB_VALUE, REG_SN_REB_START, REG_SN_REB_VALUE, REG_STATE, REG_TIME_BASE, REG_TRIG_TIME, REG_TRIGGER, REG_VERSION, RSET_FAST_ADCS, RSET_POWER_ADCS, RSET_SEQUENCER, RSET_STATUS, RSET_TEMP_ADCS, RSET_TIME_BASE, SN_READ_ERROR, SN_READ_OKAY, SN_READ_TIMEOUT, SN_VALUE_MASK, VERSION_0, VERSION_1, VERSION_2, VERSION_3, VERSION_4, VERSION_5, VERSION_UNSUPPHDW_TYPE_DAQ0, HDW_TYPE_DAQ1, HDW_TYPE_PCI, HDW_TYPE_PCI0, HDW_TYPE_PCI1| Constructor and Description |
|---|
FastAdcs()
Constructor.
|
FastAdcs(RegClient reg)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
enableFast()
Enables the fast ADC reading.
|
double[][] |
getFast(int count)
Gets the last few fast ADC samples.
|
double[] |
getFastAvge(int count)
Gets the average of the last few fast ADC samples.
|
void |
setFastCount(int count)
Sets the number of fast ADC samples.
|
void |
waitFastDone()
Waits for the fast ADC read to finish.
|
checkNotVersion, checkVersion, convertRawTime, disable, disable, enable, enable, getDrebSerial, getFwVersion, getHwVersion, getNumStrips, getRebSerial, getRebType, getTime, getTimeRaw, getTriggerTime, getTriggerTimeRaw, getVersion, getVersion, isBackBiasOn, isDcdcSync, isVersion, setBackBias, setDcdcSync, setTime, setTime, setTimeRaw, setVersions, throwIncompatException, waitDonepublic static final int REG_FADC_COUNT
public static final int REG_FADC_SAMPS
public static final int NUM_FADC_SAMPS
public static final double FADC_SCALE
public FastAdcs()
public FastAdcs(RegClient reg)
reg - The associated register client objectpublic void enableFast()
throws REBException
REBExceptionpublic void waitFastDone()
throws REBException
REBExceptionpublic void setFastCount(int count)
throws REBException
count - The number of samples to readREBExceptionpublic double[][] getFast(int count)
throws REBException
count - The number of samples to readREBExceptionpublic double[] getFastAvge(int count)
throws REBException
count - The number of samples to readREBExceptionCopyright © 2016 LSST. All rights reserved.