
public class DL34970Device
extends org.lsst.ccs.subsystem.monitor.Device
| Constructor and Description |
|---|
DL34970Device() |
DL34970Device(String connType,
String devcId,
int baudRate)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
checkChannel(String name,
int hwChan,
String type,
String subtype)
Checks a channel's parameters for validity.
|
protected void |
close()
Closes the connection.
|
protected void |
configure(org.lsst.ccs.subsystem.monitor.Monitor mon)
Performs configuration.
|
protected void |
initChannel(int chan,
int type,
int subtype)
Initializes a channel.
|
protected void |
initialize()
Performs full initialization.
|
protected double |
readChannel(int hwChan,
int type)
Reads a channel.
|
protected void |
readChannelGroup()
Reads grouped channels.
|
addChannel, addConfigValues, addLine, checkHwLine, checkLine, checkOnline, checkTimeout, disable, dropChannel, enable, getConfigValues, getFullName, getOutputLines, initChannel, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannelNow, 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, validateBulkChangepublic DL34970Device(String connType, String devcId, int baudRate)
connType - The device type (FTDI or serial)devcId - The device parameter (serial no. or device name)baudRate - The baud rate (0 for default)public DL34970Device()
protected void configure(org.lsst.ccs.subsystem.monitor.Monitor mon)
configure in class org.lsst.ccs.subsystem.monitor.Devicemon - The monitor objectprotected void initialize()
initialize in class org.lsst.ccs.subsystem.monitor.Deviceprotected void close()
close in class org.lsst.ccs.subsystem.monitor.Deviceprotected int[] checkChannel(String name, int hwChan, String type, String subtype) throws Exception
checkChannel in class org.lsst.ccs.subsystem.monitor.Devicename - The channel namehwChan - The hardware channel numbertype - The channel type stringsubtype - The channel subtype stringException - if any errors found in the parameters.protected void initChannel(int chan,
int type,
int subtype)
initChannel in class org.lsst.ccs.subsystem.monitor.Devicechan - The hardware channel number.type - The encoded channel type returned by checkChannel.subtype - The encoded channel subtype returned by checkChannel.protected void readChannelGroup()
readChannelGroup in class org.lsst.ccs.subsystem.monitor.Deviceprotected double readChannel(int hwChan,
int type)
readChannel in class org.lsst.ccs.subsystem.monitor.DevicehwChan - The hardware channel number.type - The encoded channel type returned by checkChannel.Copyright © 2016 LSST. All rights reserved.