
public class CanOpenSensor14bits extends Sensor14bits implements org.lsst.ccs.framework.HasLifecycle
| Modifier and Type | Field and Description |
|---|---|
protected CanCBXAI814 |
adc
The ADC on which this sensor is plugged.
|
protected int |
numOfAnalogInput
The numero of analog input where the sensor is plugged.
|
name, value| Constructor and Description |
|---|
CanOpenSensor14bits(CanCBXAI814 adc,
int numOfAnalogInput)
Build a CanOpenSensor14bits with an ADC name a numero of input and a
tickMillis of 1000.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDeviceName() |
int |
getNumOfAnalogInput() |
int |
readNewValue()
Read a new value of this sensor on the ADC from PDO.
|
String |
toString() |
void |
updateValue(int newValue) |
getName, getValue, printValue, updateValueprotected CanCBXAI814 adc
@ConfigurationParameter(range="1..8",
description="The numero of the input of ADC where this sensor is plugged on.")
protected int numOfAnalogInput
public CanOpenSensor14bits(CanCBXAI814 adc, int numOfAnalogInput)
adc - numOfAnalogInput - public int getNumOfAnalogInput()
public int readNewValue()
readNewValue in interface SensorFcsHardwareExceptionpublic String getDeviceName()
getDeviceName in interface SensorPluggedOnTTC580public void updateValue(int newValue)
updateValue in interface SensorPluggedOnTTC580public String toString()
toString in class Sensor14bitsCopyright © 2020 LSST. All rights reserved.