public class SlowAdcs extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ADC_0
Public constants
|
static int |
ADC_1
Public constants
|
static int |
ADC_2
Public constants
|
static int |
BIAS_0
Public constants
|
static int |
BIAS_1
Public constants
|
static int |
BIAS_2
Public constants
|
static int |
BIAS_3
Public constants
|
static int |
BIAS_4
Public constants
|
static int |
BIAS_5
Public constants
|
static int |
BIAS_6
Public constants
|
static int |
BIAS_7
Public constants
|
static int |
CHAN_CKP
Public constants
|
static int |
CHAN_CKP_0
Public constants
|
static int |
CHAN_CKP_1
Public constants
|
static int |
CHAN_CKP_L
Public constants
|
static int |
CHAN_CKP_SH
Public constants
|
static int |
CHAN_CKP_U
Public constants
|
static int |
CHAN_CKS
Public constants
|
static int |
CHAN_CKS_0
Public constants
|
static int |
CHAN_CKS_1
Public constants
|
static int |
CHAN_GD
Public constants
|
static int |
CHAN_GD_0
Public constants
|
static int |
CHAN_GD_1
Public constants
|
static int |
CHAN_GD_2
Public constants
|
static int |
CHAN_OD
Public constants
|
static int |
CHAN_OD_0
Public constants
|
static int |
CHAN_OD_1
Public constants
|
static int |
CHAN_OD_2
Public constants
|
static int |
CHAN_ODI
Public constants
|
static int |
CHAN_ODI_0
Public constants
|
static int |
CHAN_ODI_1
Public constants
|
static int |
CHAN_OG
Public constants
|
static int |
CHAN_OG_0
Public constants
|
static int |
CHAN_OG_1
Public constants
|
static int |
CHAN_OG_2
Public constants
|
static int |
CHAN_RD
Public constants
|
static int |
CHAN_RD_0
Public constants
|
static int |
CHAN_RD_1
Public constants
|
static int |
CHAN_RD_2
Public constants
|
static int |
CHAN_RG
Public constants
|
static int |
CHAN_RG_0
Public constants
|
static int |
CHAN_RG_1
Public constants
|
static int |
CHAN_RG_L
Public constants
|
static int |
CHAN_RG_U
Public constants
|
static int |
CHAN_SCK_L
Public constants
|
static int |
CHAN_SCK_U
Public constants
|
static int |
CHAN_V_CLKL
Public constants
|
static int |
CHAN_V_DPHI
Public constants
|
static int |
CHAN_VN12
Public constants
|
static int |
CHAN_VP12
Public constants
|
static int |
CHAN_VREF25
Public constants
|
static int |
CHAN_VREF25_1
Public constants
|
static int |
CHAN_VREF5_0
Public constants
|
static int |
CHAN_VREF5_1
Public constants
|
static int |
CHAN_VREF5_2
Public constants
|
static double |
CURR_12_SCALE |
static double |
CURR_12_SCALE_R4 |
static double |
CURR_16_SCALE_OD |
static int |
MUX_T_B_FAST
Public constants
|
static int |
MUX_T_B_SLOW
Public constants
|
static int |
MUX_T_FAST_B_SLOW
Public constants
|
static int |
MUX_T_SLOW_B_FAST
Public constants
|
static int |
NUM_BIAS_CHAN
Public constants
|
static int |
NUM_CURR_CHANS
Public constants
|
static int |
NUM_MUX_SET
Public constants
|
static int |
NUM_TEMPS
Public constants
|
static int |
OFF_MON_ADCS
Public constants
|
static int |
OFF_MON_CK_SH
Public constants
|
static int |
OFF_MON_CKP
Public constants
|
static int |
OFF_MON_CKP_SH
Public constants
|
static int |
OFF_MON_CKS
Public constants
|
static int |
OFF_MON_GD
Public constants
|
static int |
OFF_MON_OD
Public constants
|
static int |
OFF_MON_ODI_G
Public constants
|
static int |
OFF_MON_ODI_W
Public constants
|
static int |
OFF_MON_OG
Public constants
|
static int |
OFF_MON_RD
Public constants
|
static int |
OFF_MON_RG
Public constants
|
static int |
OFF_MON_RG_L
Public constants
|
static int |
OFF_MON_RG_U
Public constants
|
static int |
OFF_MON_SCK_L
Public constants
|
static int |
OFF_MON_SCK_U
Public constants
|
static int |
OFF_MON_V_CLKL
Public constants
|
static int |
OFF_MON_V_DPHI
Public constants
|
static int |
OFF_MON_VREF25
Public constants
|
static int |
RANGE_0_10
Public constants
|
static int |
RANGE_0_5
Public constants
|
static int |
RANGE_PM10
Public constants
|
static int |
RANGE_PM2_5
Public constants
|
static int |
RANGE_PM5
Public constants
|
static int |
REG_ASPIC_READ
Public constants
|
static int |
REG_ASPIC_START
Public constants
|
static int |
REG_MON_CONFIG
Public constants
|
static int |
REG_MON_READ
Public constants
|
static int |
REG_MON_START
Public constants
|
static int |
REG_MUX_CONFIG
Public constants
|
static int |
REG_MUX_READ
Public constants
|
static int |
REG_TEMP_MUX
Public constants
|
static int |
REG_TEMP_READ
Public constants
|
static int |
REG_TEMP_SLCT
Public constants
|
static int |
SAM_0
Public constants
|
static int |
SAM_1
Public constants
|
static int |
SAM_2
Public constants
|
static int |
SAM_3
Public constants
|
static int |
SAM_4
Public constants
|
static int |
SAM_5
Public constants
|
static int |
SAM_6
Public constants
|
static int |
SAM_7
Public constants
|
static double |
TEMP_12_SCALE |
static double |
TEMP_12_SCALE_R4 |
static double |
TEMP_16_SCALE_GR |
static double |
TEMP_16_SCALE_WR |
static int |
TEMP_ASPIC_BOTTOM
Public constants
|
static int |
TEMP_ASPIC_TOP
Public constants
|
static int |
TEMP_CABAC_BOTTOM
Public constants
|
static int |
TEMP_CABAC_TOP
Public constants
|
static double |
TEMP_CONVN |
static double |
TEMP_OFFSET |
static int |
VERSION_GREB
Public constants
|
static int |
VERSION_REB3
Public constants
|
static int |
VERSION_REB4
Public constants
|
static int |
VERSION_REB5
Public constants
|
static int |
VERSION_WREB1
Public constants
|
static int |
VERSION_WREB2
Public constants
|
static double |
VOLT_12_SCALE |
static double |
VOLT_12_SCALE_H4 |
static double |
VOLT_12_SCALE_H5 |
static double |
VOLT_12_SCALE_HI |
static double |
VOLT_12_SCALE_M4 |
static double |
VOLT_12_SCALE_M5 |
static double |
VOLT_12_SCALE_R4 |
static double |
VOLT_12_SCALE_R5 |
static double |
VOLT_16_SCALE |
static double |
VOLT_16_SCALE_AG |
static double |
VOLT_16_SCALE_GR |
static double |
VOLT_16_SCALE_HI |
static double |
VOLT_16_SCALE_MD |
static double |
VOLT_16_SCALE_WR |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(int adc,
int value)
Configures a WREB2/GREB monitoring ADC.
|
void |
fetchVoltages()
Fetches the WREB2/GREB monitoring ADC values.
|
void |
fetchVoltages(int mask)
Fetches the WREB2/GREB monitoring ADC values.
|
int |
getNumAspicTemps()
Gets the number of ASPIC temperatures.
|
int |
getNumCcdCurrents()
Gets the number of CCD currents.
|
Set<Integer> |
getVoltageChannels()
Gets the set of valid voltage channel numbers.
|
double |
readAspicTemp(int strip,
int side)
Reads a REB3/4, WREB2 or GREB ASPIC temperature directly.
|
double[] |
readAspicTemps(int first,
int count)
Reads a range of REB3/4, WREB1/2 or GREB ASPIC temperature values.
|
double |
readCurrent(int chan)
Reads a REB3/4 CCD current.
|
double |
readCurrent(int strip,
int side,
int chan)
Reads a REB3/4 CCD current.
|
double[] |
readCurrents()
Reads REB3/4 CCD currents (all).
|
int |
readDirect(int config)
Reads the REB3/4/5 slow ADC directly.
|
double |
readSlow(int chan)
Reads the WREB1/2 slow ADC.
|
double |
readVoltage(int chan)
Reads a REB3 bias or WREB2/GREB/REB4 clock/bias voltage.
|
double |
readVoltageNow(int chan)
Reads a REB3 bias or WREB2/GREB/REB4 clock/bias voltage.
|
double[] |
readVoltages()
Reads all REB3 bias or WREB2/GREB/REB4 clock/bias voltages.
|
void |
setMux(int set)
Sets the WREB1 ASIC MUX.
|
boolean |
testChannel(int chan)
Tests a channel number for validity.
|
public static final int VERSION_WREB1
public static final int VERSION_WREB2
public static final int VERSION_REB3
public static final int VERSION_REB4
public static final int VERSION_GREB
public static final int VERSION_REB5
public static final int REG_TEMP_SLCT
public static final int REG_TEMP_READ
public static final int REG_TEMP_MUX
public static final int TEMP_CABAC_TOP
public static final int TEMP_CABAC_BOTTOM
public static final int TEMP_ASPIC_TOP
public static final int TEMP_ASPIC_BOTTOM
public static final int NUM_TEMPS
public static final int MUX_T_B_SLOW
public static final int MUX_T_FAST_B_SLOW
public static final int MUX_T_SLOW_B_FAST
public static final int MUX_T_B_FAST
public static final int NUM_MUX_SET
public static final int REG_ASPIC_START
public static final int REG_ASPIC_READ
public static final int REG_MUX_CONFIG
public static final int REG_MUX_READ
public static final int NUM_CURR_CHANS
public static final int REG_MON_START
public static final int REG_MON_CONFIG
public static final int REG_MON_READ
public static final int OFF_MON_ADCS
public static final int OFF_MON_OD
public static final int OFF_MON_GD
public static final int OFF_MON_OG
public static final int OFF_MON_RD
public static final int OFF_MON_CKP
public static final int OFF_MON_CKS
public static final int OFF_MON_RG
public static final int OFF_MON_VREF25
public static final int OFF_MON_ODI_G
public static final int OFF_MON_SCK_L
public static final int OFF_MON_SCK_U
public static final int OFF_MON_RG_L
public static final int OFF_MON_RG_U
public static final int OFF_MON_CKP_SH
public static final int OFF_MON_V_DPHI
public static final int OFF_MON_ODI_W
public static final int OFF_MON_CK_SH
public static final int OFF_MON_V_CLKL
public static final int CHAN_OD_0
public static final int CHAN_OG_0
public static final int CHAN_RD_0
public static final int CHAN_GD_0
public static final int CHAN_OD_1
public static final int CHAN_OG_1
public static final int CHAN_RD_1
public static final int CHAN_GD_1
public static final int CHAN_OD_2
public static final int CHAN_OG_2
public static final int CHAN_RD_2
public static final int CHAN_GD_2
public static final int CHAN_VREF5_0
public static final int CHAN_VREF5_1
public static final int CHAN_VREF5_2
public static final int CHAN_VREF25_1
public static final int CHAN_OD
public static final int CHAN_OG
public static final int CHAN_RD
public static final int CHAN_GD
public static final int CHAN_VREF25
public static final int CHAN_CKP
public static final int CHAN_CKS
public static final int CHAN_RG
public static final int CHAN_SCK_L
public static final int CHAN_SCK_U
public static final int CHAN_RG_L
public static final int CHAN_RG_U
public static final int CHAN_CKP_SH
public static final int CHAN_ODI
public static final int CHAN_CKP_L
public static final int CHAN_CKP_U
public static final int CHAN_VP12
public static final int CHAN_VN12
public static final int CHAN_V_DPHI
public static final int CHAN_V_CLKL
public static final int CHAN_CKP_0
public static final int CHAN_CKP_1
public static final int CHAN_CKS_0
public static final int CHAN_CKS_1
public static final int CHAN_RG_0
public static final int CHAN_RG_1
public static final int CHAN_ODI_0
public static final int CHAN_ODI_1
public static final int NUM_BIAS_CHAN
public static final int RANGE_PM10
public static final int RANGE_PM5
public static final int RANGE_PM2_5
public static final int RANGE_0_10
public static final int RANGE_0_5
public static final int ADC_0
public static final int ADC_1
public static final int ADC_2
public static final int SAM_0
public static final int SAM_1
public static final int SAM_2
public static final int SAM_3
public static final int SAM_4
public static final int SAM_5
public static final int SAM_6
public static final int SAM_7
public static final int BIAS_0
public static final int BIAS_1
public static final int BIAS_2
public static final int BIAS_3
public static final int BIAS_4
public static final int BIAS_5
public static final int BIAS_6
public static final int BIAS_7
public static final double VOLT_16_SCALE_WR
public static final double VOLT_16_SCALE_GR
public static final double VOLT_12_SCALE
public static final double VOLT_12_SCALE_HI
public static final double VOLT_12_SCALE_R4
public static final double VOLT_12_SCALE_M4
public static final double VOLT_12_SCALE_H4
public static final double VOLT_12_SCALE_R5
public static final double VOLT_12_SCALE_M5
public static final double VOLT_12_SCALE_H5
public static final double VOLT_16_SCALE
public static final double VOLT_16_SCALE_MD
public static final double VOLT_16_SCALE_HI
public static final double VOLT_16_SCALE_AG
public static final double CURR_16_SCALE_OD
public static final double CURR_12_SCALE
public static final double CURR_12_SCALE_R4
public static final double TEMP_OFFSET
public static final double TEMP_CONVN
public static final double TEMP_16_SCALE_WR
public static final double TEMP_16_SCALE_GR
public static final double TEMP_12_SCALE
public static final double TEMP_12_SCALE_R4
public SlowAdcs(BaseSet bss)
bss - The associated base set objectpublic int readDirect(int config)
throws REBException
config - The ADC/MUX configuration value to useREBExceptionpublic double[] readAspicTemps(int first,
int count)
throws REBException
first - The number of the first temperature to readcount - The number of temperatures to readREBExceptionpublic double readAspicTemp(int strip,
int side)
throws REBException
strip - The strip numberside - The side: 0 (top) or 1 (bottom)REBExceptionpublic Set<Integer> getVoltageChannels() throws REBException
REBExceptionpublic double[] readVoltages()
throws REBException
REBExceptionpublic double readVoltage(int chan)
throws REBException
chan - The overall channel numberREBExceptionpublic double readVoltageNow(int chan)
throws REBException
chan - The overall channel numberREBExceptionpublic double readCurrent(int strip,
int side,
int chan)
throws REBException
strip - The strip numberside - The side: 0 (top) or 1 (bottom)chan - The channel numberREBExceptionpublic double readCurrent(int chan)
throws REBException
chan - The overall channel number: 16*strip + 8*side + chanREBExceptionpublic double[] readCurrents()
throws REBException
REBExceptionpublic void fetchVoltages(int mask)
throws REBException
mask - The mask of ADC numbers to be fetchedREBExceptionpublic void fetchVoltages()
throws REBException
REBExceptionpublic void configure(int adc,
int value)
throws REBException
adc - The ADC number (0 or 1)value - The value to be sent to the ADCREBExceptionpublic double readSlow(int chan)
throws REBException
chan - The number of the channel to readREBExceptionpublic void setMux(int set)
throws REBException
set - The value to setREBExceptionpublic int getNumAspicTemps()
throws REBException
REBExceptionpublic int getNumCcdCurrents()
throws REBException
REBExceptionpublic boolean testChannel(int chan)
chan - The channel numberCopyright © 2023 LSST. All rights reserved.