public class CompactIOModule extends CanOpenDevice
| Modifier and Type | Field and Description |
|---|---|
String |
hexaValue |
booted, bridge, errorHistory, errorRegister, inError, initialized, nodeID, serialNB, tcpProxy| Constructor and Description |
|---|
CompactIOModule(String nodeID,
String serialNB)
Build a new CompactIOModule
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkMask()
This methods checks if the mask of the device is the good one.
|
String |
getHexaValue() |
int |
getValue() |
void |
initModule() |
String |
readNewHexaValue()
returns the value in hexa of all the sensors connected on the inputs
channels of the device.
|
void |
updateValue() |
String |
writeDigitalOutput(int outputNB,
int value)
Write a value to the output of the DAC
|
String |
writeMask()
This methods initialize the CAN-CBX-DIO8 with the mask (value 3) to
configure the 2 first channels of the device to be output channel.
|
configAsHeartbeatConsumer, configAsHeartbeatProducer, configAsHeartbeatProducer, createStatusDataPublishedByCanOpenDevice, displayErrorHistory, displayErrorRegister, getErrorHistory, getErrorRegister, getNodeID, getSerialNB, getStatusData, getTcpProxy, initializeAndCheckHardware, isBooted, isInError, isInitialized, processUpdate, publishData, readErrorHistory, readErrorHistoryNames, readErrorRegister, readNumberOfErrors, readSDO, saveParameters, setBooted, toString, 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, waitprintStateraiseAlarm, raiseAlarm, raiseAlarm, raiseWarning, raiseWarning, raiseWarninggetComponentConfigurationEnvironment, getComponentLookup, getName, getSubsystemchange, dropSubmittedChanges, getChildren, getComponentByName, getEnvironment, getParent, getParentObject, getSubmittedChanges, isParameterConfigurable, postStart, printConfigurableParameters, setBulkParameter, start, submitChange, submitChanges, validateBulkChangepublic String hexaValue
public void initModule()
initModule in class CanOpenDevicepublic String readNewHexaValue()
FcsHardwareExceptionpublic String getHexaValue()
public int getValue()
public void updateValue()
FcsHardwareExceptionpublic String writeDigitalOutput(int outputNB, int value)
outputNB - in 1..8value - given in decimal format TODO chnage this : it's not so
simple !SDORequestExceptionHardwareNotDetectedExceptionpublic String writeMask()
SDORequestExceptionpublic boolean checkMask()
SDORequestExceptionShortResponseToSDORequestExceptionCopyright © 2016 LSST. All rights reserved.