
public class Maq20AnalogControl extends Object implements org.lsst.ccs.framework.HasLifecycle, Maq20Device.Maq20Control
| Modifier and Type | Field and Description |
|---|---|
protected Maq20Device |
maqDevc |
protected Integer |
modIndex |
protected String |
name |
protected String |
path |
protected String[] |
ranges |
| Constructor and Description |
|---|
Maq20AnalogControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Pre-closure cleanup.
|
int |
getModIndex()
Gets the module index.
|
String |
getName()
Gets the name.
|
String |
getPath()
Gets the path.
|
void |
init()
Life-cycle initialization.
|
void |
initialize()
Post-connection initialization.
|
double |
readValue(int chan)
Reads an analog value.
|
void |
writeValue(int chan,
double value)
Writes an analog value.
|
@LookupName protected String name
@LookupPath protected String path
@LookupField(strategy=ANCESTORS) protected Maq20Device maqDevc
protected Integer modIndex
protected String[] ranges
public void init()
init in interface org.lsst.ccs.framework.HasLifecyclepublic void initialize()
throws org.lsst.ccs.drivers.commons.DriverException
initialize in interface Maq20Device.Maq20Controlorg.lsst.ccs.drivers.commons.DriverExceptionpublic void close()
close in interface Maq20Device.Maq20Controlpublic void writeValue(int chan,
double value)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numbervalue - The valueorg.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 int getModIndex()
public String getName()
public String getPath()
Copyright © 2022 LSST. All rights reserved.