public class SimMaq20Device extends Maq20Device
Maq20Device.Maq20Control, Maq20Device.ModuleData, Maq20Device.ModuleDef| Modifier and Type | Field and Description |
|---|---|
protected Map<String,org.lsst.ccs.monitor.Channel> |
channelMap |
CHAN_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(org.lsst.ccs.monitor.Channel ch)
Checks a channel's parameters for validity.
|
String |
getChannelNames() |
protected void |
initDevice()
Performs basic initialization.
|
void |
postStart()
Sets initial channel values.
|
void |
setChannelValue(String chanName,
double value) |
close, furtherInitialization, getMaq20, getModuleCount, getModuleData, initChannel, initialize, readChannel, setOnlineaddLine, checkChannel, checkHwLine, checkLine, checkTimeout, configure, disable, dropChannel, dropChannel, enable, getDeviceMonitorUpdateTasks, getFullName, getGroupForChannel, getMonitorUpdateTasksForChannels, getName, getOutputLines, getPath, init, initChannel, initChannel, initSensors, isEnabled, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelGroup, readChannelNow, setDisabled, setHwLine, setLine, setLineWarm, setOutputLines, start, testOnlineprotected void initDevice()
initDevice in class Maq20Devicepublic void postStart()
protected int[] checkChannel(org.lsst.ccs.monitor.Channel ch)
throws Exception
checkChannel in class Maq20Devicech - The Channel to checkException - if there is a parameter error@Command(type=ACTION,
description="Set a channel value")
public void setChannelValue(@Argument(description="Channel name")
String chanName,
@Argument(description="Channel value")
double value)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
description="Get the list of channel names")
public String getChannelNames()
Copyright © 2024 LSST. All rights reserved.