
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, errorHistory, errorRegister, inError, initialized, name, nodeID, serialNB, subs, tcpProxyalertSeparater| Constructor and Description |
|---|
CanCBXAI420(int nodeID,
String serialNB) |
| Modifier and Type | Method and Description |
|---|---|
int |
readAnalogInput(int inputNB)
Read the analog input whom number is given as a parameter
|
double |
readVoltage(int inputNB)
read voltage in volts
|
configAsHeartbeatConsumer, configAsHeartbeatProducer, createStatusDataPublishedByCanOpenDevice, displayErrorHistory, displayErrorRegister, doInitializePDOs, getAlertService, getErrorHistory, getErrorRegister, getName, getNodeID, getSerialNB, getSubsystem, getTcpProxy, initializeAndCheckHardware, isBooted, isInError, isInitialized, onEmergencyMessage, publishData, readErrorHistory, readErrorRegister, readNumberOfErrors, readSDO, readStringSerialNumber, resetError, saveParameters, setBooted, toString, updateFromPDO, writeSDOclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckBooted, checkId, checkInitialized, createStatusDataPublishedByHardware, initializePDOs, printState, raiseAlarmIfMissingonFault, onFaultResetclearAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseAlarm, raiseWarning, raiseWarning, raiseWarning, raiseWarning, raiseWarningpublic static final double NANO_VOLTS_PER_BIT
public CanCBXAI420(int nodeID,
String serialNB)
@Command public int readAnalogInput(int inputNB)
ADCInterfacereadAnalogInput in interface ADCInterface@Command(type=QUERY, description="read voltage in volts for the input chanel inputNB") public double readVoltage(int inputNB)
readVoltage in interface ADCInterfaceinputNB - Copyright © 2018 LSST. All rights reserved.