public class Cpfe1000
extends org.lsst.ccs.drivers.i2c.I2c
implements org.lsst.ccs.drivers.commons.PowerSupplyDriver
| Modifier and Type | Field and Description |
|---|---|
static int |
MODEL_12
Constants and data.
|
static int |
MODEL_28
Constants and data.
|
static int |
MODEL_48
Constants and data.
|
static int |
MODEL_I12
Constants and data.
|
static int |
MODEL_I28
Constants and data.
|
static int |
MODEL_I48
Constants and data.
|
static int |
MODEL_UNKNOWN
Constants and data.
|
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 |
| Constructor and Description |
|---|
Cpfe1000() |
| Modifier and Type | Method and Description |
|---|---|
double |
getCurrent(int chan) |
String |
getFirmwareRev()
Gets the firmware revision.
|
String |
getManufactureDate()
Gets the manufacturing date.
|
String |
getManufactureLoc()
Gets the manufacturing location.
|
int |
getModel()
Gets the model.
|
boolean |
getOutput(int chan) |
String |
getProductRev()
Gets the product revision.
|
String |
getSerialNo()
Gets the serial number.
|
String |
getUnitPartNo()
Gets the unit part number.
|
double |
getVoltage(int chan) |
void |
open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType connType,
String ident,
int addr) |
void |
open(String ident,
int addr)
Opens a connection.
|
void |
powerOff()
Turns off the power.
|
void |
powerOn()
Turns on the power.
|
double |
readCurrent()
Reads the current.
|
double |
readCurrent(int chan) |
int |
readStatus()
Reads the status.
|
double |
readTemperature()
Reads the baseplate temperature.
|
double |
readVoltage()
Reads the voltage.
|
double |
readVoltage(int chan) |
void |
setCurrent(double value,
int chan) |
void |
setOffDelay(double value,
int chan) |
void |
setOnDelay(double value,
int chan) |
void |
setOutput(boolean on,
int chan) |
void |
setVoltage(double value,
int chan) |
close, read, read, read, read, read, read2, read2, setTimeout, write, write, write, write2, write2public 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 MODEL_I12
public static final int MODEL_I28
public static final int MODEL_I48
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
public void open(String ident, int addr) throws org.lsst.ccs.drivers.commons.DriverException
open in class org.lsst.ccs.drivers.i2c.I2cident - The serial port nameaddr - The I2C bus addressorg.lsst.ccs.drivers.commons.DriverExceptionpublic int getModel()
public String getSerialNo() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getFirmwareRev() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getProductRev() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getUnitPartNo() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getManufactureDate() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getManufactureLoc() 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 void powerOn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void powerOff()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType connType,
String ident,
int addr)
throws org.lsst.ccs.drivers.commons.DriverException
open in interface org.lsst.ccs.drivers.commons.PowerSupplyDriverorg.lsst.ccs.drivers.commons.DriverExceptionpublic double readCurrent(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
readCurrent in interface org.lsst.ccs.drivers.commons.PowerSupplyDriverorg.lsst.ccs.drivers.commons.DriverExceptionpublic double getCurrent(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
getCurrent in interface org.lsst.ccs.drivers.commons.PowerSupplyDriverorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setCurrent(double value,
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
setCurrent in interface org.lsst.ccs.drivers.commons.PowerSupplyDriverorg.lsst.ccs.drivers.commons.DriverExceptionpublic double readVoltage(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
readVoltage in interface org.lsst.ccs.drivers.commons.PowerSupplyDriverorg.lsst.ccs.drivers.commons.DriverExceptionpublic double getVoltage(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
getVoltage in interface org.lsst.ccs.drivers.commons.PowerSupplyDriverorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setVoltage(double value,
int chan)
setVoltage in interface org.lsst.ccs.drivers.commons.PowerSupplyDriverpublic void setOffDelay(double value,
int chan)
setOffDelay in interface org.lsst.ccs.drivers.commons.PowerSupplyDriverpublic void setOnDelay(double value,
int chan)
setOnDelay in interface org.lsst.ccs.drivers.commons.PowerSupplyDriverpublic boolean getOutput(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
getOutput in interface org.lsst.ccs.drivers.commons.PowerSupplyDriverorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setOutput(boolean on,
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
setOutput in interface org.lsst.ccs.drivers.commons.PowerSupplyDriverorg.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2023 LSST. All rights reserved.