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(String name,
int hwChan,
String type,
String subtype)
Checks a channel definition for validity.
|
protected void |
close()
Closes the connection to the CCOB.
|
protected void |
initDevice()
Checks that CCOB is specified correctly
|
protected void |
initialize()
Initializes (opens a connection to) the CCOB.
|
double |
readChannel(int hwChan,
int type)
Returns a channel value.
|
void |
readChannelGroup()
Reads all the grouped data channels.
|
addLine, checkHardware, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getFullName, getName, getOutputLines, init, initChannel, initChannel, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelNow, readSensors, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, 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(String name, int hwChan, String type, String subtype) throws Exception
checkChannel in class org.lsst.ccs.monitor.Devicename - hwChan - type - subtype - Exceptionpublic void readChannelGroup()
readChannelGroup in class org.lsst.ccs.monitor.Devicepublic double readChannel(int hwChan,
int type)
readChannel in class org.lsst.ccs.monitor.DevicehwChan - type - Copyright © 2019 LSST. All rights reserved.