public class PcpPowerControl extends Object implements org.lsst.ccs.framework.HasLifecycle, org.lsst.ccs.subsystem.common.devices.dataforth.Maq20Device.Maq20Control
| Modifier and Type | Field and Description |
|---|---|
protected org.lsst.ccs.subsystem.common.devices.dataforth.Maq20Device |
maqDevc |
protected String |
name |
protected String |
path |
| Constructor and Description |
|---|
PcpPowerControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Pre-closure cleanup.
|
int |
getIdent()
Gets the identification.
|
String |
getName()
Gets the name.
|
String |
getPath()
Gets the path.
|
void |
init()
Life-cycle initialization.
|
void |
initialize()
Post-connection initialization.
|
boolean |
isOutputOn()
Gets whether output enabled.
|
double |
readCurrent()
Reads a current.
|
double |
readVoltage()
Reads a voltage.
|
void |
setCurrent(double value)
Sets a current.
|
void |
setVoltage(double value)
Sets a voltage.
|
@LookupName protected String name
@LookupPath protected String path
@LookupField(strategy=ANCESTORS) protected org.lsst.ccs.subsystem.common.devices.dataforth.Maq20Device maqDevc
public void init()
init in interface org.lsst.ccs.framework.HasLifecyclepublic void initialize()
throws org.lsst.ccs.drivers.commons.DriverException
initialize in interface org.lsst.ccs.subsystem.common.devices.dataforth.Maq20Device.Maq20Controlorg.lsst.ccs.drivers.commons.DriverExceptionpublic void close()
close in interface org.lsst.ccs.subsystem.common.devices.dataforth.Maq20Device.Maq20Controlpublic double readVoltage()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setVoltage(double value)
throws org.lsst.ccs.drivers.commons.DriverException
value - The valueorg.lsst.ccs.drivers.commons.DriverExceptionpublic double readCurrent()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setCurrent(double value)
throws org.lsst.ccs.drivers.commons.DriverException
value - The valueorg.lsst.ccs.drivers.commons.DriverExceptionpublic boolean isOutputOn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getName()
public String getPath()
public int getIdent()
Copyright © 2022 LSST. All rights reserved.