
public class AspicControl
extends org.lsst.ccs.subsystem.monitor.Control
| Constructor and Description |
|---|
AspicControl(String desc,
int hwChan,
int gain,
int rc,
int clamp,
int af1,
int tm)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addConfigValues(Map<String,Object> values)
Adds to a map of configured values.
|
boolean |
checkVersion()
Checks for hardware compatibility.
|
protected void |
configure(org.lsst.ccs.subsystem.monitor.Monitor mon,
org.lsst.ccs.subsystem.monitor.Device devc)
Configures channel description.
|
int |
getAf1() |
int |
getClamp() |
int |
getGain() |
int |
getHwVersion()
Gets the hardware version.
|
int |
getRc() |
int |
getTm() |
void |
setAf1(int value)
Sets/gets the af1 (force first-stage gain to 1) value.
|
void |
setClamp(int value)
Sets/gets the clamp mask.
|
void |
setGain(int value)
Sets/gets the gain.
|
void |
setRc(int value)
Sets/gets the rc value.
|
void |
setTm(int value)
Sets/gets the tm (transparent mode) value.
|
checkOnline, checkTimeout, getConfigValues, getDescription, getHwChan, testOnlinegetChildren, getEnvironment, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitalias, change, getCheckedValueFromConfiguration, getComponentByName, getDictionary, getName, getParent, getParentObject, getSubsystem, init, injectResources, listChildren, notifyChange, notifyChangeWithoutPreliminaryChecks, postStart, proceduralWalk, publish, publish, publish, publish, publish, publish, shutdownNow, start, treeWalkpublic AspicControl(String desc, int hwChan, int gain, int rc, int clamp, int af1, int tm)
desc - The ASPIC descriptionhwChan - The ASPIC number (0 - 5)gain - The gainrc - The rcclamp - The mask of ADCs to clampaf1 - If non-zero, set first-stage gain to 1tm - If non-zero, set transparent modeprotected void configure(org.lsst.ccs.subsystem.monitor.Monitor mon,
org.lsst.ccs.subsystem.monitor.Device devc)
configure in class org.lsst.ccs.subsystem.monitor.Controlmon - The associated monitor objectdevc - The associated device objectpublic boolean checkVersion()
public int getHwVersion()
@ConfigChanger public void setGain(int value)
value - @Command(type=QUERY, description="Gets the gain") public int getGain()
@ConfigChanger public void setRc(int value)
value - @Command(type=QUERY, description="Gets the rc value") public int getRc()
@ConfigChanger public void setClamp(int value)
value - @Command(type=QUERY, description="Gets the clamp") public int getClamp()
@ConfigChanger public void setAf1(int value)
value - @Command(type=QUERY, description="Gets the af1 value") public int getAf1()
@ConfigChanger public void setTm(int value)
value - @Command(type=QUERY, description="Gets the tm") public int getTm()
Copyright © 2015 LSST. All rights reserved.