
public class CanOpenSystecIO extends CanOpenDevice implements MonitorDeviceInterface
| Modifier and Type | Field and Description |
|---|---|
int |
defaultSensorType |
int |
digitalDigit |
int |
lowerLimitValue |
int |
upperLimitValue |
booted, dataProviderDictionaryService, errorHistory, errorRegister, inError, initialized, lastErrorCode, lastErrorName, name, nodeID, serialNB, subs, tcpProxyalertSeparator| Constructor and Description |
|---|
CanOpenSystecIO(int nodeID,
String serialNB) |
| Modifier and Type | Method and Description |
|---|---|
void |
disableChannel(int channelNO)
disable chanel which numero is given as argument
|
void |
enableChannel(int channelNO)
enable chanel which numero is given as argument
|
void |
initialize()
Initialize and configure the device in order to be able to read temperatures.
|
short |
readChannel(int channelNO)
read channel and return temperature read as a double
|
void |
setAIOperationMode(int chanelNO,
int operationMode)
Set an operation mode for a given chanel.
|
void |
setAISensorType(int channelNO,
int sensorType)
Set sensor type for a given chanel.
|
void |
setDigitalDigit(int chanelNO,
int digitalDigit)
Set decimal digital digit for a given chanel.
|
void |
setGain(int channelNO,
int gainValue)
set gain value for a channel
|
void |
setLowerLimit(int chanelNO,
int lowerLimitValue)
Set the lower limit for triggering PDO transmission of an analog input
chanel.
|
void |
setUpperLimit(int chanelNO,
int upperLimitValue)
Set the upper limit for triggering PDO transmission of an analog input
chanel.
|
build, configAsHeartbeatConsumer, configAsHeartbeatProducer, createStatusDataPublishedByCanOpenDevice, displayError, displayErrorHistory, displayErrorRegister, doInitializePDOs, getAlertService, getErrorHistory, getErrorHistoryNB, getErrorRegister, getLastErrorCode, getLastErrorName, getName, getNodeID, getSerialNB, getSubsystem, getTcpProxy, initializeAndCheckHardware, isBooted, isInError, isInitialized, onEmergencyMessage, printSerialNumber, publishData, readErrorRegister, readNumberOfErrors, readSDO, resetError, saveParameters, setBooted, toString, updateDeviceInfo, updateErrorHistory, updateFromPDO, writeSDO, writeTransmissionTypeToDeviceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckBooted, checkId, checkInitialized, createStatusDataPublishedByHardware, doInitializePDOs, getName, getNodeID, getSerialNB, initializeAndCheckHardware, initializePDOs, isBooted, isInitialized, printState, publishData, raiseAlarmIfMissing, raiseWarningIfMissing, setBooted, updateDeviceInfo, updateFromPDOonEmergencyMessage, onFault, onFaultResetclearAlarm, getAlertSeparator, getAlertService, getSubsystem, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarmOnlyIfNew, raiseAlertOnlyEveryTenMinutes, raiseAlertOnlyEveryTenMinutes, raiseAlertOnlyIfNew, raiseWarning, raiseWarning, raiseWarningOnlyEveryTenMinutes, raiseWarningOnlyIfNewpublic int defaultSensorType
public int digitalDigit
public int lowerLimitValue
public int upperLimitValue
public CanOpenSystecIO(int nodeID,
String serialNB)
@Command(type=QUERY, level=1, description="Initialize and configure the device in order to be able to read temperatures.") public void initialize()
initialize in interface MonitorDeviceInterfacepublic void setGain(int channelNO,
int gainValue)
channelNO - gainValue - public void setAISensorType(int channelNO,
int sensorType)
channelNO - sensorType - public void setDigitalDigit(int chanelNO,
int digitalDigit)
chanelNO - digitalDigit - public void setLowerLimit(int chanelNO,
int lowerLimitValue)
chanelNO - lowerLimitValue - public void setUpperLimit(int chanelNO,
int upperLimitValue)
chanelNO - upperLimitValue - public void setAIOperationMode(int chanelNO,
int operationMode)
chanelNO - operationMode - public void enableChannel(int channelNO)
channelNO - public void disableChannel(int channelNO)
channelNO - @Command(type=QUERY, level=1, description="read channel and return its value") public short readChannel(int channelNO)
readChannel in interface MonitorDeviceInterfacechannelNO - Copyright © 2021 LSST. All rights reserved.