public class Maq20AnalogOut 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| Modifier and Type | Method and Description |
|---|---|
double[] |
getDefaultValue()
Gets the default data values for all channels.
|
double |
getDefaultValue(int chan)
Gets the default data value for a channel.
|
double[] |
getDefaultValue(int chan,
int count)
Gets the default data values for several channels.
|
void |
saveDefaultValues()
Saves the default output values to EEPROM
|
void |
saveRanges()
Saves the ranges to EEPROM
|
void |
setDefaultValue(double[] data)
Sets default data values for all channels.
|
void |
setDefaultValue(int chan,
double data)
Sets default data value for a channel.
|
void |
setDefaultValue(int chan,
int count,
double[] data)
Sets default data values for several channels.
|
void |
writeValue(double[] data)
Writes data values to all channels.
|
void |
writeValue(int chan,
double data)
Writes a data value to a channel.
|
void |
writeValue(int chan,
int count,
double[] data)
Writes data values to several channels.
|
getNumRanges, getRange, readValue, readValue, readValue, setRangepublic void writeValue(int chan,
int count,
double[] data)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The first channel numbercount - The number of channelsdata - The array of data values (at least count elements long)org.lsst.ccs.drivers.commons.DriverExceptionpublic void writeValue(int chan,
double data)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberdata - The data valueorg.lsst.ccs.drivers.commons.DriverExceptionpublic void writeValue(double[] data)
throws org.lsst.ccs.drivers.commons.DriverException
data - The array of data valuesorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setDefaultValue(int chan,
int count,
double[] data)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The first channel numbercount - The number of channelsdata - The array of data values (at least count elements long)org.lsst.ccs.drivers.commons.DriverExceptionpublic void setDefaultValue(int chan,
double data)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberdata - The data valueorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setDefaultValue(double[] data)
throws org.lsst.ccs.drivers.commons.DriverException
data - The array of data valuesorg.lsst.ccs.drivers.commons.DriverExceptionpublic double[] getDefaultValue(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 getDefaultValue(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverExceptionpublic double[] getDefaultValue()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void saveDefaultValues()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void saveRanges()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2023 LSST. All rights reserved.