public class MonitorDcs extends Object
| Constructor and Description |
|---|
MonitorDcs()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the log file.
|
void |
open(String name)
Opens the log file.
|
double |
readCurrent()
Reads the actual current.
|
double |
readVoltage()
Reads the actual voltage.
|
void |
setCurrent(double value)
Sets the current.
|
void |
setPeriod(double period)
Sets the sampling period.
|
void |
setVoltage(double value)
Sets the voltage.
|
double |
showPeriod()
Shows the sampling period.
|
void |
start()
Starts the monitoring.
|
void |
stop()
Stops the monitoring.
|
public MonitorDcs()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="voltage",
description="Set the voltage")
public void setVoltage(@Argument(name="value",description="Voltage to set")
double value)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="voltage",
description="Read the actual voltage")
public double readVoltage()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="current",
description="Set the current")
public void setCurrent(@Argument(name="value",description="Current to set")
double value)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="current",
description="Read the actual current")
public double readCurrent()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="period",
description="Set the sampling period")
public void setPeriod(@Argument(name="period",description="Sampling period")
double period)
@Command(name="period",
description="Show the sampling period")
public double showPeriod()
@Command(name="start",
description="Start the monitoring")
public void start()
@Command(name="stop",
description="Stop the monitoring")
public void stop()
@Command(name="open",
description="Open the log file")
public void open(@Argument(name="name",description="Log file name")
String name)
throws IOException
IOException@Command(name="close",
description="Close the log file")
public void close()
throws IOException
IOExceptionCopyright © 2023 LSST. All rights reserved.