public class RebBulkPS extends Srp
Srp.BoardType| Modifier and Type | Field and Description |
|---|---|
static int |
FIRST_BULK
Constants and data.
|
static int |
IOSTAT_AC_OK |
static int |
IOSTAT_ENABLED |
static int |
IOSTAT_OTW |
static int |
IOSTAT_PWR_OK |
static int |
IOSTAT_REM_ON |
protected static int |
LAMBDA_INCREMENT |
static int |
NUM_BULKS
Constants and data.
|
protected static int |
REG_LAMBDA_BASE |
protected static int |
REG_LAMBDA_IO |
| Constructor and Description |
|---|
RebBulkPS()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFwVersion(int id)
Gets the firmware version of a PS.
|
int |
getIoStatus(int id)
Gets the I/O status of a PS.
|
String |
getManuDate(int id)
Gets the manufacturing date of a PS.
|
String |
getManuLocn(int id)
Gets the manufacturing location of a PS.
|
int |
getModel(int id)
Gets the model type of a PS.
|
String |
getPartNo(int id)
Gets the part number of a PS.
|
String |
getPrVersion(int id)
Gets the product version of a PS.
|
String |
getSerialNo(int id)
Gets the serial number of a PS.
|
double |
readBoardTemperature()
Reads the board temperature
|
double |
readCurrent(int id)
Reads the current of a PS.
|
int |
readStatus(int id)
Reads the status of a PS.
|
double |
readTemperature(int id)
Reads the baseplate temperature of a PS.
|
double |
readVoltage(int id)
Reads the voltage of a PS.
|
void |
setPowerOn(int id,
boolean on)
Turns a PS on or off.
|
protected void |
simInitialize()
Initializes the simulation.
|
protected void |
simWriteRegs(int addr,
int[] value,
int count)
Writes simulated registers.
|
clearSimRegMap, close, getBoardType, getBuildStamp, getFpgaVersion, getIpAddress, getNode, getNumSeqErr, getNumTimeout, getReadTimeout, getReadWarning, getSimRegMap, getUpTime, isSimulated, open, open, open, open, putSimRegMap, readReg, readRegs, readScratchPad, reloadFpga, setDebug, setLogName, setReadTimeout, setReadWarning, setSrpVersion, setValidBoardTypes, simReadRegs, updateReg, userReset, writeReg, writeRegs, writeScratchPadpublic static final int FIRST_BULK
public static final int NUM_BULKS
public static final int IOSTAT_REM_ON
public static final int IOSTAT_ENABLED
public static final int IOSTAT_AC_OK
public static final int IOSTAT_PWR_OK
public static final int IOSTAT_OTW
protected static final int REG_LAMBDA_BASE
protected static final int LAMBDA_INCREMENT
protected static final int REG_LAMBDA_IO
public void setPowerOn(int id,
boolean on)
throws org.lsst.ccs.drivers.commons.DriverException
id - The bulk PS ID (0 - 4)on - Whether to turn onorg.lsst.ccs.drivers.commons.DriverExceptionpublic int getIoStatus(int id)
throws org.lsst.ccs.drivers.commons.DriverException
id - The bulk PS ID (0 - 4)org.lsst.ccs.drivers.commons.DriverExceptionpublic double readBoardTemperature()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic int getModel(int id)
throws org.lsst.ccs.drivers.commons.DriverException
id - The bulk PS ID (0 - 4)org.lsst.ccs.drivers.commons.DriverExceptionpublic String getSerialNo(int id) throws org.lsst.ccs.drivers.commons.DriverException
id - The bulk PS ID (0 - 4)org.lsst.ccs.drivers.commons.DriverExceptionpublic String getFwVersion(int id) throws org.lsst.ccs.drivers.commons.DriverException
id - The bulk PS ID (0 - 4)org.lsst.ccs.drivers.commons.DriverExceptionpublic String getPrVersion(int id) throws org.lsst.ccs.drivers.commons.DriverException
id - The bulk PS ID (0 - 4)org.lsst.ccs.drivers.commons.DriverExceptionpublic String getPartNo(int id) throws org.lsst.ccs.drivers.commons.DriverException
id - The bulk PS ID (0 - 4)org.lsst.ccs.drivers.commons.DriverExceptionpublic String getManuDate(int id) throws org.lsst.ccs.drivers.commons.DriverException
id - The bulk PS ID (0 - 4)org.lsst.ccs.drivers.commons.DriverExceptionpublic String getManuLocn(int id) throws org.lsst.ccs.drivers.commons.DriverException
id - The bulk PS ID (0 - 4)org.lsst.ccs.drivers.commons.DriverExceptionpublic int readStatus(int id)
throws org.lsst.ccs.drivers.commons.DriverException
id - The bulk PS ID (0 - 4)org.lsst.ccs.drivers.commons.DriverExceptionpublic double readVoltage(int id)
throws org.lsst.ccs.drivers.commons.DriverException
id - The bulk PS ID (0 - 4)org.lsst.ccs.drivers.commons.DriverExceptionpublic double readCurrent(int id)
throws org.lsst.ccs.drivers.commons.DriverException
id - The bulk PS ID (0 - 4)org.lsst.ccs.drivers.commons.DriverExceptionpublic double readTemperature(int id)
throws org.lsst.ccs.drivers.commons.DriverException
id - The bulk PS ID (0 - 4)org.lsst.ccs.drivers.commons.DriverExceptionprotected void simInitialize()
simInitialize in class Srpprotected void simWriteRegs(int addr,
int[] value,
int count)
simWriteRegs in class Srpaddr - The first register addressvalue - The array of values to write.count - The number of values to write.Copyright © 2022 LSST. All rights reserved.