public class SimuCompactIO extends CompactIO implements org.lsst.ccs.framework.HasLifecycle
booted, errorHistory, errorRegister, inError, initialized, name, nodeID, s, serialNB, tcpProxyalertSeparater| Constructor and Description |
|---|
SimuCompactIO(int nodeID,
String serialNB,
int initialHexaValue)
Build a new SimuCompactIOModule
|
| Modifier and Type | Method and Description |
|---|---|
int |
getInitialHexaValue() |
void |
init() |
int |
readNewHexaValue()
returns the value in hexa of all the sensors connected on the inputs
channels of the device.
|
void |
replaceDigitalValues(int channel1,
int digitalValue1,
int channel2,
int digitalValue2)
This method replace the values of 2 channels in hexaValue with the
digital values given as argument.
|
void |
setHexaValue(int hex) |
void |
setInitialHexaValue(int initialHexaValue) |
void |
simulateFilterPresenceInLatches(int aDigitalValue)
This method updates the 2 filter presence simulated digital sensors (one
on each side of the filter).
|
checkMask, getHexaValue, getValue, updateValue, writeDigitalOutput, writeMaskconfigAsHeartbeatConsumer, configAsHeartbeatProducer, createStatusDataPublishedByCanOpenDevice, displayErrorHistory, displayErrorRegister, getAlertService, getErrorHistory, getErrorRegister, getName, getNodeID, getSerialNB, getSubsystem, getTcpProxy, initializeAndCheckHardware, isBooted, isInError, isInitialized, onEmergencyMessage, publishData, readErrorHistory, readErrorRegister, readNumberOfErrors, readSDO, readStringSerialNumber, resetError, saveParameters, setBooted, toString, writeSDOclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbuild, postBuild, postInit, postStart, postStop, shutdownNow, start, stopcheckBooted, checkId, checkInitialized, createStatusDataPublishedByHardware, printState, raiseAlarmIfMissingonFault, onFaultResetclearAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseWarning, raiseWarning, raiseWarning, raiseWarning, raiseWarningpublic SimuCompactIO(int nodeID,
String serialNB,
int initialHexaValue)
nodeID - serialNB - initialHexaValue - public int getInitialHexaValue()
public void setInitialHexaValue(int initialHexaValue)
public void setHexaValue(int hex)
public void init()
init in interface org.lsst.ccs.framework.HasLifecyclepublic int readNewHexaValue()
CompactIOreadNewHexaValue in class CompactIOpublic void simulateFilterPresenceInLatches(int aDigitalValue)
aDigitalValue - has to be "0" or "1"public void replaceDigitalValues(int channel1,
int digitalValue1,
int channel2,
int digitalValue2)
channel1 - digitalValue1 - channel2 - digitalValue2 - Copyright © 2017 LSST. All rights reserved.