public class AuxTest extends Object implements org.lsst.ccs.framework.HasLifecycle
| Constructor and Description |
|---|
AuxTest() |
| Modifier and Type | Method and Description |
|---|---|
UtilityState |
getState()
Gets the state of the AuxTest module.
|
UtilityState |
getSystemState()
Gets the full state of the AuxTest module.
|
void |
postInit()
Post initialization
|
void |
postStart()
Post start
|
void |
setColdTemp(double temp)
Sets the cold temperature.
|
void |
setControlState(int state)
Sets the fan control state.
|
void |
setFanSpeed(double duty)
Sets the manual fan "speed".
|
void |
setGain(double gain)
Sets the control loop gain.
|
void |
setTimeConstant(double time)
Sets the control loop time constant.
|
void |
setUpdatePeriod(int value)
Sets the update period.
|
public void postInit()
postInit in interface org.lsst.ccs.framework.HasLifecyclepublic void postStart()
postStart in interface org.lsst.ccs.framework.HasLifecyclepublic UtilityState getState()
@Command(type=QUERY,
description="Get the AuxTest system state")
public UtilityState getSystemState()
@Command(type=ACTION,
description="Set the update interval")
public void setUpdatePeriod(@Argument(description="The tick period (ms)")
int value)
value - The update period (milliseconds) to set.@Command(type=ACTION,
description="Set the fan control state")
public void setControlState(@Argument(description="The control state")
int state)
throws UtilityException
state - The state to setUtilityException@Command(type=ACTION,
description="Set the manual fan speed")
public void setFanSpeed(@Argument(description="The duty cycle")
double duty)
duty - The PWM duty cycle@Command(type=ACTION,
description="Set the cold temperature")
public void setColdTemp(@Argument(description="The cold temperature")
double temp)
throws UtilityException
temp - The temperature to setUtilityException@Command(type=ACTION,
description="Set the control loop gain")
public void setGain(@Argument(description="The loop gain")
double gain)
throws UtilityException
gain - The gain to setUtilityException@Command(type=ACTION,
description="Set the control loop time constant")
public void setTimeConstant(@Argument(description="The loop time constant")
double time)
throws UtilityException
time - The time constant to setUtilityExceptionCopyright © 2020 LSST. All rights reserved.