|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
org.lsst.ccs.framework.Module
org.lsst.ccs.subsystems.fcs.drivers.BridgeToCanOpenHardware
public class BridgeToCanOpenHardware
This class set gathers the description of the real hardware and the tools (methods) to give access to this hardware. A new piece of hardware has to be added as a new field of this class, and the initModule method has to be modified too.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.lsst.ccs.framework.Module |
|---|
org.lsst.ccs.framework.Module.ValueUpdate |
| Field Summary |
|---|
| Fields inherited from class org.lsst.ccs.framework.Module |
|---|
configMethods, log, name, nObserverThreads, registry, tickMillis |
| Constructor Summary | |
|---|---|
BridgeToCanOpenHardware()
|
|
| Method Summary | |
|---|---|
CanOpenADC |
getAi814()
|
CanOpenDAC |
getAo412()
|
CanOpenClampActuatorModule |
getClampActuatorXminus()
|
CanOpenClampActuatorModule |
getClampActuatorXplus()
|
CanOpenDIO |
getDio8n1()
|
CanOpenDIO |
getDio8n2()
|
CanOpenProxy |
getTcpProxy()
|
void |
initModule()
|
boolean |
isCWrapperConnected()
This method returns true if the C-Wrapper is connected to the tcp proxy. |
boolean |
isHardwareReady()
returns true if the hardware is booted, identified and initialized. |
Object |
sendCanOpen(String command)
For engineering mode, this method can be used to send Can Open commands to the Wrapper. |
void |
setAi814(CanOpenADC ai814)
|
void |
setAo412(CanOpenDAC ao412)
|
void |
setClampActuatorXminus(CanOpenClampActuatorModule actuator)
|
void |
setClampActuatorXplus(CanOpenClampActuatorModule actuator)
|
void |
setDio8n1(CanOpenDIO dio8n1)
|
void |
setDio8n2(CanOpenDIO dio8n2)
|
void |
setTcpProxy(CanOpenProxy tcpProxy)
|
void |
shutdown()
|
| Methods inherited from class org.lsst.ccs.framework.Module |
|---|
change, checkHardware, dropConfigurationContext, getCheckedValueFromConfiguration, getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, processUpdate, publishData, publishData, publishData, publishData, register, register, sendToReply, sendToStatus, setBeanName, setContext, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownCommand, shutdownNow, start, startTicking, tick, update |
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BridgeToCanOpenHardware()
| Method Detail |
|---|
public CanOpenProxy getTcpProxy()
public void setTcpProxy(CanOpenProxy tcpProxy)
public CanOpenADC getAi814()
public void setAi814(CanOpenADC ai814)
public CanOpenDAC getAo412()
public void setAo412(CanOpenDAC ao412)
public CanOpenDIO getDio8n1()
public void setDio8n1(CanOpenDIO dio8n1)
public CanOpenDIO getDio8n2()
public void setDio8n2(CanOpenDIO dio8n2)
public CanOpenClampActuatorModule getClampActuatorXplus()
public void setClampActuatorXplus(CanOpenClampActuatorModule actuator)
actuator - the actuator to setpublic CanOpenClampActuatorModule getClampActuatorXminus()
public void setClampActuatorXminus(CanOpenClampActuatorModule actuator)
actuator - the actuator to setpublic boolean isCWrapperConnected()
isCWrapperConnected in interface BridgeToHardwarepublic boolean isHardwareReady()
isHardwareReady in interface BridgeToHardwarepublic void initModule()
initModule in class org.lsst.ccs.framework.Modulepublic void shutdown()
public Object sendCanOpen(String command)
throws InterruptedException,
TimeoutException
command - A Can Open command that the Wrapper should understand.
InterruptedException
TimeoutException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||