public class Maq20Analog extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
RANGE_MAMP_0_20 |
static int |
RANGE_MAMP_4_20 |
static int |
RANGE_MVOLT_100 |
static int |
RANGE_MVOLT_1000 |
static int |
RANGE_MVOLT_2000 |
static int |
RANGE_MVOLT_250 |
static int |
RANGE_MVOLT_50 |
static int |
RANGE_RTD_100 |
static int |
RANGE_RTD_200 |
static int |
RANGE_RTD_850 |
static int |
RANGE_TC_J_199 |
static int |
RANGE_TC_J_393 |
static int |
RANGE_TC_J_760 |
static int |
RANGE_TC_K_1350 |
static int |
RANGE_TC_K_332 |
static int |
RANGE_TC_K_651 |
static int |
RANGE_TC_R_1750 |
static int |
RANGE_TC_R_990 |
static int |
RANGE_TC_S_1750 |
static int |
RANGE_TC_S_970 |
static int |
RANGE_TC_T_220 |
static int |
RANGE_TC_T_400 |
static int |
RANGE_VOLT_10 |
static int |
RANGE_VOLT_20 |
static int |
RANGE_VOLT_40 |
static int |
RANGE_VOLT_5 |
static int |
RANGE_VOLT_60 |
static int |
RANGE_VOUT_P10 |
static int |
RANGE_VOUT_P2 |
static int |
RANGE_VOUT_P5 |
static int |
RANGE_VOUT_PM10 |
static int |
RANGE_VOUT_PM2 |
static int |
RANGE_VOUT_PM5 |
| Constructor and Description |
|---|
Maq20Analog(Maq20 maq,
int modId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
enable(int chan,
boolean state)
Enables or disables a channel.
|
int |
getNumRanges()
Gets the number of ranges.
|
int |
getRange(int chan)
Gets the range for a channel.
|
boolean |
isEnabled(int chan)
Gets the enabled state of a channel.
|
double[] |
readValue()
Reads the data values from all channels.
|
double |
readValue(int chan)
Reads the data value from a channel.
|
double[] |
readValue(int chan,
int count)
Reads the data values from several channels.
|
void |
setRange(int chan,
int range)
Sets the range for a channel.
|
public static final int RANGE_TC_T_400
public static final int RANGE_TC_T_220
public static final int RANGE_TC_J_760
public static final int RANGE_TC_J_393
public static final int RANGE_TC_J_199
public static final int RANGE_TC_K_1350
public static final int RANGE_TC_K_651
public static final int RANGE_TC_K_332
public static final int RANGE_TC_R_1750
public static final int RANGE_TC_R_990
public static final int RANGE_TC_S_1750
public static final int RANGE_TC_S_970
public static final int RANGE_RTD_850
public static final int RANGE_RTD_200
public static final int RANGE_RTD_100
public static final int RANGE_VOLT_60
public static final int RANGE_VOLT_40
public static final int RANGE_VOLT_20
public static final int RANGE_VOLT_10
public static final int RANGE_VOLT_5
public static final int RANGE_MVOLT_2000
public static final int RANGE_MVOLT_1000
public static final int RANGE_MVOLT_250
public static final int RANGE_MVOLT_100
public static final int RANGE_MVOLT_50
public static final int RANGE_MAMP_0_20
public static final int RANGE_MAMP_4_20
public static final int RANGE_VOUT_PM10
public static final int RANGE_VOUT_PM5
public static final int RANGE_VOUT_PM2
public static final int RANGE_VOUT_P10
public static final int RANGE_VOUT_P5
public static final int RANGE_VOUT_P2
public Maq20Analog(Maq20 maq, int modId) throws org.lsst.ccs.drivers.commons.DriverException
maq - The underlying Maq20 objectmodId - The module registration IDorg.lsst.ccs.drivers.commons.DriverExceptionpublic int getNumRanges()
public int getRange(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setRange(int chan,
int range)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberrange - The range numberorg.lsst.ccs.drivers.commons.DriverExceptionpublic boolean isEnabled(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverExceptionpublic void enable(int chan,
boolean state)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberstate - The enabled state to set: true or falseorg.lsst.ccs.drivers.commons.DriverExceptionpublic double[] readValue(int chan,
int count)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The first channel numbercount - The number of channelsorg.lsst.ccs.drivers.commons.DriverExceptionpublic double readValue(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverExceptionpublic double[] readValue()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2018 LSST. All rights reserved.