public class CanCBXAI420 extends CanOpenDevice implements ADCInterface
| Modifier and Type | Field and Description |
|---|---|
static double |
NANO_VOLTS_PER_BIT
One bit read on the input of the ADC represents 4.6566 nanoVolts
|
booted, dataProviderDictionaryService, errorHistory, errorRegister, inError, initialized, lastErrorCode, lastErrorName, name, nodeID, path, serialNB, subs, tcpProxyalertSeparator| Constructor and Description |
|---|
CanCBXAI420() |
| Modifier and Type | Method and Description |
|---|---|
long |
getInput(int i)
return input value read on ADC at channel 1
|
int |
readAnalogInput(int inputNB)
Read value at channel inputNB.
|
double |
readVoltage(int inputNB)
read voltage in volts
|
build, configAsHeartbeatConsumer, configAsHeartbeatProducer, createStatusDataPublishedByCanOpenDevice, displayError, displayErrorHistory, displayErrorRegister, doInitializePDOs, getAlertService, getErrorHistory, getErrorHistoryNB, getErrorRegister, getLastErrorCode, getLastErrorName, getName, getNodeID, getPath, getSerialNB, getSubsystem, getTcpProxy, init, initializeAndCheckHardware, isBooted, isInError, isInitialized, onEmergencyMessage, printSerialNumber, publishData, readDeviceType, 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, getPath, getSerialNB, initializeAndCheckHardware, initializePDOs, isBooted, isInitialized, printState, publishData, raiseAlarmIfMissing, raiseWarningIfMissing, readDeviceType, setBooted, updateDeviceInfo, updateFromPDOonEmergencyMessage, onFault, onFaultResetclearAlarm, getAlertSeparator, getAlertService, getSubsystem, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarmOnlyIfNew, raiseAlertOnlyEveryTenMinutes, raiseAlertOnlyEveryTenMinutes, raiseAlertOnlyIfNew, raiseWarning, raiseWarning, raiseWarning, raiseWarning, raiseWarningOnlyEveryTenMinutes, raiseWarningOnlyIfNewpublic static final double NANO_VOLTS_PER_BIT
public int readAnalogInput(int inputNB)
ADCInterfacereadAnalogInput in interface ADCInterface@Command(type=QUERY,
level=1,
description="read voltage in volts for the input chanel inputNB")
public double readVoltage(int inputNB)
readVoltage in interface ADCInterfaceinputNB - public long getInput(int i)
ADCInterfacegetInput in interface ADCInterfaceCopyright © 2023 LSST. All rights reserved.