public class Maq20Device
extends org.lsst.ccs.monitor.Device
| Modifier and Type | Field and Description |
|---|---|
static int |
CHAN_FREQUENCY |
static int |
CHAN_PULSE_COUNT |
static int |
CHAN_PULSE_RPM |
static int |
CHAN_PWM_LOW1 |
static int |
CHAN_PWM_LOW2 |
static int |
CHAN_PWM_PERIOD |
protected Map<String,org.lsst.ccs.subsystem.common.devices.Maq20Device.Maq20DiscControl> |
controlMap |
protected org.lsst.ccs.drivers.dataforth.Maq20 |
maq |
protected String[] |
modules |
protected String |
node
Data fields.
|
static int |
NUM_CHAN_DIOH
Public constants
|
static int |
NUM_CHAN_DIOL
Public constants
|
static int |
NUM_CHAN_FREQ
Public constants
|
static int |
NUM_CHAN_IVD
Public constants
|
static int |
NUM_CHAN_IVO
Public constants
|
static int |
NUM_CHAN_IVS
Public constants
|
static int |
NUM_CHAN_PULSE
Public constants
|
static int |
NUM_CHAN_PWM
Public constants
|
static int |
NUM_CHAN_RTD
Public constants
|
static int |
NUM_CHAN_TC
Public constants
|
| Constructor and Description |
|---|
Maq20Device() |
| 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)
Initializes a channel.
|
protected void |
initDevice()
Performs configuration.
|
protected void |
initialize()
Performs full initialization.
|
protected double |
readChannel(int hwChan,
int type)
Reads a channel.
|
addLine, checkHardware, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getFullName, getName, getOutputLines, init, initChannel, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelNow, readSensors, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlinepublic static final int NUM_CHAN_TC
public static final int NUM_CHAN_RTD
public static final int NUM_CHAN_IVS
public static final int NUM_CHAN_IVD
public static final int NUM_CHAN_IVO
public static final int NUM_CHAN_DIOL
public static final int NUM_CHAN_DIOH
public static final int NUM_CHAN_PULSE
public static final int NUM_CHAN_PWM
public static final int NUM_CHAN_FREQ
public static final int CHAN_FREQUENCY
public static final int CHAN_PULSE_COUNT
public static final int CHAN_PULSE_RPM
public static final int CHAN_PWM_PERIOD
public static final int CHAN_PWM_LOW1
public static final int CHAN_PWM_LOW2
@ConfigurationParameter(category="Device",
isFinal=true)
protected String node
@ConfigurationParameter(category="Device",
isFinal=true)
protected String[] modules
@LookupField(strategy=CHILDREN) protected final Map<String,org.lsst.ccs.subsystem.common.devices.Maq20Device.Maq20DiscControl> controlMap
protected final org.lsst.ccs.drivers.dataforth.Maq20 maq
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 - 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 parameters.protected void initChannel(String name, int id, int hwChan, int type, int subtype)
initChannel in class org.lsst.ccs.monitor.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 org.lsst.ccs.monitor.DevicehwChan - The hardware channel number.type - The encoded channel type returned by checkChannel.Copyright © 2019 LSST. All rights reserved.