public class TempAdcs extends BaseSet
RegClient.Impl| Modifier and Type | Field and Description |
|---|---|
static int |
ADC_DREB_T1
Public constants
|
static int |
ADC_DREB_T2
Public constants
|
static int |
ADC_REB_T1
Public constants
|
static int |
ADC_REB_T2
Public constants
|
static int |
ADC_REB_T3
Public constants
|
static int |
ADC_REB_T4
Public constants
|
static int |
ADC_REB_T5
Public constants
|
static int |
ADC_REB_T6
Public constants
|
static int |
ADC_REB_T7
Public constants
|
static int |
ADC_REB_T8
Public constants
|
static int |
ADC_REB_T9
Public constants
|
static int |
ERROR_MASK
Public constants
|
static int |
NUM_TEMP_REGS_C
Public constants
|
static int |
NUM_TEMP_REGS_M
Public constants
|
static int |
NUM_TEMP_REGS_S
Public constants
|
static int |
NUM_TEMP_REGS_S0
Public constants
|
static int |
REG_TEMP_ADCS
Public constants
|
static double |
TEMP_ERROR |
static double |
TEMP_SCALE |
static int |
VALUE_MASK
Public constants
|
CLOCK_PERIOD_0, CLOCK_PERIOD_1, 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, 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, TYPE_CORNER, TYPE_SCIENCE, TYPE_UNKNOWN, VERSION_0, VERSION_1, VERSION_2, VERSION_3, VERSION_4, VERSION_5, VERSION_6, VERSION_7, VERSION_8, VERSION_UNKNOWN, VERSION_UNSET, VERSION_UNSUPPHDW_TYPE_DAQ0, HDW_TYPE_DAQ1, HDW_TYPE_PCI| Constructor and Description |
|---|
TempAdcs()
Constructor.
|
TempAdcs(RegClient reg)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
enable()
Enables the temperature ADC reading.
|
int |
getNumRegs()
Gets the number of ADC registers.
|
long |
getTriggerTime()
Gets the time of the read enable.
|
double |
readAdc(int adc)
Reads one temperature value.
|
double[] |
readAdcs()
Reads all the temperature values.
|
double[] |
readAdcs(int first,
int count)
Reads a range of temperature values.
|
void |
waitDone()
Waits for the data to be available.
|
checkNotVersion, checkVersion, convertRawTime, disable, disable, enable, getDrebSerial, getFwVersion, getRebSerial, getTime, getTimeRaw, getTriggerTime, getTriggerTimeRaw, getVersion, getVersion, isBackBiasOn, isDcdcSync, isVersion, setBackBias, setDcdcSync, setTime, setTime, setTimeRaw, setVersions, throwIncompatException, waitDonepublic static final int REG_TEMP_ADCS
public static final int ADC_DREB_T1
public static final int ADC_DREB_T2
public static final int ADC_REB_T1
public static final int ADC_REB_T2
public static final int ADC_REB_T3
public static final int ADC_REB_T4
public static final int ADC_REB_T5
public static final int ADC_REB_T6
public static final int ADC_REB_T7
public static final int ADC_REB_T8
public static final int ADC_REB_T9
public static final int NUM_TEMP_REGS_S
public static final int NUM_TEMP_REGS_S0
public static final int NUM_TEMP_REGS_C
public static final int NUM_TEMP_REGS_M
public static final int ERROR_MASK
public static final int VALUE_MASK
public static final double TEMP_SCALE
public static final double TEMP_ERROR
public TempAdcs()
public TempAdcs(RegClient reg)
reg - The associated register client objectpublic void enable()
throws REBException
enable in class BaseSetREBExceptionpublic void waitDone()
throws REBException
REBExceptionpublic long getTriggerTime()
throws REBException
REBExceptionpublic double readAdc(int adc)
throws REBException
adc - The number of the ADC to readREBExceptionpublic double[] readAdcs()
throws REBException
REBExceptionpublic double[] readAdcs(int first,
int count)
throws REBException
first - The number of the first ADC to readcount - The number of ADCs to readREBExceptionpublic int getNumRegs()
throws REBException
REBExceptionCopyright © 2016 LSST. All rights reserved.