
public class BK9130Device extends PowerDevice
CONN_TYPE_NOT_CONFIG, DEVC_ID_NOT_CONFIG, DEVC_PARM_NOT_CONFIG, devcId, devcParm, NETWORK_CONN_INVALID, psd| Constructor and Description |
|---|
BK9130Device(String connType,
String devcId,
int baudRate)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected double |
readCurrent(int hwChan)
Reads the current from the hardware.
|
protected void |
readCurrentGroup()
Reads all the currents from the hardware.
|
protected boolean |
readOutput(int hwChan)
Reads the power output state from the hardware.
|
protected void |
readOutputGroup()
Reads all the output states from the hardware.
|
protected double |
readVoltage(int hwChan)
Reads the voltage from the hardware.
|
protected void |
readVoltageGroup()
Reads all the voltages from the hardware.
|
protected void |
writeCurrent(double current,
int hwChan)
Writes the current to the hardware.
|
protected void |
writeCurrentGroup()
Writes all the currents to the hardware.
|
protected void |
writeOutput(boolean onState,
int hwChan)
Writes the power output state to the hardware.
|
protected void |
writeOutputGroup()
Writes all the output states to the hardware.
|
protected void |
writeVoltage(double voltage,
int hwChan)
Writes the voltage to the hardware.
|
protected void |
writeVoltageGroup()
Writes all the voltages to the hardware.
|
addConfigValues, checkChannel, close, configure, getConnType, getDevcId, getDevcParm, getMaxChannel, getMinChannel, getPowerConfig, getPowerState, initialize, powerOff, powerOn, readChannel, setConnType, setDevcId, setDevcParm, setPowerConfig, writeOffDelay, writeOffDelayGroup, writeOnDelay, writeOnDelayGroupaddChannel, addLine, checkHwLine, checkLine, checkOnline, checkTimeout, disable, dropChannel, enable, getConfigValues, getFullName, getOutputLines, initChannel, initChannel, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannelGroup, readSensors, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlinegetChildren, getEnvironment, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchange, dropSubmittedChanges, getCheckedValueFromConfiguration, getComponentByName, getName, getParent, getParentObject, getSubmittedChanges, getSubsystem, init, isParameterConfigurable, notifyChange, notifyChangeWithoutPreliminaryChecks, postStart, printConfigurableParameters, setBulkParameter, shutdownNow, start, submitChange, submitChanges, validateBulkChangeprotected void writeVoltage(double voltage,
int hwChan)
throws org.lsst.ccs.drivers.commons.DriverException
writeVoltage in class PowerDevicevoltage - The voltage to writehwChan - The hardware channel numberorg.lsst.ccs.drivers.commons.DriverExceptionprotected double readVoltage(int hwChan)
throws org.lsst.ccs.drivers.commons.DriverException
readVoltage in class PowerDevicehwChan - The hardware channel numberorg.lsst.ccs.drivers.commons.DriverExceptionprotected void writeCurrent(double current,
int hwChan)
throws org.lsst.ccs.drivers.commons.DriverException
writeCurrent in class PowerDevicecurrent - The current to writehwChan - The hardware channel numberorg.lsst.ccs.drivers.commons.DriverExceptionprotected double readCurrent(int hwChan)
throws org.lsst.ccs.drivers.commons.DriverException
readCurrent in class PowerDevicehwChan - The hardware channel numberorg.lsst.ccs.drivers.commons.DriverExceptionprotected void writeOutput(boolean onState,
int hwChan)
throws org.lsst.ccs.drivers.commons.DriverException
writeOutput in class PowerDeviceonState - The state to set: on if true; off if falsehwChan - The hardware channel numberorg.lsst.ccs.drivers.commons.DriverExceptionprotected boolean readOutput(int hwChan)
throws org.lsst.ccs.drivers.commons.DriverException
readOutput in class PowerDevicehwChan - The hardware channel numberorg.lsst.ccs.drivers.commons.DriverExceptionprotected void readVoltageGroup()
throws org.lsst.ccs.drivers.commons.DriverException
readVoltageGroup in class PowerDeviceorg.lsst.ccs.drivers.commons.DriverExceptionprotected void writeVoltageGroup()
throws org.lsst.ccs.drivers.commons.DriverException
writeVoltageGroup in class PowerDeviceorg.lsst.ccs.drivers.commons.DriverExceptionprotected void readCurrentGroup()
throws org.lsst.ccs.drivers.commons.DriverException
readCurrentGroup in class PowerDeviceorg.lsst.ccs.drivers.commons.DriverExceptionprotected void writeCurrentGroup()
throws org.lsst.ccs.drivers.commons.DriverException
writeCurrentGroup in class PowerDeviceorg.lsst.ccs.drivers.commons.DriverExceptionprotected void readOutputGroup()
throws org.lsst.ccs.drivers.commons.DriverException
readOutputGroup in class PowerDeviceorg.lsst.ccs.drivers.commons.DriverExceptionprotected void writeOutputGroup()
throws org.lsst.ccs.drivers.commons.DriverException
writeOutputGroup in class PowerDeviceorg.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2016 LSST. All rights reserved.