public class CCOBDevice
extends org.lsst.ccs.monitor.Device
| Modifier and Type | Field and Description |
|---|---|
static int |
CHAN_BOARD_TEMP |
static int |
CHAN_LED_CURRENT |
static int |
CHAN_LED_TEMP1 |
static int |
CHAN_LED_TEMP2 |
static int |
CHAN_LED_VOLTAGE |
static int |
CHAN_LED_VREF |
static int |
CHAN_PD_ADC |
static int |
CHAN_PD_CURRENT |
static int |
CHAN_SPHERE_TEMP |
static int |
NUM_CHANNELS |
| Constructor and Description |
|---|
CCOBDevice() |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
checkChannel(org.lsst.ccs.monitor.Channel ch)
Checks a channel definition for validity.
|
protected void |
close()
Closes the connection to the CCOB.
|
protected String |
getGroupForChannel(org.lsst.ccs.monitor.Channel ch) |
protected void |
initDevice()
Checks that CCOB is specified correctly
|
protected void |
initialize()
Initializes (opens a connection to) the CCOB.
|
double |
readChannel(org.lsst.ccs.monitor.Channel ch)
Returns a channel value.
|
void |
readChannelGroup(String group)
Reads all the grouped data channels.
|
addLine, checkChannel, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, dropChannel, enable, getDeviceMonitorUpdateTasks, getFullName, getMonitorUpdateTasksForChannels, getName, getOutputLines, getPath, init, initChannel, initChannel, initChannel, initSensors, isEnabled, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelNow, setDisabled, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, start, testOnlinepublic static final int CHAN_LED_VOLTAGE
public static final int CHAN_LED_CURRENT
public static final int CHAN_LED_VREF
public static final int CHAN_LED_TEMP1
public static final int CHAN_LED_TEMP2
public static final int CHAN_PD_CURRENT
public static final int CHAN_SPHERE_TEMP
public static final int CHAN_BOARD_TEMP
public static final int CHAN_PD_ADC
public static final int NUM_CHANNELS
protected void initDevice()
initDevice in class org.lsst.ccs.monitor.Deviceprotected void initialize()
initialize in class org.lsst.ccs.monitor.Deviceprotected void close()
close in class org.lsst.ccs.monitor.Deviceprotected int[] checkChannel(org.lsst.ccs.monitor.Channel ch)
throws Exception
checkChannel in class org.lsst.ccs.monitor.Devicech - The channel to checkExceptionpublic void readChannelGroup(String group)
readChannelGroup in class org.lsst.ccs.monitor.Deviceprotected String getGroupForChannel(org.lsst.ccs.monitor.Channel ch)
getGroupForChannel in class org.lsst.ccs.monitor.Devicepublic double readChannel(org.lsst.ccs.monitor.Channel ch)
readChannel in class org.lsst.ccs.monitor.Devicech - The channel to readCopyright © 2022 LSST. All rights reserved.