
public class DaqStoreManageDevice
extends org.lsst.ccs.monitor.Device
| Modifier and Type | Class and Description |
|---|---|
static class |
DaqStoreManageDevice.MonChan
Enumeration of monitoring channels
|
| Constructor and Description |
|---|
DaqStoreManageDevice() |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
checkChannel(String chName,
int hwChan,
String type,
String subtype)
Checks a channel's parameters for validity.
|
protected void |
close()
Closes the connection.
|
protected void |
initDevice()
Performs basic initialization of Device code.
|
protected void |
initialize()
Connect to partition and perform any needed initialization.
|
List<String> |
list(String path)
List information on contents of partition, a specific folder within
partition, or images in a specific file within that folder.
|
protected double |
readChannel(int hwChan,
int type)
Reads a channel.
|
void |
setPurgeTarget(Double fraction)
Set fraction of available disk space which is goal of a file purge
|
void |
setPurgeThreshold(Double fraction)
Set fraction of available disk space which triggers a file purge
|
addLine, checkHardware, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getDeviceMonitorUpdateTasks, getFullName, getGroupForChannel, getMonitorUpdateTasksForChannels, getName, getOutputLines, getPath, init, initChannel, initChannel, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelGroup, readChannelNow, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlineprotected 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.Device@ConfigurationParameterChanger(propertyName="purgeThreshold") public void setPurgeThreshold(Double fraction) throws org.lsst.ccs.daq.ims.DAQException
fraction - org.lsst.ccs.daq.ims.DAQException@ConfigurationParameterChanger(propertyName="purgeTarget") public void setPurgeTarget(Double fraction) throws org.lsst.ccs.daq.ims.DAQException
fraction - org.lsst.ccs.daq.ims.DAQExceptionprotected int[] checkChannel(String chName, int hwChan, String type, String subtype) throws Exception
checkChannel in class org.lsst.ccs.monitor.DevicechName - The channel namehwChan - The hardware channel numbertype - The channel type stringsubtype - The channel subtype stringException - if any errors found in the parameters.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.@Command(type=QUERY, name="list", alias="ls", description="List DAQ partition contents") public List<String> list(@Argument(name="path",description="<default=\"\"|folder|folder/file>",defaultValue="") String path) throws org.lsst.ccs.daq.ims.DAQException
String - path optional - if persent, denotes folder or
folder/fileorg.lsst.ccs.daq.ims.DAQExceptionCopyright © 2020 LSST. All rights reserved.