
public class TelescopeDevice
extends org.lsst.ccs.monitor.Device
| Modifier and Type | Field and Description |
|---|---|
static int |
CHAN_DOME_XMINUS_TEMP |
static int |
CHAN_DOME_YMINUS_TEMP |
static int |
NUM_CHANNELS |
| Constructor and Description |
|---|
TelescopeDevice() |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
checkChannel(String chName,
int hwChan,
String type,
String subtype)
Checks a channel's parameters for validity.
|
protected void |
close()
Closes device connection.
|
String |
getChannelNames() |
protected void |
initDevice()
Performs configuration.
|
protected void |
initialize()
Performs full initialization.
|
protected double |
readChannel(int hwChan,
int type)
Reads a channel.
|
protected void |
readChannelGroup()
Reads all referenced channels.
|
void |
setChannelValue(String chName,
double value) |
addLine, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getDeviceMonitorUpdateTasks, getFullName, getGroupForChannel, getMonitorUpdateTasksForChannels, getName, getOutputLines, getPath, init, initChannel, initChannel, initSensors, isEnabled, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelNow, setDisabled, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, start, testOnlinepublic static final int CHAN_DOME_XMINUS_TEMP
public static final int CHAN_DOME_YMINUS_TEMP
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 chName, int hwChan, String type, String subtype) throws Exception
checkChannel in class org.lsst.ccs.monitor.DevicechName - The channel namehwChan - The hardware channel numbertype - The channel type stringsubtype - The channel subtype stringException - if there is a parameter errorprotected void readChannelGroup()
readChannelGroup in class org.lsst.ccs.monitor.Deviceprotected double readChannel(int hwChan,
int type)
readChannel in class org.lsst.ccs.monitor.DevicehwChan - The hardware channel number.type - The encoded channel type returned by checkChannel.@Command(type=ACTION, level=0, description="Set a channel value") public void setChannelValue(@Argument(description="Channel name") String chName, @Argument(description="Channel value") double value) throws UtilityException
UtilityExceptionCopyright © 2022 LSST. All rights reserved.