public class DaqStatsMonitor extends Object implements org.lsst.ccs.framework.HasLifecycle
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
sumDriverStats |
protected List<String> |
sumFirmwareStats |
protected List<String> |
sumRdsStats |
protected List<String> |
sumRmsStats |
| Constructor and Description |
|---|
DaqStatsMonitor()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
build()
build phase: set up periodic task for publication
|
String |
clearAllDriver(String location)
Print and Clear all DAQ Driver statistics data for specified Location
Like readAllDriver, but clears data after reading
|
String |
clearAllFirmware(String location)
Print and Clear all DAQ Firmware statistics data for specified Location
Like readAllFirmware, but clears data after reading
|
String |
clearAllRds(String location)
Print and Clear all DAQ Rds statistics data for specified Location
Like readAllRds, but clears data after reading
|
String |
clearAllRms(String location)
Print and Clear all DAQ Rms statistics data for specified Location
Like readAllRms, but clears data after reading
|
String |
clearAllStats(String location)
Print then clear all four sets of statisics for specified location
|
void |
init()
init phase: open connection to DAQ partition
Also, use first Daq location to verify ConfigurationParameter Lists
|
boolean |
isOnline()
Gets the online state.
|
String |
readAllDriver(String location)
Print all DAQ Driver statistics data for specified Location
Reads all DAQDriverStatistics values and return them in table format.
|
String |
readAllFirmware(String location)
Print all DAQ Firmware statistics data for specified Location
Reads all DAQFirmwareStatistics values and return them in table format.
|
String |
readAllRds(String location)
Print all DAQ Rds statistics data for specified Location
Reads all DAQRdsStatistics values and return them in table format.
|
String |
readAllRms(String location)
Print all DAQ Rms statistics data for specified Location
Reads all DAQRmsStatistics values and return them in table format.
|
String |
readAllStats(String location)
Print all four sets of statisics for specified location
|
String |
readDriverStat(String location,
String quantity)
Read specified entry in DAQ Driver Stats for specified location
|
String |
readFirmwareStat(String location,
String quantity)
Read specified entry in DAQ Firmware Stats for specified location
|
String |
readRdsStat(String location,
String quantity)
Read specified entry in DAQ Rds Stats for specified location
|
String |
readRmsStat(String location,
String quantity)
Read specified entry in DAQ Rms Stats for specified location
|
String |
timestamp()
Determines current time
|
@ConfigurationParameter(isFinal=true,
description="Driver Stats for sums over location")
protected List<String> sumDriverStats
@ConfigurationParameter(isFinal=true,
description="Firmware Stats for sums over location")
protected List<String> sumFirmwareStats
@ConfigurationParameter(isFinal=true,
description="Rds Stats for sums over location")
protected List<String> sumRdsStats
public boolean isOnline()
public void build()
build in interface org.lsst.ccs.framework.HasLifecyclepublic void init()
init in interface org.lsst.ccs.framework.HasLifecycleorg.lsst.ccs.daq.ims.DAQException@Command(type=QUERY,
name="readAllStats",
description="Read all sets of DAQ stats")
public String readAllStats(@Argument(name="location",description="readout board in format R<nn>Reb<m>")
String location)
throws org.lsst.ccs.daq.ims.DAQException
location - Location in raft/board format, "Rorg.lsst.ccs.daq.ims.DAQException@Command(type=ACTION,
name="clearAllStats",
description="Read and clear all sets of DAQ stats")
public String clearAllStats(@Argument(name="location",description="clearout board in format R<nn>Reb<m>")
String location)
throws org.lsst.ccs.daq.ims.DAQException
location - Location in raft/board format, "Rorg.lsst.ccs.daq.ims.DAQException@Command(type=QUERY,
name="readAllRms",
description="Read all DAQ Rms stats")
public String readAllRms(@Argument(name="location",description="readout board in format R<nn>Reb<m>")
String location)
throws org.lsst.ccs.daq.ims.DAQException
location - Location in raft/board format, "Rorg.lsst.ccs.daq.ims.DAQException@Command(type=QUERY,
name="readAllRds",
description="Read all DAQ Rds stats")
public String readAllRds(@Argument(name="location",description="readout board in format R<nn>Reb<m>")
String location)
throws org.lsst.ccs.daq.ims.DAQException
location - Location in raft/board format, "Rorg.lsst.ccs.daq.ims.DAQException@Command(type=QUERY,
name="readAllDriver",
description="Read all DAQ Driver stats")
public String readAllDriver(@Argument(name="location",description="readout board in format R<nn>Reb<m>")
String location)
throws org.lsst.ccs.daq.ims.DAQException
location - Location in raft/board format, "Rorg.lsst.ccs.daq.ims.DAQException@Command(type=QUERY,
name="readAllFirmware",
description="Read all DAQ Firmware stats")
public String readAllFirmware(@Argument(name="location",description="readout board in format R<nn>Reb<m>")
String location)
throws org.lsst.ccs.daq.ims.DAQException
location - Location in raft/board format, "Rorg.lsst.ccs.daq.ims.DAQException@Command(type=ACTION,
name="clearAllRms",
description="Read and clear DAQ Rms stats")
public String clearAllRms(@Argument(name="location",description="readout board in format R<nn>Reb<m>")
String location)
throws org.lsst.ccs.daq.ims.DAQException
location - Location in raft/board format, "Rorg.lsst.ccs.daq.ims.DAQException@Command(type=ACTION,
name="clearAllRds",
description="Read and clear DAQ Rds stats")
public String clearAllRds(@Argument(name="location",description="readout board in format R<nn>Reb<m>")
String location)
throws org.lsst.ccs.daq.ims.DAQException
location - Location in raft/board format, "Rorg.lsst.ccs.daq.ims.DAQException@Command(type=ACTION,
name="clearAllDriver",
description="Read and clear DAQ Driver stats")
public String clearAllDriver(@Argument(name="location",description="readout board in format R<nn>Reb<m>")
String location)
throws org.lsst.ccs.daq.ims.DAQException
location - Location in raft/board format, "Rorg.lsst.ccs.daq.ims.DAQException@Command(type=ACTION,
name="clearAllFirmware",
description="Read and clear DAQ Firmware stats")
public String clearAllFirmware(@Argument(name="location",description="readout board in format R<nn>Reb<m>")
String location)
throws org.lsst.ccs.daq.ims.DAQException
location - Location in raft/board format, "Rorg.lsst.ccs.daq.ims.DAQException@Command(type=QUERY,
name="readRmsStat",
description="read specified DAQ Rms statistic for specified locaation")
public String readRmsStat(@Argument(name="location",description="readout board in format R<nn>Reb<m>")
String location,
@Argument(name="statistic name")
String quantity)
throws org.lsst.ccs.daq.ims.DAQException
location - Location in raft/board format, "Rname - Name of requested quantityorg.lsst.ccs.daq.ims.DAQException@Command(type=QUERY,
name="readRdsStat",
description="read specified DAQ Rds statistic for specified locaation")
public String readRdsStat(@Argument(name="location",description="readout board in format R<nn>Reb<m>")
String location,
@Argument(name="statistic name")
String quantity)
throws org.lsst.ccs.daq.ims.DAQException
location - Location in raft/board format, "Rname - Name of requested quantityorg.lsst.ccs.daq.ims.DAQException@Command(type=QUERY,
name="readDriverStat",
description="read specified DAQ Driver statistic for specified locaation")
public String readDriverStat(@Argument(name="location",description="readout board in format R<nn>Reb<m>")
String location,
@Argument(name="statistic name")
String quantity)
throws org.lsst.ccs.daq.ims.DAQException
location - Location in raft/board format, "Rname - Name of requested quantityorg.lsst.ccs.daq.ims.DAQException@Command(type=QUERY,
name="readFirmwareStat",
description="read specified DAQ Firmware statistic for specified locaation")
public String readFirmwareStat(@Argument(name="location",description="readout board in format R<nn>Reb<m>")
String location,
@Argument(name="statistic name")
String quantity)
throws org.lsst.ccs.daq.ims.DAQException
location - Location in raft/board format, "Rname - Name of requested quantityorg.lsst.ccs.daq.ims.DAQException@Command(name="timestamp",
description="Prints current time")
public String timestamp()
Copyright © 2020 LSST. All rights reserved.