
public class CalcDevice extends Device
| Constructor and Description |
|---|
CalcDevice() |
| 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 |
initChannel(String name,
int id,
int hwChan,
int type,
int subtype)
Completes the initialization of a calculation channel.
|
protected void |
initialize()
Performs basic initialization.
|
protected double |
readChannel(int hwChan,
int type)
Reads a channel.
|
addChannel, addConfigValues, addLine, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getConfigValues, getFullName, getOutputLines, initChannel, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannelGroup, readChannelNow, readSensors, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchange, dropSubmittedChanges, getChildren, getComponentByName, getEnvironment, getParent, getParentObject, getSubmittedChanges, init, isParameterConfigurable, postStart, printConfigurableParameters, setBulkParameter, shutdownNow, start, submitChange, submitChanges, validateBulkChangeprotected void initialize()
initialize in class Deviceprotected int[] checkChannel(String name, int hwChan, String type, String subtype) throws Exception
checkChannel in class Devicename - The name of the channel.hwChan - The hardware channel number.type - The channel type string.subtype - The channel subtype string.Exception - if any errors found in the parametersprotected void initChannel(String name, int id, int hwChan, int type, int subtype)
initChannel in class Devicename - The channel nameid - The channel IDhwChan - The hardware channel number.type - The encoded channel type returned by checkChannel.subtype - The channel subtype returned by checkChannel.protected double readChannel(int hwChan,
int type)
readChannel in class DevicehwChan - The hardware channel number.type - The encoded channel type.Copyright © 2016 LSST. All rights reserved.