public class VpcPIControl extends Object implements org.lsst.ccs.framework.HasLifecycle
| Constructor and Description |
|---|
VpcPIControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
build()
Sets up the VPC temperature control loop timer task.
|
double |
getGain()
Gets the gain.
|
double |
getTemperature()
Gets the target temperature.
|
double |
getTimeConstant()
Gets the time constant.
|
void |
init()
Initializes the parameters.
|
boolean |
isLoopActive()
Gets the control loop state.
|
void |
postStart()
Initializes the heater state.
|
void |
reset()
Resets the controller.
|
void |
setGain(double gain)
Sets the gain.
|
void |
setPower(double power)
Sets the power to be produced.
|
void |
setTemperature(double temp)
Sets the target temperature.
|
void |
setTimeConstant(double time)
Sets the time constant.
|
void |
startLoop()
Starts the control loop.
|
void |
startLoop(double power)
Starts the control loop.
|
void |
stopLoop()
Stops the control loop.
|
public void build()
build in interface org.lsst.ccs.framework.HasLifecyclepublic void init()
init in interface org.lsst.ccs.framework.HasLifecyclepublic void postStart()
postStart in interface org.lsst.ccs.framework.HasLifecyclepublic void setPower(double power)
power - The power value: pos = heat, neg = coolpublic void setTemperature(double temp)
throws UtilityException
temp - The temperature to setUtilityExceptionpublic double getTemperature()
public void setGain(double gain)
throws UtilityException
gain - The gain to setUtilityExceptionpublic double getGain()
public void setTimeConstant(double time)
throws UtilityException
time - The time constant to setUtilityExceptionpublic double getTimeConstant()
public void startLoop(double power)
throws UtilityException
power - The initial power valueUtilityExceptionpublic void startLoop()
throws UtilityException
UtilityExceptionpublic void stopLoop()
throws UtilityException
UtilityExceptionpublic boolean isLoopActive()
public void reset()
throws UtilityException
UtilityExceptionCopyright © 2019 LSST. All rights reserved.