public class BoardDacs extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CHAN_CSGATE
Public constants
|
static int |
CHAN_CSGATE_1
Public constants
|
static int |
CHAN_CSGATE_2
Public constants
|
static int |
CHAN_CSGATE_3
Public constants
|
static int |
CHAN_GD
Public constants
|
static int |
CHAN_HEATER
Public constants
|
static int |
CHAN_HEATER_1
Public constants
|
static int |
CHAN_HEATER_2
Public constants
|
static int |
CHAN_OD
Public constants
|
static int |
CHAN_OG
Public constants
|
static int |
CHAN_OG_SH
Public constants
|
static int |
CHAN_PCLK_H
Public constants
|
static int |
CHAN_PCLK_H_SH
Public constants
|
static int |
CHAN_PCLK_L
Public constants
|
static int |
CHAN_PCLK_L_SH
Public constants
|
static int |
CHAN_RD
Public constants
|
static int |
CHAN_RG_H
Public constants
|
static int |
CHAN_RG_H_SH
Public constants
|
static int |
CHAN_RG_L
Public constants
|
static int |
CHAN_RG_L_SH
Public constants
|
static int |
CHAN_SCLK_H
Public constants
|
static int |
CHAN_SCLK_H_SH
Public constants
|
static int |
CHAN_SCLK_L
Public constants
|
static int |
CHAN_SCLK_L_SH
Public constants
|
static int |
DAC_BIAS_GATE
Public constants
|
static int |
DAC_CABAC_ALT
Public constants
|
static int |
DAC_CLOCK_RAILS
Public constants
|
static int |
DAC_CS_GATE
Public constants
|
static int |
DAC_HAS_STRIP
Public constants
|
static int |
DAC_HEATER
Public constants
|
static int |
DACS_LOAD
Public constants
|
static int |
DACS_SET
Public constants
|
static int |
ERROR_MASK_GD
Public constants
|
static int |
ERROR_MASK_OD
Public constants
|
static int |
ERROR_MASK_RD
Public constants
|
static int |
ERROR_MASK_SIZE
Public constants
|
static int |
INC_STRIPS
Public constants
|
static int |
OFF_BIAS_ERROR
Public constants
|
static int |
OFF_BIAS_GATE
Public constants
|
static int |
OFF_CABAC_ALT
Public constants
|
static int |
OFF_CLOCK_RAILS
Public constants
|
static int |
OFF_CS_GATE
Public constants
|
static int |
OFF_HEATER
Public constants
|
static int |
REG_BOARD_DACS
Public constants
|
static int |
REG_BOARD_DACS_0
Public constants
|
static int |
VERSION_GREB1
Public constants
|
static int |
VERSION_GREB2
Public constants
|
static int |
VERSION_REB0_0
Public constants
|
static int |
VERSION_REB0_1
Public constants
|
static int |
VERSION_REB3
Public constants
|
static int |
VERSION_REB5
Public constants
|
static int |
VERSION_UNSUPP
Public constants
|
static int |
VERSION_WREB1
Public constants
|
static int |
VERSION_WREB2
Public constants
|
static int |
VERSION_WREB4
Public constants
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrors()
Gets the bit mask of DAC channels in error.
|
int |
getNumStrips()
Gets the number of strips.
|
int |
getUnders()
Gets the bit mask of DAC channels under threshold.
|
String |
getUndersString()
Gets the string of DAC channels under threshold.
|
int |
getVersion()
Gets the DAC version.
|
void |
load(int dac)
Loads one DAC's values.
|
void |
load(int strip,
int dac)
Loads the values for one DAC and strip.
|
void |
loadAll()
Loads all DAC values.
|
void |
loadGlobal()
Loads all global DAC values.
|
void |
loadStrip()
Loads all strip-associated DAC values.
|
void |
loadStrip(int strip)
Loads all DAC values for a strip.
|
void |
set(int chan,
int value)
Sets a DAC value.
|
void |
set(int chan,
int value,
boolean load)
Sets a DAC value.
|
void |
set(int strip,
int chan,
int value)
Sets a DAC value into a strip.
|
void |
set(int strip,
int chan,
int value,
boolean load)
Sets a DAC value into a strip.
|
public static final int VERSION_UNSUPP
public static final int VERSION_REB0_0
public static final int VERSION_REB0_1
public static final int VERSION_REB3
public static final int VERSION_REB5
public static final int VERSION_WREB1
public static final int VERSION_WREB2
public static final int VERSION_WREB4
public static final int VERSION_GREB1
public static final int VERSION_GREB2
public static final int REG_BOARD_DACS
public static final int REG_BOARD_DACS_0
public static final int OFF_CLOCK_RAILS
public static final int OFF_CS_GATE
public static final int OFF_HEATER
public static final int OFF_CABAC_ALT
public static final int OFF_BIAS_GATE
public static final int OFF_BIAS_ERROR
public static final int INC_STRIPS
public static final int DACS_SET
public static final int DACS_LOAD
public static final int DAC_HAS_STRIP
public static final int DAC_CLOCK_RAILS
public static final int DAC_CS_GATE
public static final int DAC_CABAC_ALT
public static final int DAC_HEATER
public static final int DAC_BIAS_GATE
public static final int CHAN_SCLK_L
public static final int CHAN_SCLK_L_SH
public static final int CHAN_SCLK_H
public static final int CHAN_SCLK_H_SH
public static final int CHAN_RG_L
public static final int CHAN_RG_L_SH
public static final int CHAN_RG_H
public static final int CHAN_RG_H_SH
public static final int CHAN_PCLK_L
public static final int CHAN_PCLK_L_SH
public static final int CHAN_PCLK_H
public static final int CHAN_PCLK_H_SH
public static final int CHAN_OD
public static final int CHAN_GD
public static final int CHAN_RD
public static final int CHAN_OG
public static final int CHAN_OG_SH
public static final int CHAN_CSGATE
public static final int CHAN_HEATER
public static final int CHAN_CSGATE_1
public static final int CHAN_CSGATE_2
public static final int CHAN_CSGATE_3
public static final int CHAN_HEATER_1
public static final int CHAN_HEATER_2
public static final int ERROR_MASK_GD
public static final int ERROR_MASK_OD
public static final int ERROR_MASK_RD
public static final int ERROR_MASK_SIZE
public BoardDacs(BaseSet bss)
bss - The associated base set objectpublic int getVersion()
public int getNumStrips()
throws REBException
REBException - if the firmware version is unknownpublic void loadAll()
throws REBException
REBExceptionpublic void loadGlobal()
throws REBException
REBExceptionpublic void loadStrip()
throws REBException
REBExceptionpublic void loadStrip(int strip)
throws REBException
strip - The strip numberREBExceptionpublic void load(int dac)
throws REBException
dac - The DAC numberREBExceptionpublic void load(int strip,
int dac)
throws REBException
strip - The strip number.dac - The DAC numberREBExceptionpublic void set(int chan,
int value)
throws REBException
chan - The overall channel numbervalue - The value to be setREBExceptionpublic void set(int chan,
int value,
boolean load)
throws REBException
chan - The overall channel numbervalue - The value to be set (0 - 4095)load - Whether to load the DAC's output registerREBExceptionpublic void set(int strip,
int chan,
int value)
throws REBException
strip - The strip number.chan - The overall channel numbervalue - The value to be setREBExceptionpublic void set(int strip,
int chan,
int value,
boolean load)
throws REBException
strip - The strip number.chan - The overall channel numbervalue - The value to be setload - Whether to load the DAC's output registerREBExceptionpublic int getErrors()
throws REBException
REBExceptionpublic int getUnders()
throws REBException
REBExceptionpublic String getUndersString() throws REBException
REBExceptionCopyright © 2017 LSST. All rights reserved.