public class IonPump extends Srp
Srp.BoardType| Modifier and Type | Field and Description |
|---|---|
static int |
CHAN_PUMP0
Constants and data.
|
static int |
CHAN_PUMP1
Constants and data.
|
static int |
CHAN_PUMP2
Constants and data.
|
static int |
CHAN_PUMP3
Constants and data.
|
static int |
CHAN_PUMP4
Constants and data.
|
static int |
CHAN_PUMP5
Constants and data.
|
static int |
CHAN_PUMP6
Constants and data.
|
static int |
CHAN_PUMP7
Constants and data.
|
static int |
CHAN_PUMP8
Constants and data.
|
static int |
NUM_CHANNELS
Constants and data.
|
boardType, DEFAULT_PORT| Constructor and Description |
|---|
IonPump()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getChannelNames()
Gets the array of channel names
|
int |
getIlimitStatus()
Gets the current limit status word
|
int |
getPlimitStatus()
Gets the power limit status word
|
int |
getPoweredStatus()
Gets the overall powered status
|
int |
getVlimitStatus()
Gets the voltage limit status word
|
boolean |
isCurrentLimited(int chan)
Gets whether channel is current limited
|
boolean |
isCurrentLimited(String chan)
Gets whether named channel is current limited
|
boolean |
isPowered(int chan)
Gets the powered state of a channel
|
boolean |
isPowered(String chan)
Gets the powered state of a named channel
|
boolean |
isPowerLimited(int chan)
Gets whether channel is power limited
|
boolean |
isPowerLimited(String chan)
Gets whether named channel is power limited
|
boolean |
isVoltageLimited(int chan)
Gets whether channel is voltage limited
|
boolean |
isVoltageLimited(String chan)
Gets whether named channel is voltage limited
|
void |
powerOff(int chan)
Powers off a channel.
|
void |
powerOff(String chan)
Powers off a named channel.
|
void |
powerOn(int chan)
Powers on a channel.
|
void |
powerOn(String chan)
Powers on a named channel.
|
double |
readCurrent(int chan)
Reads the current for a channel
|
double |
readCurrent(String chan)
Reads the current for a named channel
|
double |
readPower(int chan)
Reads the power for a channel
|
double |
readPower(String chan)
Reads the power for a named channel
|
double |
readVoltage(int chan)
Reads the voltage for a channel
|
double |
readVoltage(String chan)
Reads the voltage for a named channel
|
void |
setCurrent(int chan,
double value)
Sets the current for a channel
|
void |
setCurrent(String chan,
double value)
Sets the current for a named channel
|
void |
setPower(int chan,
double value)
Sets the power for a channel
|
void |
setPower(String chan,
double value)
Sets the power for a named channel
|
void |
setVoltage(int chan,
double value)
Sets the voltage for a channel.
|
void |
setVoltage(String chan,
double value)
Sets the voltage for a named channel.
|
clearSimRegMap, close, getBoardType, getBuildStamp, getIpAddress, getNumSeqErr, getNumTimeout, getSimRegMap, isSimulated, open, open, open, open, putSimRegMap, readReg, readRegs, setDebug, setLogName, setSrpVersion, setValidBoardTypes, simInitialize, simReadRegs, simWriteRegs, updateReg, writeReg, writeRegspublic static final int CHAN_PUMP0
public static final int CHAN_PUMP1
public static final int CHAN_PUMP2
public static final int CHAN_PUMP3
public static final int CHAN_PUMP4
public static final int CHAN_PUMP5
public static final int CHAN_PUMP6
public static final int CHAN_PUMP7
public static final int CHAN_PUMP8
public static final int NUM_CHANNELS
public String[] getChannelNames()
public void powerOn(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException - if the channel number is invalidpublic void powerOn(String chan) throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel nameorg.lsst.ccs.drivers.commons.DriverException - if the channel name is invalidpublic void powerOff(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException - if the channel number is invalidpublic void powerOff(String chan) throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel nameorg.lsst.ccs.drivers.commons.DriverException - if the channel name is invalidpublic boolean isPowered(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException - if the channel number is invalidpublic boolean isPowered(String chan) throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel nameorg.lsst.ccs.drivers.commons.DriverException - if the channel name is invalidpublic int getPoweredStatus()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic boolean isVoltageLimited(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException - if the channel number is invalidpublic boolean isVoltageLimited(String chan) throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel nameorg.lsst.ccs.drivers.commons.DriverException - if the channel name is invalidpublic int getVlimitStatus()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic boolean isCurrentLimited(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException - if the channel number is invalidpublic boolean isCurrentLimited(String chan) throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel nameorg.lsst.ccs.drivers.commons.DriverException - if the channel name is invalidpublic int getIlimitStatus()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic boolean isPowerLimited(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException - if the channel number is invalidpublic boolean isPowerLimited(String chan) throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel nameorg.lsst.ccs.drivers.commons.DriverException - if the channel name is invalidpublic int getPlimitStatus()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setVoltage(int chan,
double value)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numbervalue - The value to setorg.lsst.ccs.drivers.commons.DriverException - if the channel number is invalidpublic void setVoltage(String chan, double value) throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel namevalue - The value to setorg.lsst.ccs.drivers.commons.DriverException - if the channel name is invalidpublic void setCurrent(int chan,
double value)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numbervalue - The value to setorg.lsst.ccs.drivers.commons.DriverException - if the channel number is invalidpublic void setCurrent(String chan, double value) throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel namevalue - The value to setorg.lsst.ccs.drivers.commons.DriverException - if the channel name is invalidpublic void setPower(int chan,
double value)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numbervalue - The value to setorg.lsst.ccs.drivers.commons.DriverException - if the channel number is invalidpublic void setPower(String chan, double value) throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel namevalue - The value to setorg.lsst.ccs.drivers.commons.DriverException - if the channel name is invalidpublic double readVoltage(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException - if the channel number is invalidpublic double readVoltage(String chan) throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel nameorg.lsst.ccs.drivers.commons.DriverException - if the channel name is invalidpublic double readCurrent(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException - if the channel number is invalidpublic double readCurrent(String chan) throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel nameorg.lsst.ccs.drivers.commons.DriverException - if the channel name is invalidpublic double readPower(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException - if the channel number is invalidpublic double readPower(String chan) throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel nameorg.lsst.ccs.drivers.commons.DriverException - if the channel name is invalidCopyright © 2021 LSST. All rights reserved.