
public class CanOpenPlutoGateway extends PlutoGatewayModule
| Modifier and Type | Field and Description |
|---|---|
static Logger |
LOCAL_LOG
A Logger for CommandDispenser.
|
hexaValues, intValues, lock, updatingValues, valueUpdatederrorHistory, errorRegister, inError, initialized, nodeID, serialNB, tcpProxy| Constructor and Description |
|---|
CanOpenPlutoGateway(String nodeID,
String serialNB)
build a new CanOpenPlutoGateway
|
| Modifier and Type | Method and Description |
|---|---|
void |
configurePlutoGateway()
Configures the gateway.
|
void |
initializeAndCheckHardware()
This methods has to be overridden if there is some initialization to do
for the device.
|
void |
initModule() |
String[] |
readHexaValuesFromPDO()
Read new values for sensors connected to this gateway from a PDO request.
|
String[] |
readNewHexaValues() |
void |
writeTransmissionType(String transmissionType)
Write a transmission type in the CPU of the pluto gateway.
|
createStatusDataPublishedByPlutoGatewayModule, getHexaValues, getIntValues, publishData, toString, updateValuesconfigAsHeartbeatConsumer, configAsHeartbeatProducer, configAsHeartbeatProducer, createStatusDataPublishedByCanOpenDevice, displayErrorHistory, displayErrorRegister, getErrorHistory, getErrorRegister, getNodeID, getSerialNB, getTcpProxy, isBooted, isInError, isInitialized, processUpdate, readErrorHistory, readErrorHistoryNames, readErrorRegister, readNumberOfErrors, readSDO, resetError, saveParameters, writeSDOgetNObserverThreads, getObservables, getTickMillis, init, listens, sendSignal, sendSignalWithTimeLimit, setNObserverThreads, setObservables, setTickMillis, shutdownNow, signal, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckBooted, checkInitialized, createStatusDataPublishedByHardware, getNodeID, getSerialNB, isBooted, isInitialized, printStategetComponentConfigurationEnvironment, getComponentLookup, getName, getSubsystemraiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseWarning, raiseWarning, raiseWarning, raiseWarningchange, dropSubmittedChanges, getChildren, getComponentByName, getEnvironment, getParent, getParentObject, getSubmittedChanges, isParameterConfigurable, postStart, printConfigurableParameters, setBulkParameter, start, submitChange, submitChanges, validateBulkChangepublic static final Logger LOCAL_LOG
@Command(type=ACTION, level=1, description="Initialize the Gateway.") public void initializeAndCheckHardware()
CanOpenDeviceinitializeAndCheckHardware in interface PieceOfHardwareinitializeAndCheckHardware in class CanOpenDevicepublic void initModule()
initModule in class CanOpenDevice@Command(type=ACTION, level=1, description="Configures this gateway for subsystem needs. If gateway\'s name contains loader it executes configureLoaderPlutoGatewayelse it executes configureAutochangerPlutoGateway.") public void configurePlutoGateway()
public void writeTransmissionType(String transmissionType)
transmissionType - FcsHardwareExceptionFailedCommandException@Command(type=QUERY, level=1, description="Return values in hexa read on the device.") public String[] readNewHexaValues()
public String[] readHexaValuesFromPDO()
Copyright © 2017 LSST. All rights reserved.