
public class BK1696Device extends PowerDevice
CONN_TYPE_NOT_CONFIG, connType, connTypeE, connTypeS, DEVC_ID_NOT_CONFIG, DEVC_PARM_NOT_CONFIG, devcId, devcParm, NETWORK_CONN_INVALID| Constructor and Description |
|---|
BK1696Device(String connType,
String devcId,
int baudRate)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
close()
Closes the connection.
|
protected int |
getMaxChannel()
Gets the maximum hardware channel number.
|
protected int |
getMinChannel()
Gets the minimum hardware channel number.
|
protected int |
getOptions()
Gets the device options.
|
protected void |
initialize()
Performs full initialization.
|
protected double |
readCurrentHdw(int hwChan)
Reads the current from the hardware.
|
protected boolean |
readOutputHdw(int hwChan)
Reads the power output state from the hardware.
|
protected double |
readVoltageHdw(int hwChan)
Reads the voltage from the hardware.
|
protected void |
writeCurrentHdw(double current,
int hwChan)
Writes the current to the hardware.
|
protected void |
writeOffDelayHdw(double offDelay,
int hwChan)
Writes the power-off delay to the hardware.
|
protected void |
writeOnDelayHdw(double onDelay,
int hwChan)
Writes the power-on delay to the hardware.
|
protected void |
writeOutputHdw(boolean onState,
int hwChan)
Writes the power output state to the hardware.
|
protected void |
writeVoltageHdw(double voltage,
int hwChan)
Writes the voltage to the hardware.
|
addConfigValues, configure, getConnType, getDevcId, getDevcParm, getPowerConfig, getPowerState, powerOff, powerOn, readCurrent, readCurrentGroup, readOutput, readOutputGroup, readVoltage, readVoltageGroup, setConnType, setDevcId, setDevcParm, setPowerConfig, writeCurrent, writeCurrentGroup, writeOffDelay, writeOffDelayGroup, writeOnDelay, writeOnDelayGroup, writeOutput, writeOutputGroup, writeVoltage, writeVoltageGroupaddChannel, addLine, checkChannel, checkHwLine, checkLine, checkOnline, checkTimeout, dropChannel, getConfigValues, getFullName, getOutputLines, initChannel, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readSensors, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlinegetChildren, getEnvironment, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitalias, change, getCheckedValueFromConfiguration, getComponentByName, getDictionary, getName, getParent, getParentObject, getSubsystem, init, injectResources, listChildren, notifyChange, notifyChangeWithoutPreliminaryChecks, postStart, proceduralWalk, publish, publish, publish, publish, publish, publish, shutdownNow, start, treeWalkprotected void initialize()
initialize in class org.lsst.ccs.subsystem.monitor.Deviceprotected void close()
close in class org.lsst.ccs.subsystem.monitor.Deviceprotected int getMinChannel()
getMinChannel in class PowerDeviceprotected int getOptions()
getOptions in class PowerDeviceprotected int getMaxChannel()
getMaxChannel in class PowerDeviceprotected void writeVoltageHdw(double voltage,
int hwChan)
throws org.lsst.ccs.drivers.commons.DriverException
writeVoltageHdw in class PowerDevicevoltage - The voltage to writehwChan - The hardware channel numberorg.lsst.ccs.drivers.commons.DriverExceptionprotected double readVoltageHdw(int hwChan)
throws org.lsst.ccs.drivers.commons.DriverException
readVoltageHdw in class PowerDevicehwChan - The hardware channel numberorg.lsst.ccs.drivers.commons.DriverExceptionprotected void writeCurrentHdw(double current,
int hwChan)
throws org.lsst.ccs.drivers.commons.DriverException
writeCurrentHdw in class PowerDevicecurrent - The current to writehwChan - The hardware channel numberorg.lsst.ccs.drivers.commons.DriverExceptionprotected double readCurrentHdw(int hwChan)
throws org.lsst.ccs.drivers.commons.DriverException
readCurrentHdw in class PowerDevicehwChan - The hardware channel numberorg.lsst.ccs.drivers.commons.DriverExceptionprotected void writeOnDelayHdw(double onDelay,
int hwChan)
throws org.lsst.ccs.drivers.commons.DriverException
writeOnDelayHdw in class PowerDeviceonDelay - The power-on delay (sec)hwChan - The hardware channel numberorg.lsst.ccs.drivers.commons.DriverExceptionprotected void writeOffDelayHdw(double offDelay,
int hwChan)
throws org.lsst.ccs.drivers.commons.DriverException
writeOffDelayHdw in class PowerDeviceoffDelay - The power-off delay (sec)hwChan - The hardware channel numberorg.lsst.ccs.drivers.commons.DriverExceptionprotected void writeOutputHdw(boolean onState,
int hwChan)
throws org.lsst.ccs.drivers.commons.DriverException
writeOutputHdw in class PowerDeviceonState - The state to set: on if true; off if falsehwChan - The hardware channel numberorg.lsst.ccs.drivers.commons.DriverExceptionprotected boolean readOutputHdw(int hwChan)
throws org.lsst.ccs.drivers.commons.DriverException
readOutputHdw in class PowerDevicehwChan - The hardware channel numberorg.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2015 LSST. All rights reserved.