public class SimMaq20DeviceUT extends Maq20DeviceUT
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_MPC_HUMIDITY, CHAN_MPC_PREFILT_PRESS, CHAN_MPC_RETN_PRESS, CHAN_MPC_SPLY_PRESS, CHAN_MPC_VALVE_POSN, CHAN_MPC_VALVE_SET, CHAN_UT_FLOW_RATE, CHAN_UT_VALVE_POSN, CHAN_UT_VALVE_SET, CHAN_VPC_HUMIDITY, CHAN_VPC_PREFILT_PRESS, CHAN_VPC_RETN_PRESS, CHAN_VPC_SPLY_AIR_TEMP, CHAN_VPC_SPLY_AIR_VEL, CHAN_VPC_SPLY_PRESS, CHAN_VPC_VALVE_POSN, CHAN_VPC_VALVE_SETCHAN_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 |
|---|
SimMaq20DeviceUT() |
| 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 |
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) |
getValvePosition, getValveSetTime, initDevice, setValvePositionfurtherInitialization, 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 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 Maq20DeviceUThwChan - The hardware channel number.type - The encoded channel type returned by checkChannel.@Command(type=ACTION,
level=0,
description="Set a channel value")
public void setChannelValue(@Argument(description="Channel name")
String chan,
@Argument(description="Channel value")
double value)
throws UtilityException
UtilityException@Command(type=QUERY,
level=0,
description="Get the list of channel names")
public String getChannelNames()
Copyright © 2022 LSST. All rights reserved.