
public class RebPowerSupplyNode extends Object implements org.lsst.ccs.framework.HasLifecycle
| Modifier and Type | Field and Description |
|---|---|
protected org.lsst.ccs.Agent |
agent |
protected org.lsst.ccs.services.AgentStateService |
agentStateService |
protected int |
channel |
protected int |
hvBias |
protected static Logger |
LOG |
protected PowerSupplyConfiguration |
powerSupplyConfiguration |
protected RebPsDevice |
powerSupplyDevice |
protected String |
rebName |
protected String |
rebPath |
| Constructor and Description |
|---|
RebPowerSupplyNode(PowerSupplyConfiguration powerSupplyConfiguration,
int channel) |
| Modifier and Type | Method and Description |
|---|---|
void |
build() |
double[] |
getChanExtrema(RebPsDevice.PsName psName,
RebPsDevice.ChanName chan)
Reads the maximum and minimum values of a channel.
|
void |
hvBiasOff() |
void |
hvBiasOn() |
void |
powerRebOff() |
void |
powerRebOn() |
double |
readHvBiasDac() |
void |
resetChanExtrema(RebPsDevice.PsName psName,
RebPsDevice.ChanName chan)
Resets the maximum and minimum values of a channel.
|
void |
setHVBias(int hvBias) |
protected final PowerSupplyConfiguration powerSupplyConfiguration
protected final int channel
protected static final Logger LOG
@LookupName protected String rebName
@LookupPath protected String rebPath
@LookupField(strategy=TOP) protected org.lsst.ccs.Agent agent
@LookupField(strategy=TREE) protected org.lsst.ccs.services.AgentStateService agentStateService
@ConfigurationParameter(range="0..2500") protected int hvBias
protected RebPsDevice powerSupplyDevice
public RebPowerSupplyNode(PowerSupplyConfiguration powerSupplyConfiguration, int channel)
public void build()
build in interface org.lsst.ccs.framework.HasLifecycle@ConfigurationParameterChanger(propertyName="hvBias") public void setHVBias(int hvBias)
@Command(type=ACTION, description="Turns on the power to this Reb", autoAck=false) public void powerRebOn() throws PowerException
PowerException@Command(type=ACTION, description="Turns off the power to this Reb") public void powerRebOff() throws PowerException
PowerException@Command(type=ACTION, description="Turns on the HV bias to the configuration value", autoAck=false) public void hvBiasOn() throws PowerException
PowerException@Command(type=ACTION, description="Turns off the HV bias") public void hvBiasOff() throws PowerException
PowerException@Command(type=ACTION, description="Read the HvBias DAC value") public double readHvBiasDac() throws PowerException
PowerException@Command(type=QUERY, description="Read a channel\'s maximum & minimum values") public double[] getChanExtrema(@Argument(description="PS name") RebPsDevice.PsName psName, @Argument(description="Channel name") RebPsDevice.ChanName chan) throws PowerException
psName - The power supply enumchan - The channel enumPowerException@Command(type=ACTION, description="Reset a channel\'s maximum & minimum values") public void resetChanExtrema(@Argument(description="PS name") RebPsDevice.PsName psName, @Argument(description="Channel name") RebPsDevice.ChanName chan) throws PowerException
psName - The power supply enumchan - The channel enumPowerExceptionCopyright © 2020 LSST. All rights reserved.