public class Model9130
extends org.lsst.ccs.drivers.scpi.Scpi
implements org.lsst.ccs.drivers.commons.PowerSupplyDriver
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_BAUDRATE |
static int |
MAX_CHANNEL |
static double |
MAX_VALUE |
static int |
MIN_CHANNEL |
static int |
NUM_CHANNELS |
CHECK_CONTAINS, CHECK_ENDS_WITH, CHECK_EQUALS, CHECK_MATCHES, CHECK_STARTS_WITH, ESR_ANY_ERROR, ESR_COMMAND_ERROR, ESR_DEVICE_ERROR, ESR_EXECUTION_ERROR, ESR_QUERY_ERROR, IDENT_FW_VERSION, IDENT_MANUFACTURER, IDENT_MODEL_NAME, IDENT_SERIAL_NUMBER, SB_ERROR_QUEUE, SB_EVENT_STATUS, SB_MASTER_STATUS, SB_MESSAGE_AVAILABLE, SB_OPERATION_STATUS, SB_QUESTIONABLE_STATUS| Constructor and Description |
|---|
Model9130()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
getCurrent()
Gets the set current for all channels.
|
double |
getCurrent(int chan)
Gets the set current for a channel.
|
double[] |
getMaximumCurrent()
Gets the maximum current for all channels.
|
double |
getMaximumCurrent(int chan)
Gets the maximum current for a channel.
|
double[] |
getMaximumVoltage()
Gets the maximum voltages for all channels.
|
double |
getMaximumVoltage(int chan)
Gets the maximum voltage for a channel.
|
boolean[] |
getOutput()
Gets the output state of all channels.
|
boolean |
getOutput(int chan)
Gets the output state of a channel.
|
double[] |
getVoltage()
Gets the set voltages for all channels.
|
double |
getVoltage(int chan)
Gets the set voltage for a channel.
|
double[] |
getVoltageLimit()
Gets the voltage limit for all channels.
|
double |
getVoltageLimit(int chan)
Gets the voltage limit for a channel.
|
void |
lockPanel(boolean lock)
Locks or unlocks the front panel.
|
void |
open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType connType,
String ident)
Opens a connection.
|
void |
open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType connType,
String ident,
int baudRate,
int commParm)
Opens a connection.
|
void |
open(int connType,
String ident)
Deprecated.
|
double[] |
readCurrent()
Reads the current for all channels.
|
double |
readCurrent(int chan)
Reads the current for a channel.
|
double[] |
readVoltage()
Reads the voltage for all channels.
|
double |
readVoltage(int chan)
Reads the voltage for a channel.
|
void |
setCurrent(double[] values)
Sets the current for all channels.
|
void |
setCurrent(double value,
int chan)
Sets the current for a channel.
|
void |
setOffDelay(double time,
int chan)
Sets the power-off delay for a channel.
|
void |
setOnDelay(double time,
int chan)
Sets the power-on delay for a channel.
|
void |
setOutput(boolean[] on)
Turns output on or off for all channels.
|
void |
setOutput(boolean on,
int chan)
Turns output on or off for a channel.
|
void |
setVoltage(double[] values)
Sets the voltage for all channels.
|
void |
setVoltage(double value,
int chan)
Sets the voltage for a channel.
|
void |
setVoltageLimit(double[] values)
Sets the voltage limit for all channels.
|
void |
setVoltageLimit(double value,
int chan)
Sets the voltage limit for a channel.
|
checkIdentification, clearStatus, enableOperationComplete, getError, getEventStatus, getEventStatusEnable, getIdentification, getOperationComplete, getServiceRequestEnable, getStatusByte, makeChannelList, makeChannelList, readDouble, readDoubleArray, readFloat, readFloatArray, readInteger, readIntegerArray, readString, readStringArray, reset, runSelfTest, setEventStatusEnable, setServiceRequestEnable, testIdentification, waitCompletion, writeCommandclose, closeSilent, flush, makeDataCharacteristics, open, open, open, read, read, readBytes, readBytes, setTerminator, setTimeout, setTimeout, write, writeBytes, writeBytespublic static final int DEFAULT_BAUDRATE
public static final int MIN_CHANNEL
public static final int MAX_CHANNEL
public static final int NUM_CHANNELS
public static final double MAX_VALUE
public void open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType connType,
String ident,
int baudRate,
int commParm)
throws org.lsst.ccs.drivers.commons.DriverException
open in class org.lsst.ccs.drivers.ascii.AsciiconnType - The enumerated connection type: FTDI or SERIALident - The USB ID (FTDI) or port name (SERIAL)baudRate - The baud ratecommParm - The communications parametersorg.lsst.ccs.drivers.commons.DriverExceptionpublic void open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType connType,
String ident)
throws org.lsst.ccs.drivers.commons.DriverException
connType - The enumerated connection type: FTDI or SERIALident - The USB ID (FTDI) or port name (SERIAL)org.lsst.ccs.drivers.commons.DriverException@Deprecated public void open(int connType, String ident) throws org.lsst.ccs.drivers.commons.DriverException
connType - The connection type: FTDI or SERIALident - The USB ID (FTDI) or port name (SERIAL)org.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.PowerSupplyDriveron - Turn on if true, off if falsechan - The channel numberorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setOutput(boolean[] on)
throws org.lsst.ccs.drivers.commons.DriverException
on - Three-element array of on actionsorg.lsst.ccs.drivers.commons.DriverExceptionpublic boolean getOutput(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
getOutput in interface org.lsst.ccs.drivers.commons.PowerSupplyDriverchan - The channel numberorg.lsst.ccs.drivers.commons.DriverExceptionpublic boolean[] getOutput()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setOnDelay(double time,
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
setOnDelay in interface org.lsst.ccs.drivers.commons.PowerSupplyDrivertime - The delay (sec)chan - The channel numberorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setOffDelay(double time,
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
setOffDelay in interface org.lsst.ccs.drivers.commons.PowerSupplyDrivertime - The delay (sec)chan - The channel numberorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setVoltage(double value,
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
setVoltage in interface org.lsst.ccs.drivers.commons.PowerSupplyDrivervalue - The value to setchan - The channel numberorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setVoltage(double[] values)
throws org.lsst.ccs.drivers.commons.DriverException
values - The three-element array of values to setorg.lsst.ccs.drivers.commons.DriverExceptionpublic double getVoltage(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
getVoltage in interface org.lsst.ccs.drivers.commons.PowerSupplyDriverchan - The channel numberorg.lsst.ccs.drivers.commons.DriverExceptionpublic double[] getVoltage()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double getMaximumVoltage(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverExceptionpublic double[] getMaximumVoltage()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double readVoltage(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
readVoltage in interface org.lsst.ccs.drivers.commons.PowerSupplyDriverchan - The channel numberorg.lsst.ccs.drivers.commons.DriverExceptionpublic double[] readVoltage()
throws org.lsst.ccs.drivers.commons.DriverException
org.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.PowerSupplyDrivervalue - The value to setchan - The channel numberorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setCurrent(double[] values)
throws org.lsst.ccs.drivers.commons.DriverException
values - The three-element array of values to setorg.lsst.ccs.drivers.commons.DriverExceptionpublic double getCurrent(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
getCurrent in interface org.lsst.ccs.drivers.commons.PowerSupplyDriverchan - The channel numberorg.lsst.ccs.drivers.commons.DriverExceptionpublic double[] getCurrent()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double getMaximumCurrent(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverExceptionpublic double[] getMaximumCurrent()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double readCurrent(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
readCurrent in interface org.lsst.ccs.drivers.commons.PowerSupplyDriverchan - The channel numberorg.lsst.ccs.drivers.commons.DriverExceptionpublic double[] readCurrent()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setVoltageLimit(double value,
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
value - The value to setchan - The channel numberorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setVoltageLimit(double[] values)
throws org.lsst.ccs.drivers.commons.DriverException
values - The three-element array of values to setorg.lsst.ccs.drivers.commons.DriverExceptionpublic double getVoltageLimit(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverExceptionpublic double[] getVoltageLimit()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void lockPanel(boolean lock)
throws org.lsst.ccs.drivers.commons.DriverException
lock - True to lock the panel; false to unlock itorg.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2016 LSST. All rights reserved.