public class LambdaPS extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MODEL_12 |
static int |
MODEL_28 |
static int |
MODEL_48 |
static int |
MODEL_UNKNOWN |
static int |
STATUS_DSAB |
static int |
STATUS_IBAD |
static int |
STATUS_IOGB |
static int |
STATUS_MASK |
static int |
STATUS_OFF |
static int |
STATUS_OTP |
static int |
STATUS_OTW |
static int |
STATUS_VBAD |
| Modifier | Constructor and Description |
|---|---|
protected |
LambdaPS(Srp srp,
int baseAddr,
int model)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFwVersion()
Gets the PS firmware version.
|
String |
getManuDate()
Gets the PS manufacturing date.
|
String |
getManuLocn()
Gets the PS manufacturing location.
|
int |
getModel()
Gets the PS model.
|
String |
getPartNo()
Gets the PS part number.
|
String |
getPrVersion()
Gets the PS product version.
|
String |
getSerialNo()
Gets the PS serial number.
|
double |
readCurrent()
Reads the PS current.
|
int |
readStatus()
Reads the PS status.
|
double |
readTemperature()
Reads the PS baseplate temperature.
|
double |
readVoltage()
Reads the PS voltage.
|
public static final int MODEL_UNKNOWN
public static final int MODEL_12
public static final int MODEL_28
public static final int MODEL_48
public static final int STATUS_OFF
public static final int STATUS_DSAB
public static final int STATUS_IOGB
public static final int STATUS_OTW
public static final int STATUS_OTP
public static final int STATUS_VBAD
public static final int STATUS_IBAD
public static final int STATUS_MASK
protected LambdaPS(Srp srp, int baseAddr, int model)
srp - The Srp object to use for register accessbaseAddr - The Lambda register base addressmodel - The expected Lambda model (for setting scale factors)public String getSerialNo() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getFwVersion() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getPrVersion() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getPartNo() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getManuDate() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getManuLocn() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic int readStatus()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double readVoltage()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double readCurrent()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double readTemperature()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic int getModel()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2019 LSST. All rights reserved.