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 |
boardType, DEFAULT_PORT| 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.
|
clearSimRegMap, close, getBoardType, getBuildStamp, getIpAddress, getNumSeqErr, getNumTimeout, getSimRegMap, isSimulated, open, open, open, open, putSimRegMap, readReg, readRegs, setDebug, setSrpVersion, setValidBoardTypes, simInitialize, simReadRegs, simWriteRegs, updateReg, writeReg, writeRegspublic 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.DriverExceptionCopyright © 2019 LSST. All rights reserved.