public class BridgeToCanOpenHardware extends org.lsst.ccs.framework.Module implements BridgeToHardware
| Modifier and Type | Field and Description |
|---|---|
protected CanOpenADC |
ai814 |
protected CanOpenDAC |
ao412 |
protected CanOpenClampActuatorModule |
clampActuatorXminus |
protected CanOpenClampActuatorModule |
clampActuatorXplus |
protected CanOpenProxy |
tcpProxy |
| Constructor and Description |
|---|
BridgeToCanOpenHardware() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
CanOpenProxy.PDOStorage |
readPDOs() |
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() |
String |
toString() |
alias, change, checkHardware, dropConfigurationContext, getCheckedValueFromConfiguration, getChildren, getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, processUpdate, publishData, publishData, publishData, publishData, publishData, publishData, publishData, register, removeLogPanicState, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setHandlerLevel, setLogLevel, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownCommand, shutdownNow, start, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedprotected CanOpenProxy tcpProxy
protected CanOpenClampActuatorModule clampActuatorXminus
protected CanOpenClampActuatorModule clampActuatorXplus
protected CanOpenADC ai814
protected CanOpenDAC ao412
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, org.lsst.ccs.bus.BadCommandException
command - A Can Open command that the Wrapper should understand.InterruptedExceptionTimeoutExceptionorg.lsst.ccs.bus.BadCommandExceptionpublic CanOpenProxy.PDOStorage readPDOs() throws HardwareException, org.lsst.ccs.bus.BadCommandException
readPDOs in interface BridgeToHardwareHardwareExceptionorg.lsst.ccs.bus.BadCommandExceptionCopyright © 2013 LSST. All Rights Reserved.