public class PowerAdcs extends BaseSet
BaseSet.VersionRegClient.Impl| Modifier and Type | Field and Description |
|---|---|
static int |
ADC_ANA_CURRENT
Public constants.
|
static int |
ADC_ANA_VOLTAGE
Public constants.
|
static int |
ADC_CLKH_CURRENT
Public constants.
|
static int |
ADC_CLKH_VOLTAGE
Public constants.
|
static int |
ADC_DIG_CURRENT
Public constants.
|
static int |
ADC_DIG_VOLTAGE
Public constants.
|
static int |
ADC_DPHI_CURRENT
Public constants.
|
static int |
ADC_DPHI_VOLTAGE
Public constants.
|
static int |
ADC_HTR_CURRENT
Public constants.
|
static int |
ADC_HTR_VOLTAGE
Public constants.
|
static int |
ADC_OD_CURRENT
Public constants.
|
static int |
ADC_OD_VOLTAGE
Public constants.
|
static double |
CURRENT_SCALE_HI |
static double |
CURRENT_SCALE_LO |
static int |
ERROR_MASK
Public constants.
|
static int |
NUM_POWER_REGS_G
Public constants.
|
static int |
NUM_POWER_REGS_M
Public constants.
|
static int |
NUM_POWER_REGS_S
Public constants.
|
static int |
NUM_POWER_REGS_W
Public constants.
|
static double |
POWER_ERROR |
static int |
REG_POWER_ADCS
Public constants.
|
static int |
VALUE_MASK
Public constants.
|
static double |
VOLTAGE_SCALE |
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 |
|---|
PowerAdcs()
Constructor.
|
PowerAdcs(RegClient reg)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
enable()
Enables the power 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 power value.
|
double[] |
readAdcs()
Reads all the power values.
|
double[] |
readAdcs(int first,
int count)
Reads a range of power values.
|
void |
waitDone()
Waits for the data to be available.
|
checkNotVersion, checkVersion, convertRawTime, disable, disable, 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_POWER_ADCS
public static final int NUM_POWER_REGS_S
public static final int NUM_POWER_REGS_W
public static final int NUM_POWER_REGS_G
public static final int NUM_POWER_REGS_M
public static final int ADC_DIG_VOLTAGE
public static final int ADC_DIG_CURRENT
public static final int ADC_ANA_VOLTAGE
public static final int ADC_ANA_CURRENT
public static final int ADC_CLKH_VOLTAGE
public static final int ADC_CLKH_CURRENT
public static final int ADC_OD_VOLTAGE
public static final int ADC_OD_CURRENT
public static final int ADC_HTR_VOLTAGE
public static final int ADC_HTR_CURRENT
public static final int ADC_DPHI_VOLTAGE
public static final int ADC_DPHI_CURRENT
public static final int ERROR_MASK
public static final int VALUE_MASK
public static final double VOLTAGE_SCALE
public static final double CURRENT_SCALE_LO
public static final double CURRENT_SCALE_HI
public static final double POWER_ERROR
public PowerAdcs()
public PowerAdcs(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.