public class CanOpenPlutoGateway extends PlutoGatewayModule
hexaValues, lock, updatingValues, valueUpdatedbooted, bridge, errorHistory, errorRegister, inError, initialized, nodeID, serialNB, tcpProxy| Constructor and Description |
|---|
CanOpenPlutoGateway(String nodeID,
String serialNB,
String station_addr)
build a new CanOpenPlutoGateway
|
| Modifier and Type | Method and Description |
|---|---|
String |
configurePlutoForThreeBlocs()
Assuming Pluto has 3 fonctions Gateway_to_User_C First one =>
Fonction_ID=01 Second one => Fonction_ID=02 Third one => Fonction_ID=03
|
String |
getStation_addr() |
String |
initializeAndCheckHardware()
This methods has to be overridden if there is some initialization to do
for the device.
|
void |
initModule() |
int |
readNewAnalogValue() |
String[] |
readNewHexaValues() |
String |
writeTransmissionType(String transmissionType)
Write a transmission type in the CPU of the pluto gateway.
|
getHexaValues, toString, updateValuesconfigAsHeartbeatConsumer, configAsHeartbeatProducer, configAsHeartbeatProducer, createStatusDataPublishedByCanOpenDevice, displayErrorHistory, displayErrorRegister, getErrorHistory, getErrorRegister, getNodeID, getSerialNB, getStatusData, getTcpProxy, isBooted, isInError, isInitialized, processUpdate, publishData, readErrorHistory, readErrorHistoryNames, readErrorRegister, readNumberOfErrors, readSDO, saveParameters, setBooted, 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, waitgetNodeID, getSerialNB, isBooted, isInitialized, printState, setBootedgetComponentConfigurationEnvironment, getComponentLookup, getName, getSubsystemraiseAlarm, raiseAlarm, raiseAlarm, raiseWarning, raiseWarning, raiseWarningchange, dropSubmittedChanges, getChildren, getComponentByName, getEnvironment, getParent, getParentObject, getSubmittedChanges, isParameterConfigurable, postStart, printConfigurableParameters, setBulkParameter, start, submitChange, submitChanges, validateBulkChangepublic String getStation_addr()
@Command(type=ACTION,
level=1,
description="Initialize the Gateway.")
public String initializeAndCheckHardware()
CanOpenDeviceinitializeAndCheckHardware in interface PieceOfHardwareinitializeAndCheckHardware in class CanOpenDevicepublic void initModule()
initModule in class CanOpenDevice@Command(type=ACTION,
level=1,
description="Configure this gateway to receive 3 data blocs from Pluto.")
public String configurePlutoForThreeBlocs()
SDORequestExceptionpublic String writeTransmissionType(String transmissionType)
transmissionType - FcsHardwareExceptionFailedCommandExceptionpublic String[] readNewHexaValues()
public int readNewAnalogValue()
Copyright © 2016 LSST. All rights reserved.