public class Maq20AnalogIn extends Maq20Analog
RANGE_MAMP_0_20, RANGE_MAMP_4_20, RANGE_MVOLT_100, RANGE_MVOLT_1000, RANGE_MVOLT_2000, RANGE_MVOLT_250, RANGE_MVOLT_50, RANGE_RTD_100, RANGE_RTD_200, RANGE_RTD_850, RANGE_TC_J_199, RANGE_TC_J_393, RANGE_TC_J_760, RANGE_TC_K_1350, RANGE_TC_K_332, RANGE_TC_K_651, RANGE_TC_R_1750, RANGE_TC_R_990, RANGE_TC_S_1750, RANGE_TC_S_970, RANGE_TC_T_220, RANGE_TC_T_400, RANGE_VOLT_10, RANGE_VOLT_20, RANGE_VOLT_40, RANGE_VOLT_5, RANGE_VOLT_60, RANGE_VOUT_P10, RANGE_VOUT_P2, RANGE_VOUT_P5, RANGE_VOUT_PM10, RANGE_VOUT_PM2, RANGE_VOUT_PM5| Constructor and Description |
|---|
Maq20AnalogIn(Maq20 maq,
int modId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
enable(int chan,
boolean state)
Enables or disables a channel.
|
boolean |
isEnabled(int chan)
Gets the enabled state of a channel.
|
getNumRanges, getRange, readValue, readValue, readValue, setRangepublic Maq20AnalogIn(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 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 boolean isEnabled(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2019 LSST. All rights reserved.