public class CanOpenDevice extends org.lsst.ccs.framework.Module implements PieceOfHardware
| Constructor and Description |
|---|
CanOpenDevice() |
CanOpenDevice(String serialNB,
String nodeID) |
| Modifier and Type | Method and Description |
|---|---|
String |
getNodeID() |
String |
getSerialNB() |
String |
initializeHardware()
This methods has to be overridden if there is some initialization to do for the device.
|
void |
initModule() |
boolean |
isInitalized() |
boolean |
isNodeIdBootedAndOK() |
String |
readSDO(String index,
String subindex) |
void |
setNodeID(String nodeID) |
void |
setSerialNB(String serialNB) |
String |
toString() |
String |
writeSDO(String index,
String subindex,
String length,
String newValue) |
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, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNamepublic String getSerialNB()
getSerialNB in interface PieceOfHardwarepublic String getNodeID()
getNodeID in interface PieceOfHardwarepublic void setNodeID(String nodeID)
public void setSerialNB(String serialNB)
public boolean isNodeIdBootedAndOK()
isNodeIdBootedAndOK in interface PieceOfHardwarepublic boolean isInitalized()
isInitalized in interface PieceOfHardwarepublic void initModule()
initModule in class org.lsst.ccs.framework.Modulepublic String initializeHardware() throws Exception
initializeHardware in interface PieceOfHardwareExceptionpublic String writeSDO(String index, String subindex, String length, String newValue) throws SDORequestException
SDORequestExceptionpublic String readSDO(String index, String subindex) throws SDORequestException
SDORequestExceptionCopyright © 2013 LSST. All Rights Reserved.