public class BOTBench
extends org.lsst.ccs.Subsystem
implements org.lsst.ccs.framework.HasLifecycle
| Constructor and Description |
|---|
BOTBench()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
double |
accumPDBuffer(int nreads,
double nplc)
accumulate PD readings in buffer
|
void |
clearPDbuff()
clear PhotoDiode buffer
|
void |
fe55CloseShutters()
Close all Fe55 shutters
|
void |
fe55OpenShutters()
Open all Fe55 shutters
|
boolean |
isPDAccumInProgress()
is accumulation of PD readings in progress
|
List<TSDeviceStatus> |
listFilterWheels()
Return list of filter wheels and their connection status
|
void |
postInit()
Post-initialization
|
double[][] |
readPDBuffer(String filename)
return array of PD readings from the buffer
|
double |
readPDcurrent()
read PhotoDiode Current
|
void |
resetPD()
reset PhotoDiode device
|
getLogHandler, getNumberCommandThreads, ping, printRunningCommands, setLogFormat, setLogHandlerLevel, setLogLevel, setStackTraceDepthcreateHelper, executeCommandRequest, getAgentInfo, getAgentPersistenceService, getAgentService, getAgentServices, getCCSVersions, getCommandCount, getComponentConfigurationEnvironment, getComponentConfigurationEnvironmentByName, getComponentLookup, getCurrentAction, getDescription, getDistributionInfo, getEnvironmentLockService, getEnvironmentMessagingAccess, getLogger, getMessagingAccess, getName, getScheduler, helper, initAgent, initLogBusHandler, isInEngineeringMode, populateComponentLookup, preInit, preStart, printComponentNodeTree, publishSubsystemDataOnStatusBus, sendAck, sendNack, sendStatusMessage, setAgentName, shutdownAgent, shutdownAgent, startAgent, vetoTransitionToNormalModeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void postInit()
postInit in interface org.lsst.ccs.framework.HasLifecycle@Command(type=QUERY, name="listFilterWheels", description="list filter wheels and connection status") public List<TSDeviceStatus> listFilterWheels()
@Command(type=ACTION, name="fe55OpenShutters", description="open all Fe55 shutters") public void fe55OpenShutters() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION, name="fe55CloseShutters", description="close all Fe55 shutters") public void fe55CloseShutters() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION, name="readPDCurrent", description="read photodiode current") public double readPDcurrent() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION, name="accumPDBuffer", description="accumulate PD readings in buffer") public double accumPDBuffer(int nreads, double nplc) throws org.lsst.ccs.drivers.commons.DriverException
nreads - nplc - org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION, name="isPDAccumInProgress", description="tell if PD reading accumulation is in progress") public boolean isPDAccumInProgress() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION, name="readPDbuffer", description="return array of PD readings from the buffer") public double[][] readPDBuffer(String filename) throws org.lsst.ccs.drivers.commons.DriverException
filename - org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION, name="resetPD", description="reset PD device") public void resetPD() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION, name="clearPDbuff", description="clearPDbuff") public void clearPDbuff() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2022 LSST. All rights reserved.