
public class SimMaq20Device
extends org.lsst.ccs.subsystem.common.devices.dataforth.Maq20Device
org.lsst.ccs.subsystem.common.devices.dataforth.Maq20Device.Maq20Control, org.lsst.ccs.subsystem.common.devices.dataforth.Maq20Device.ModuleData, org.lsst.ccs.subsystem.common.devices.dataforth.Maq20Device.ModuleDefCHAN_FREQUENCY, CHAN_PULSE_COUNT, CHAN_PULSE_RPM, CHAN_PWM_LOW1, CHAN_PWM_LOW2, CHAN_PWM_PERIOD, controlMap, DISC_FUNC_FREQ, DISC_FUNC_NONE, DISC_FUNC_PULSE, DISC_FUNC_PWM, maq, modules, node, NUM_CHAN_DINP, NUM_CHAN_DIOH, NUM_CHAN_DIOL, NUM_CHAN_DOUT, NUM_CHAN_FREQ, NUM_CHAN_IVD, NUM_CHAN_IVO, NUM_CHAN_IVS, NUM_CHAN_PULSE, NUM_CHAN_PWM, NUM_CHAN_RTD, NUM_CHAN_TC, serials| Constructor and Description |
|---|
SimMaq20Device() |
| 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 device connection.
|
String |
getChannelNames() |
protected void |
initDevice()
Performs basic initialization.
|
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 chan,
double value) |
furtherInitialization, getModuleCount, getModuleData, initChannel, setOnlineaddLine, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getDeviceMonitorUpdateTasks, getFullName, getGroupForChannel, getMonitorUpdateTasksForChannels, getName, getOutputLines, getPath, init, initChannel, initSensors, isEnabled, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelNow, setDisabled, setHwLine, setLine, setLineWarm, setOutputLines, start, testOnlineprotected void initDevice()
initDevice in class org.lsst.ccs.subsystem.common.devices.dataforth.Maq20Deviceprotected void initialize()
initialize in class org.lsst.ccs.subsystem.common.devices.dataforth.Maq20Deviceprotected void close()
close in class org.lsst.ccs.subsystem.common.devices.dataforth.Maq20Deviceprotected int[] checkChannel(String name, int hwChan, String type, String subtype) throws Exception
checkChannel in class org.lsst.ccs.subsystem.common.devices.dataforth.Maq20Devicename - 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.subsystem.common.devices.dataforth.Maq20DevicehwChan - The hardware channel number.type - The encoded channel type returned by checkChannel.@Command(type=ACTION, description="Set a channel value") public void setChannelValue(@Argument(description="Channel name") String chan, @Argument(description="Channel value") double value) throws RefrigException
RefrigException@Command(type=QUERY, description="Get the list of channel names") public String getChannelNames()
Copyright © 2022 LSST. All rights reserved.