
public class SimuCompactIO extends CompactIO implements org.lsst.ccs.framework.HasLifecycle
booted, errorHistory, errorRegister, inError, initialized, name, nodeID, serialNB, subs, tcpProxyalertSeparator| Constructor and Description |
|---|
SimuCompactIO(int nodeID,
String serialNB,
int initialValue)
Build a new SimuCompactIOModule
|
| Modifier and Type | Method and Description |
|---|---|
int |
getInitialValue() |
void |
init() |
int |
readNewValue()
returns the value 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 value with the digital values
given as argument.
|
void |
setInitialValue(int initialValue) |
void |
setValue(int hex) |
void |
simulateFilterPresenceInLatches(int aDigitalValue)
This method updates the 2 filter presence simulated digital sensors (one on
each side of the filter).
|
checkMask, getValue, updateValue, writeDigitalOutput, writeMaskconfigAsHeartbeatConsumer, configAsHeartbeatProducer, createStatusDataPublishedByCanOpenDevice, displayError, displayErrorHistory, displayErrorRegister, doInitializePDOs, getAlertService, getErrorHistory, getErrorRegister, getName, getNodeID, getSerialNB, getSubsystem, getTcpProxy, initializeAndCheckHardware, isBooted, isInError, isInitialized, onEmergencyMessage, printSerialNumber, publishData, readErrorHistory, readErrorRegister, readNumberOfErrors, readSDO, resetError, saveParameters, setBooted, toString, updateFromPDO, writeSDO, writeTransmissionTypeToDeviceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbuild, postBuild, postInit, postShutdown, postStart, shutdown, startcheckBooted, checkId, checkInitialized, createStatusDataPublishedByHardware, initializePDOs, printState, raiseAlarmIfMissingonFault, onFaultResetclearAlarm, getAlertSeparator, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseWarning, raiseWarningpublic SimuCompactIO(int nodeID,
String serialNB,
int initialValue)
nodeID - serialNB - initialValue - public int getInitialValue()
public void setInitialValue(int initialValue)
public void setValue(int hex)
public void init()
init in interface org.lsst.ccs.framework.HasLifecyclepublic int readNewValue()
CompactIOreadNewValue 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 © 2019 LSST. All rights reserved.