public class Maq20PWMControl extends Object implements org.lsst.ccs.framework.HasLifecycle, Maq20Device.Maq20Control
| Modifier and Type | Field and Description |
|---|---|
protected double |
frequency |
protected Integer |
funcIndex |
protected Maq20Device |
maqDevc |
static double |
MAX_FREQUENCY |
protected Integer |
modIndex |
protected String |
name |
protected String |
path |
| Constructor and Description |
|---|
Maq20PWMControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Pre-closure cleanup.
|
double |
getDutyCycle1()
Gets duty cycle 1.
|
double |
getDutyCycle2()
Gets duty cycle 2.
|
double |
getFrequency()
Gets the frequency.
|
String |
getName()
Gets the name.
|
String |
getPath()
Gets the path.
|
void |
init()
Life-cycle initialization.
|
void |
initialize()
Post-connection initialization.
|
void |
setDutyCycle1(double duty)
Sets duty cycle 1.
|
void |
setDutyCycle2(double duty)
Sets duty cycle 2.
|
public static final double MAX_FREQUENCY
@LookupName protected String name
@LookupPath protected String path
@LookupField(strategy=ANCESTORS) protected Maq20Device maqDevc
protected Integer modIndex
protected Integer funcIndex
protected double frequency
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 double getFrequency()
public void setDutyCycle1(double duty)
throws org.lsst.ccs.drivers.commons.DriverException
duty - The duty cycle (0 - 1)org.lsst.ccs.drivers.commons.DriverExceptionpublic double getDutyCycle1()
public void setDutyCycle2(double duty)
throws org.lsst.ccs.drivers.commons.DriverException
duty - The duty cycle (0 - 1)org.lsst.ccs.drivers.commons.DriverExceptionpublic double getDutyCycle2()
public String getName()
public String getPath()
Copyright © 2021 LSST. All rights reserved.