public class LTC2945 extends Object
| Constructor and Description |
|---|
LTC2945(Srp srp,
int adcBase)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
readCurrent(int chan)
Reads a channel's current
|
double |
readVoltage(int chan)
Reads a channel's voltage
|
public LTC2945(Srp srp, int adcBase)
srp - The srp object to useadcBase - The LTC2945 base addresspublic double readVoltage(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException - if the channel number is invalidpublic double readCurrent(int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException - if the channel number is invalidCopyright © 2018 LSST. All rights reserved.